Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to log SOAP messages which are sent by Metro stack

I'm trying to log my messages which are sent using a Metro stack into console. Could not find any way.

like image 755
Denismo Avatar asked Sep 28 '10 09:09

Denismo


1 Answers

Message logging to stdout (valid for METRO only!):

On the client

Java 5: Set system property

-Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true

Java 6: Set system property

-Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true

On the server side

Set system property

-Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true
like image 194
rustyx Avatar answered Nov 24 '22 00:11

rustyx