Navigation


RSS : Articles / Comments


kSoap2 printing request dump

10:51 AM, Posted by ruchira, No Comment

Hi,

kSoap2 is a library for SOAP which is used in Androids.

Here's a neat little trick, if you want to see the actual XML sent received.

1. Set httpTransport.debug=true; before making the call

2. Read values from the httpTransport object afterwards

String s1 = httpTransport.requestDump;
String s2 = httpTransport.responseDump;

Have fun !!!

No Comment