JBoss 5.2, how to log payload using JBossWA native stack?

Posted on

Hi,
We use direct CXF calls to log SOAP payload currently, but need to switch to JBossWS native APi. How can we do that?

Here's current approach:

Client cl = ClientProxy.getClient(enr);
cl.getInInterceptors().add(new LoggingInInterceptor());
cl.getOutInterceptors().add(new LoggingOutInterceptor());