Hi, In order to enable SOAP Payload logging, you need to configure Logging Feature (or logging interceptor). For details refer documentation: http://cxf.apache.org/docs/debugging-and-logging.html#DebuggingandLogging-LoggingMessages and example: https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/wsdl_first/src/main/resources/server-applicationContext.xml
Regards, Andrei. > -----Original Message----- > From: Pavel Degtyarev [mailto:[email protected]] > Sent: Samstag, 16. Mai 2015 00:52 > To: [email protected] > Subject: How to enable logging of SOAP palyload? > > 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.
