O'Reilly logo

JBoss ESB by Tom Cunningham, Magesh Kumar B, Kevin Conner, Len DiMaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – ESB SOAP client

We exported an ESB service as a web service in the previous section. Let us now invoke that web service with another ESB service.

  1. In JBoss Developer Studio, open the esbcontent/META-INF/jboss-esb.xml file in Source mode.
  2. Append the following service definition to the <services> tag.
    <service category="Chapter8Sample" description=""
             name="Chapter8WSClient">
      <listeners>
        <jms-listener busidref="Chapter8EsbChannel2"
                      name="Chapter8EsbListener"/>
      </listeners>
      <actions mep="RequestResponse">
        <action name="requestAction"
          class="org.jboss.soa.esb.samples.chapter8.MyRequestAction"/>
        <action class="org.jboss.soa.esb.actions.soap.SOAPClient"
                name="soapui-client-action">
     <property name="wsdl" value="http://localhost:8080/Chapter8/ebws/Chapter8Sample/Chapter8Service?wsdl"/> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required