This is what worked for me for the benefit of anyone else:

        // LOGGING
        LoggingOutInterceptor loi = new LoggingOutInterceptor();
        loi.setPrettyLogging(true);
        LoggingInInterceptor lii = new LoggingInInterceptor();
        lii.setPrettyLogging(true);

        org.apache.cxf.endpoint.Client client =
org.apache.cxf.frontend.ClientProxy.getClient(isalesService);
        org.apache.cxf.endpoint.Endpoint cxfEndpoint = client.getEndpoint();

        cxfEndpoint.getOutInterceptors().add(loi);
        cxfEndpoint.getInInterceptors().add(lii);



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to