Thursday August 16, 2007
TOTD #1: SOAP Messaging Logging in Metro
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:
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.
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 metro soap glassfish
Posted by Arun Gupta in webservices | Comments[7]
|
|
|
|
|
Today's Page Hits: 8894
Total # blog entries: 1002
Posted by Arun Gupta's Blog on November 28, 2007 at 07:04 AM PST #
I have been recieving a lot of error messages not all witht the same message, and it is unfortunet that I had to uninstall 2.0 SDK around the same time I had installed the newest ver. of Java jre1.6.0_06 which was June 01, 2008
I am currently running Windows XP PRO SP2
The message as I am trying to load this site http://java.sun.com/javase/6/docs/jre/api/plugin/dom/index.html is:
Line 14 Char 1 Error Permission Denied code 0 Http://blogs.suncom/arugupla/entry/told_sop_messaging logging,
All my permissions I feel are correct. I have gone over ever thing that I can think of. So in this case it can only be a logon issue.
However do to all the errors I am having I am just not just what I should depend on. I would be glad to send someone a report of my system if your are interested. Please let me know.
Thank you for your time.
Frances Steele
virgoheart@msn.com
Posted by Frances Steele on June 07, 2008 at 05:47 PM PDT #
Frances, please post your request to Metro forum at:
http://forums.java.net/jive/forum.jspa?forumID=46&start=0
Posted by Arun Gupta on June 10, 2008 at 01:11 PM PDT #
This is beautiful...made my day..I was looking for client-side logging of SOAP messages for hours...and this BLOG did job for me.
I was scratching my head from last 8 hours for just 1 line
com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true.
Arun, Thanks for Excellent post!!
Best regards,
Tom
Posted by Tom Ethens on August 31, 2009 at 03:14 PM PDT #
Does that has a way to specify some log system properties in the admin console?
if so, we don't need to change any codes....
Posted by Azuryy on September 01, 2009 at 02:39 AM PDT #
You should be able to use create-jvm-options to add the propery. Try that ?
Posted by Arun Gupta on September 02, 2009 at 09:14 AM PDT #
I tried, it doesn't work.
Posted by Azuryy on September 04, 2009 at 10:29 PM PDT #