Hi , 

Please refer the following links for soap payload configuration.

http://cxf.apache.org/docs/debugging-and-logging.html
http://cxf.apache.org/docs/configuration.html

LoggingInInterceptor - for logging in bound messages 
LoggingOutInterceptor - for logging out bound messages. 

Is these two interceptors getting triggered while you were sending the request 
and while getting response.
To help you better show us how did you configured cxf-servlet.xml 

Mohana Rao S V


-----Original Message-----
From: David Karlsen [mailto:[email protected]] 
Sent: Saturday, May 16, 2015 2:33 PM
To: [email protected]
Subject: Re: How to enable logging of SOAP palyload?

You also need to enable the log feature on the bus configuration . Did you add 
that?
16. mai 2015 00.51 skrev "Pavel Degtyarev" <[email protected]>:

> Hello,
> We use CXF 2.6.1 for generating SOAP WS client.
> Trying to enable SOAP payload logging I tried to use JVM argument 
> "Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger" and 
> enabling debug in my log4j config, as well as configuring debug 
> logging in standard Java logging package. Nothing works so far.
> Can anyone provide step-by-step guide what needs to be done to enable 
> logging, please?
>
>
>
>
> **********************************************************************
> ******** This communication (including any attachments) may contain 
> privileged or confidential information intended for a specific 
> individual and purpose, and is protected by law.  If you are not the 
> intended recipient, you should delete this communication and/or shred 
> the materials and any attachments and are hereby notified that any 
> disclosure, copying, or distribution of this communication, or the 
> taking of any action based on it, is strictly prohibited.
>
> Thank you.
>
>

Reply via email to