cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drake Faith <>
Subject Using raw logging information from a SOAP call
Date Tue, 14 Mar 2017 14:02:23 GMT

I was wondering how to use raw logging information.
Currently I want to log SOAP XMLs. According to SOAP body could be read
from message.

While using log4j with LoggingFeature, my appender pattern:
%d{ISO8601} %m%n

My logging record:
2017-03-14 14:57:17,783|Inbound Message
ID: 1
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml;charset=UTF-8
Payload: SOAP
2017-03-14 14:57:18,792|Outbound Message
ID: 1
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml
Headers: {}
Payload: SOAP

Could you explain how to get only SOAP msg? By extends LoggingIn/Out
Interceptor or there is any easy way?

Best regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message