A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
"Need request soap xml from stub"
Joined: Jan 13, 2009
Apr 01, 2009 23:50:47
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.
Joined: Oct 31, 2006
Apr 02, 2009 02:01:48
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
Author and all-around good cowpoke
Joined: Mar 22, 2000
Apr 02, 2009 06:46:43
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.
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
Java Resources at
I agree. Here's the link:
subject: "Need request soap xml from stub"
axis and soap
get xml from request body
Axis2 - Print Message Text
Invalid type (xsi:type) is set when XML request is generated from web service client
Adding Header Information
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014