Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从 .net Web 服务 SoapObject result=(SoapObject)soapEnvelope.bodyIn 收到 xmldocument;
问题是如何从结果中获取 xml 文档并解析它?
对于调试,您可以按照 wiki 上的提示查看 xml。
http://code.google.com/p/ksoap2-android/wiki/CodingTipsAndTricks#How_to_see_raw_xml_request_and_response_e.g._for_debugging?
对于解析,您不应手动解析,也不应使用 bodyIn 而是在信封上使用 getResponse。