开发者

can we view xml in case of web services?

开发者 https://www.devze.com 2022-12-23 10:54 出处:网络
when ever i am consumin开发者_如何转开发g a web service xml is received and sent right...is there a way to view this xml...i need to see the exact structure to fine the errors...It really depends on t

when ever i am consumin开发者_如何转开发g a web service xml is received and sent right...is there a way to view this xml...i need to see the exact structure to fine the errors...


It really depends on the library/language/framework you are using. Most of them can dump request/response messages to a log file.

Alternatively you can always use Ethereal/Wireshark to sniff the network and see what is actually going on (assuming your stream is not encrypted)


One "brute force" way would be to use Wireshark to capture the network traffic, right click one of the packets from the exchange and do "Follow TCP Stream", which will give you8 a nice view of both the sent and recieved XML in one spot.

0

精彩评论

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

关注公众号