Hello Marco, perhaps you should take a look at the documentation of the project:
http://cxf.apache.org/docs/debugging-and-logging.html You can extend LoggingInInterceptor/LoggingOutInterceptor and override method getLogger() if you need to log with a specific package/classname (to configure logs into a particular log file). You can also implement your own interceptors to log into database, etc. Eduardo On 4 April 2013 14:26, 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? > -- Eduardo Andrade [email protected] www.linkedin.com/in/eduardofandrade
