user742362
user742362

Reputation: 51

how to take the xml file from soapobject

I receive xmldocument from .net web service SoapObject result=(SoapObject)soapEnvelope.bodyIn;

and the problem is how to take the xml document from the result and parse it?

Upvotes: 0

Views: 3164

Answers (1)

Manfred Moser
Manfred Moser

Reputation: 29912

For debugging you can see the xml following the tips on the wiki.

http://code.google.com/p/ksoap2-android/wiki/CodingTipsAndTricks#How_to_see_raw_xml_request_and_response_e.g._for_debugging?

For parsing you should not parse manually and you should not use bodyIn but rather getResponse on envelope.

Upvotes: 1

Related Questions