It's not a secret anymore!*
The moose likes Web Services and the fly likes Viewing the SOAP XML w/Weblogic10 ClientGen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Viewing the SOAP XML w/Weblogic10 ClientGen" Watch "Viewing the SOAP XML w/Weblogic10 ClientGen" New topic
Author

Viewing the SOAP XML w/Weblogic10 ClientGen

Brett Daburn
Greenhorn

Joined: Nov 25, 2008
Posts: 10
Is it possible to view the SOAP xml request of a client call when using the generated classes of WebLogic 10 ClientGen? The toString of the objects will display it in their own format, but I need to obtain the actual SOAP xml of the request.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Brett Daburn:
Is it possible to view the SOAP xml request of a client call when using the generated classes of WebLogic 10 ClientGen?


For diagnostic purposes simply use something like Apache TCPMon (Tutorial) or java.net tcpmon to view the SOAP request/response pairs

Otherwise you can usually access the object representation of the SOAP envelope in a client or server SOAP handler.

WLS 10: Creating and Using SOAP Message Handlers
WLS 10: Creating and Using Client-Side SOAP Message Handlers
[ December 19, 2008: Message edited by: Peer Reynders ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Viewing the SOAP XML w/Weblogic10 ClientGen
 
Similar Threads
get xml from request body
axis and soap
what is SOAP and what for it is used?
Web Service Security
Print SOAP request and response (WL 92)