7 Replies Latest reply on Jan 5, 2012 10:43 AM by kdesineedi

    How to print SOAP messages in a BA transaction

    Adrian Fernández Newbie

      Hello everyone,


      I’m developing a test structure for WS using jbossts. I would like to print the SOAP messages exchanged in the Business Activity transaction but I don’t know how. I’m using jboss6.0.0-Final. Is there a way? Thanks for your help and sorry for my bad english


      I’ve already tried to enable these lines in jboss-logging.xml and set the root logger priority to TRACE, with no result:


      <!-- Enable JBossWS message tracing -->
         <logger category="org.jboss.ws.core.MessageTrace">
           <level name="TRACE"/>


      I’ve also edited the file jbossws-cxf-client/META-INF/cxf/xcf-extension-jbossws.xml in the jar client/jbossws-cxf-client.jar adding these lines but still see nothing:


        <bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
        <bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
            <ref bean="logInbound"/>
            <ref bean="logOutbound"/>
            <ref bean="logOutbound"/>