Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 31 other followers

  • Archives

  • Categories

  • Stats

    • 412,343
  • Live Traffic

  • Advertisements

Tips&Tricks: How to monitor and log soap messages

Posted by Jai on October 30, 2012

A quick tip to monitor and log soap messages. Most of the monitoring tools are kind of middle man to monitor the request-response between client and server. Now you can log the traffic to file and see how data is passing around.

Set the below system property,


If you are running your client from application server eg. tomcat, you can set it as CATALINA_OPTS param.


For Soap request/response example check, Monitoring SOAP Messages Made Easy With JAX-WS RI 2.0.1


2 Responses to “Tips&Tricks: How to monitor and log soap messages”

  1. sejnar said

    So which of the those two system properties that you mention do I have to use? From all I can see only the system property with ‘internal’ in it works … at least on more recent versions of JAX-WS RI. (the Metro Guide still happily only refers to the property name without the ‘internal’ part)

    • Jai said

      It depends on which version of jar you are currently using,

      For example, still the old package name with ‘internal’ is used.


      And indeed for latest versions, the package name is changed.

      Check your jar version/ java version and accordingly use the property name, I haven’t looked at from which it has been changed.

      Hope that helps.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: