when ever i am consuming 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...
A:
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.
Pete
2010-03-17 18:13:19
i think there has to be a easier way of doing this ...i am creating a java application that consumes a web service..i use the eclipse ide...when i run the application i get a exception ....it would be really helpful to be able to see the xml that the application generates and send in response to which i get a exception..
Kaddy
2010-03-17 18:40:04
what i understand is soap message are sent back and forth right...so is there a way to view these soap messages...?
Kaddy
2010-03-17 18:48:54
A:
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)
Zepplock
2010-03-17 18:14:21