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.
我正在使用 ksoap 库来使用 .net webservice。其中一个请求返回一个非常大的 xml 响应。问题是 ksoap 仅显示部分响应。但是,wireshark 跟踪将 xml 响应显示为代表批量 XML 的 TCP 段序列。
任何想法来获取完整的 xml 响应?
您可以修改 HttpTransportSE.java 文件以将 WS 响应直接保存在 xml 文件中。然后,您可以根据需要对其进行解析。如果您不想修改 java 类,则最新的 ksoap 版本 (3.0.0) 提供了一种将响应保存在文件中的方法。