This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Viewing the SOAP XML w/Weblogic10 ClientGen

 
Brett Daburn
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic