Re: How to see the raw XML response in JAX-WS 2.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: How to see the raw XML response in JAX-WS 2.1

forums
Hi, It's working but I can see several copies of the same content (except the
Instance id which is different ) and it seems that it has logged the same
info 3 times... is this normal? INFO: Request message processed in Tube [
com.sun.xml.ws.api.pipe.helper.PipeAdapter ] Instance [ 813 ] Engine [
com.sun.xml.ws.server.WSEndpointImpl@37100007 ] Thread [
http-thread-pool-1234(1) ]: <?xml version='1.0' encoding='UTF-8'?> ye006
ye006 en standard INFO: Request message received in Tube [
com.sun.xml.ws.api.pipe.helper.PipeAdapter ] Instance [ 812 ] Engine [
com.sun.xml.ws.server.WSEndpointImpl@37100007 ] Thread [
http-thread-pool-1234(1) ]: <?xml version='1.0' encoding='UTF-8'?> ye006
ye006 en standard INFO: Request message processed in Tube [
com.sun.xml.ws.api.pipe.helper.PipeAdapter ] Instance [ 811 ] Engine [
com.sun.xml.ws.server.WSEndpointImpl@37100007 ] Thread [
http-thread-pool-1234(1) ]: <?xml version='1.0' encoding='UTF-8'?> ye006
ye006 en standard INFO: Request message received in Tube [
com.sun.xml.ws.protocol.soap.ServerMUTube ] Instance [ 810 ] Engine [
com.sun.xml.ws.server.WSEndpointImpl@37100007 ] Thread [
http-thread-pool-1234(1) ]: <?xml version='1.0' encoding='UTF-8'?> ye006
ye006 en standard INFO: Request message processed in Tube [
com.sun.xml.ws.protocol.soap.ServerMUTube ] Instance [ 809 ] Engine [
com.sun.xml.ws.server.WSEndpointImpl@37100007 ] Thread [
http-thread-pool-1234(1) ]: <?xml version='1.0' encoding='UTF-8'?> ye006
ye006 en standard INFO: Request message received in Tube [
com.sun.xml.ws.server.sei.SEIInvokerTube ] Instance [ 808 ] Engine [
com.sun.xml.ws.server.WSEndpointImpl@37100007 ] Thread [
http-thread-pool-1234(1) ]: <?xml version='1.0' encoding='UTF-8'?> ye006
ye006 en standard

--

[Message sent by forum member 'patrickblais']

View Post: http://forums.java.net/node/662844


Reply | Threaded
Open this post in threaded view
|

Re: How to see the raw XML response in JAX-WS 2.1

TomekJavaMetro
This post has NOT been accepted by the mailing list yet.


Please do this,

Use  in client side, (Metro libs or dependency in pom.xml must be added.


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

and in the server side (in server config , or ../glassfish/domains/domain-xxyy/config/domains.xml) add

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