Hi
I did in int code as following
URL wsdlUrl =
EpsilonWSClientFactory.class.getClassLoader().getResource("../wsdl/com/wellsfargo/service/provider/ebs/epsilon/epsilonService2013.wsdl");
EpsilonService2013 service = new EpsilonService2013(wsdlUrl);
wsport = service.getEpsilonService2013();
BindingProvider provider = (BindingProvider) wsport;
ClientLoggingInInterceptor clin = new
ClientLoggingInInterceptor();
ClientProxy.getClient(wsport).getOutInterceptors().add(clin);
provider.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
getUrl());
setupTLS(wsport);
As you see, I add a ClientLoggingInInterceptor.
The Server is configured with cxf.xml as following
<cxf:bus name>
<cxf:inInterceptors>
<ref bean="logInbound"/>
</cxf:inInterceptors>
<cxf:outInterceptors>
<ref bean="logOutbound"/>
</cxf:outInterceptors>
</cxf:bus>
I saw both client and server interceptors are invoked when Application
working as CXF client sent SOAP message.
Ed
--
View this message in context:
http://cxf.547215.n5.nabble.com/Seperate-CXF-client-configuration-from-CXF-server-configuration-tp5726238p5726330.html
Sent from the cxf-user mailing list archive at Nabble.com.