On Friday 15 April 2011 11:18:40 AM Alejandro wrote: > Hi, I need to log the message after processing the WSS4JInInterceptor. The > actual LoggingInInterceptor works as the first interceptor in the chain so > it logs the message with all security headers and with the encrypted > content. > Is any way to log the plain message?
The Logging interceptor we have work at the stream level. Thus, they won't work after the SAAJ stuff (which is what the WSS4J interceptors would result in). However, you should be able to create your own interceptor relatively easily that would do something like: SOAPMessage smsg = msg.getContent(SOAPMessage.class); smsg.writeTo(byteArrayOutputStream); System.out.println(byteArrayOutputStream); or similar. Dan > > Regards > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Log-SoapMessage-After-WSS4J-tp4305812p4305 > 812.html Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
