wcf - See entire POST request from Android app -


I'm trying to debug a small problem with a web service. I can not post for the webservice, but I can get just fine.

When I try to post the data to the webservice, I get an HTTP 1/100 bad request.

Is there any way that I can see more details? .. I do not have access to the server on which webservice is hosted

HTTP post code

  default HttpClient httpclient = new DefaultHttpClient (); HttpPost httppost = New HttpPost ("http://lino.herter.dk/Service.svc/Data/"); Stringbilder sb = new stringbiller (); = New String Entity ("Test") from StringType; Se.setContentType ("text / xml"); Httppost.setHeader ("content type", "text / xml"); Httppost.setEntity (se); HTTPRPS Page response 2 = httpclient.execute (httppost); Sb = inputStreamToString (response2.getEntity (). GetContent ());    

Setting up the virushars on your development machine can be easy, and capture traffic Between your Android and the server you have to run the VirusHark in additional mode, which I think is the default option.

Comments