I didn\'t really want to post here as there is so much information on the net, but I\'ve trawled the depths and can\'t figure it out.
Ok so I can\'t get this to work
Ok the code above actually does work, I just didn't retrieve the header correctly to see all the fields. The issue was I had an invalid session Id but the webserver I was using has the WORST error handling mechanisms :-) thanks for listening!
Try getCookieStore().addCookie()
on your DefaultHttpClient
object, before sending the request.