Friday, October 3, 2008

Trace SOAP Message in WebSphere

Enable trace for a Web Services for Java 2 enterprise edition (J2EE) server application.

  • Start WebSphere Application Server.
  • Open the administrative console.
  • Click Servers > Application Servers > server.
  • Click Change Log Detail Levels.
  • Add or delete the trace string in the text box.
  • For this task, delete the trace string *=info and add the trace string com.ibm.ws.webservices.engine.*=all=enabled. OR
  • Type the trace string directly into the text box. You must separate each trace string by a colon (:) with no spaces. For example: com.ibm.ws.webservices.trace.MessageTrace =finest:com.ibm.ws.webservices.engine.Message=finest

This will log the soap message in trace.log file.

No comments: