Getting SOAP XML out of KSOAP2 Requests

Use the debug mode of the HttpTransport with:


HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
androidHttpTransport.debug = true;

and get a hold on the raw response from the service using:

String result = androidHttpTransport.responseDump;

Leave a comment

Your comment