SHYAM RAO

Monday Jul 14, 2008

How to log WS-Trust & WS-SecureConversation messages

In this blog i will show, how to enable logging of WS-Trust and WS-SecureConvesation messages for the application developed using Metro Web Services stack.

To get debug messages on client/server for WS-Trust and WS-SecureConvesation, change your JDK's (<JAVA_HOME>/jre/lib/logging.properties) level from INFO to FINE / FINER / FINEST :

java.util.logging.ConsoleHandler.level = FINEST

For WS-Trust, put the following WS-Trust logger to FINER :

com.sun.xml.ws.security.trust.level = FINER

For WS-SecureConversation, put the following WS-SecureConversation logger to FINER :

com.sun.xml.ws.security.secconv.level = FINER

The above logging properties print the RST and RSTR messages on the client's console and server's log file.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

Calendar

Search

Links

Navigation

Referers