Hi,
One way to achieve the same in JBoss AS7 is to use the "LoggingInInterceptor" and "LoggingOutInterceptor" On server side or on Client side .
/* Following part of code is needed for client side Logging of Soap request/response */
/* We need to make sure that we place the "log4j.properties" file inside clients classpath */
Client client = ClientProxy.getClient(port);
client.getInInterceptors().add(new LoggingInInterceptor());
client.getOutInterceptors().add(new LoggingOutInterceptor());
http://middlewaremagic.com/jboss/?p=1300
And
http://cxf.apache.org/docs/debugging-and-logging.html