Skip to main content

TOTD #1: SOAP Messaging Logging in Metro

Posted by arungupta on August 16, 2007 at 11:17 AM PDT

I'm starting a new series today called Tip Of The
Day. In this series I'll respond to technical questions asked directly to
me, on forums or other aliases. These questions might have been answered else
where and this will be a summary of such tips in that case.

This tip tells how to monitor SOAP messages in
Metro (the Web services stack in
GlassFish). There are couple of ways to
monitor SOAP messages:

  1. For

    client-side message logging
    , set system property

    	com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true
    . For

    server-side message logging
    , set system property
    	com.sun.xml.ws.transport.http.HttpAdapter.dump=true
    .

  2. If you want more fine-grained logging, then consider using
    the logging properties defined

    here
    .

Another option is to use
wsmonitor.

How do you monitor SOAP messages ?

Technorati:
totd
webservices
projectmetro

soap
glassfish

Related Topics >>