Websphere: log requests and log responses

I am using Websphere 7 . Using the existing WSDL, I created a WS client using the wsimport ant task (com.sun.tools.ws.ant.WsImport).

Is there a way I can log SOAP xml requests / responses sent / received by this client?

+5
source share
1 answer

You can enable SOAP WS message tracking by completing the following steps in the Websphere 7 administration console:

  • Go to admin console
  • Go to: Servers → WebSphere Application Servers → server> Change log detail levels
  • com.ibm.ws.websvcs.trace, "All Mesasges and Traces", ,

* = info: com.ibm.ws.websvcs.trace. * = all

  • "", .

/ SOAP trace.log . .

+10

All Articles