1 Reply Latest reply on Jan 28, 2011 5:50 AM by mageshbk

    Intercepting jboss esb ws calls...

    cinaed

      Hi,

       

      Server: JBoss SOA Platform: soa-4.3.0.GA_CP02.

       

      We've exposed a esb service as a web service by using the "actions"-element "webservice" property (set to true).

      Now we are interested in intercepting calls to the service by a handler-implementation executed in the ws handler-chain.

       

      I'm not sure how the configuration should be done to have this realized. I've tried to add the handler to the

      .../jbossesb-server/server/<myConf>/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml

      like:

      <endpoint-config>

          <config-name>Test Handler</config-name>

          <pre-handler-chains>

              <javaee:handler-chain>

                      <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>

                      <javaee:handler>

                              <javaee:handler-name>Pre Test Handler</javaee:handler-name>

                              <javaee:handler-class>...TestHandler</javaee:handler-class>

                      </javaee:handler>

              </javaee:handler-chain>

          </pre-handler-chains>

          <post-handler-chains>

              <javaee:handler-chain>

                      <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>

                      <javaee:handler>

                              <javaee:handler-name>Post Test Handler</javaee:handler-name>

                              <javaee:handler-class>...TestHandler</javaee:handler-class>

                      </javaee:handler>

              </javaee:handler-chain>

          </post-handler-chains>

        </endpoint-config>

       

      but didn't get it to work.

       

       

      Can anyone tell me how the configuration should be done to have the handler executed.

       

       

      Thanks in advance,

      -Kenta