Java JAX-WS web-service client: how log request & response xml ?
        Posted  
        
            by EugeneP
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by EugeneP
        
        
        
        Published on 2010-05-11T06:39:46Z
        Indexed on 
            2010/05/11
            6:44 UTC
        
        
        Read the original article
        Hit count: 321
        
I created an implementation of LoggingHandler that implements SOAPHandler It should log whenever handleMessage triggers. [ And it is never called in my case ] then : MyService service = new MyService(); MyServicePort port = service.getPortType(); now I try this: BindingProvider bindingProvider = (BindingProvider)port; bindingProvider.getBinding().getHandlerChain().add(new LoggingHandler());
I do not see any request / response xml though.
Can you suggest any solution? Maybe there's other way to see output and request xml s ?
© Stack Overflow or respective owner