开发者

how to grab large xml response using ksoap

开发者 https://www.devze.com 2023-04-07 15:09 出处:网络
I am using the ksoap library to 开发者_高级运维consume .net webservice. One of the request returns a very larger xml response.The thing isksoap shows only partial response.But the wireshark trace show

I am using the ksoap library to 开发者_高级运维consume .net webservice. One of the request returns a very larger xml response.The thing is ksoap shows only partial response.But the wireshark trace shows xml response as sequence of TCP segments which represent the bulk XML.

any idea to grab full xml response?


You can modify HttpTransportSE.java file for saving WS response directly in a xml file. Then you can parse it as you prefer. Last ksoap release (3.0.0) has got a method for saving response in a file if you don't want modify java class.

0

精彩评论

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

关注公众号