What does this notice mean "SNI: extension not received from the client", in stunnel log?

How to log JAX-RPC incoming and outgoing messages on the client side?

  • configuration : Jrockit (1.6) Weblogic (10.3) JAX-RPC I know there is a simple way to log JAX-WS messages by adding the following arguments to JAVA_OPTS : http://-Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true http://-Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true Is there a similar way to log JAX-RPC messages ? I tried using a webSvc handler with the following code : public boolean handleRequest(MessageContext context) { SoapMessageContext msg=(SoapMessageContext) context; SOAPMessage soapMessage=msg.getMessage(); System.Out.Println(soapMessage); } However as soapMessage returns a POJO, it does not seem to print the actual HTTP request which shall be sent to the webSvc. I would like to print the entire message (including the soap envelope) as it is sent/received for a JAX-RPC webSvc on the client side. HELP !

  • Answer:

    You need to implement your own Handler and use handleRequest/handleResponse. Read This: http://www.ibm.com/developerworks/webservices/library/ws-tipjax2/index.html

Paul Campbell at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.