File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark ""Need request soap xml from stub"" Watch ""Need request soap xml from stub"" New topic

"Need request soap xml from stub"

Garg Amit

Joined: Jan 13, 2009
Posts: 21

We have auto generated stub at our client side, which invoke the web service.Now for debugging purpose I want to extract the request soap XML from the stub. Is there any way in which I can do it.

Thanks in advance.
Aditya Kumar
Ranch Hand

Joined: Oct 31, 2006
Posts: 102
A couple of days ago I had posted the exact same question here; its still there and I have been checking since then but no one replied

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
If you want the exact text of a SOAP request and the response, use the TCPMON utility included in AXIS toolkits or the SOAPui utility.

SOAPui is even available as a plugin for commone IDEs.

Anybody working with SOAP should be able to apply these tools - so many mysterious bugs become clear when you can see the exact text being sent and the exact response.

Both tools provide for modifying a request and resending it - great for testing error handling.

I agree. Here's the link:
subject: "Need request soap xml from stub"
jQuery in Action, 3rd edition