Wednesday, December 18, 2013

How to View Service Proxy Request/Response message in Jdeveloper

In order to view the XML SOAP envelope of an ADF service Proxy, add this line to your server startup and the XML will be dumped the jdeveloper console output.

-Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true 
  In Jdeveloper, the server startup command line is accessed from

Run Menu
Choose Active Run Configuration
Manage Run Configurations 
Edit Default

Add the line to the end of the Java Options.

 Also if  you see a large work:WorkContext section in the SOAP header, you can remove that by adding this line to the startup.
-Dweblogic.wsee.workarea.skipWorkAreaHeader=true
 






No comments:

Post a Comment