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.
精彩评论