Get Ksoap response

21 views
Skip to first unread message

Phyllipy Chagas

unread,
May 1, 2012, 8:32:47 PM5/1/12
to ksoap2-...@googlegroups.com
Hey! How can I get the response data from a soap call?

I've tried this:

SoapObject result = (SoapObject)envelope.bodyIn;

and this

 SoapObject result = (SoapObject)envelope.getResponse();

and this

SoapObject resultsRequestSOAP = (SoapObject) envelope.bodyIn;
 String t = resultsRequestSOAP.getAttribute("GetDataResponse").toString();

none of these worked,

Anyone can help?

Thanks
            

Manfred Moser

unread,
May 1, 2012, 11:28:01 PM5/1/12
to ksoap2-...@googlegroups.com
The correct way is to use envelope.getResponse() .. what was the problem when you tried that?
Reply all
Reply to author
Forward
0 new messages