Pages

Showing posts with label Logging. Show all posts
Showing posts with label Logging. Show all posts

Friday, September 26, 2014

WebProxy - Log Request and Response xml to console

How to view the request and response xml for a webservice call made using webProxy.


To see the soap request and response we can set a JAX-WS parameter. 
"-Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true"  ,this will dump the data in your console output.

Edit the Run/Debug Profile for the project and then run it . See the screenshot for more details : 





You can also write a SOAP logging handler ....will be covered in future posts.

Enjoy...