开发者

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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜