On Aug 8, 2012, at 2:43 PM, Alejandro <[email protected]> wrote: > Hi, I solve the problem in the IN Interceptor, but I can't find a solution to > log the SOAP message in the Out Interceptor?
An interceptor that would run in the POST_PROTOCOL phase but before the PolicyBasedWSS4JOutInterceptorInternal or WSS4JOutInterceptorInternal interceptors should do it. You can get the SAAJ model from the message at that point via: SOAPMessage saaj = mc.getContent(SOAPMessage.class); and then log that. That would be pre-encryption and such. Dan > > Could you give me and example? > > Regards. > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Logging-message-without-wssecurity-encription-tp5712142p5712199.html > Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
