I would like to save to a server log SOAP envelopes for web service deployed on Glassfish version 3. I know that I can use Wireshark or similar net sniffing tool, but I would prefer to have the messages stored in Glassfish log.
+1
A:
It all looks a bit confusing, but here's the documentation for traffic logging on Glassfish/Metro
skaffman
2009-12-18 07:56:59
To be more specyfic: the option from the mentioned docs needs to be added to domain.xml config file. For example to log everything we need to add<jvm-options>-Dcom.sun.metro.soap.dump=true</jvm-options>
Piotr Kochański
2009-12-21 11:47:31
And, obviously, thanks a lot for your helpful answer!
Piotr Kochański
2009-12-21 11:48:21