This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
How can I print out the SOAP request to see how the SOAP Envelope looks like?
[ June 06, 2006: Message edited by: Jeppe Fjord ]
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35237
7
posted
0
It would be much less messy to use a tool like TCPMon to visualize the SOAP request and response. That's also part of the Axis download, and the documentation is here.
Is that the only way to use a tool like "tcpmon" to see how the envelop looks like? I hope there was a certain method to print out what is sent to the webservice...
Here's a code snippet I used to print out a SOAP message.
[ June 07, 2006: Message edited by: Ulf Dittmer ]
Paul Celona
Greenhorn
Joined: May 20, 2004
Posts: 15
posted
0
When implementing this code snippet in a web service msg handler, where does the println go to?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35237
7
posted
0
@Paul:
It uses standard out, so whereever that goes, the output will go. On the server it usually ends up in one of the log files, but that depends on which server is used.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.