开发者

how to take the xml file from soapobject

开发者 https://www.devze.com 2023-03-06 23:42 出处:网络
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 debuggi

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

精彩评论

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

关注公众号