On Apr 4, 2013, at 9:26 AM, Marco Pas <[email protected]> wrote:

> I am using CXF dynamic client and want to do some logging. I want to
> log the outgoing request and incoming reponse soap xml. I need to do
> that with interceptors but have no clue on how to wire them so the
> client will use that.
> 
> Example code:
> 
>    MyWebservice ws = new MyWebservice_Service().getChargePointServiceSoap12();
> 
> How can i add interceptors to this client?


Client c = ClientProxy.getClient(ws);
c.getEndpoint().getInInterceptors().add(…..);



-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to