1 Reply Latest reply on Oct 10, 2008 10:33 AM by burrsutter

    Exposing Webservice through JBOSSESB

    rupalif

      Hi,

      As I have gone through JBOSSESB documentation, I found that we need to have separate http port for each webservice to expose it through JBOSSESB.

      Is there any way I can have multiple Webservices exposed through same http host:port combination?

      Regards,
      Rupali

        • 1. Re: Exposing Webservice through JBOSSESB
          burrsutter

          Have you seen the new EBWS feature in 4.4 CP branch:

          <?xml version = "1.0" encoding = "UTF-8"?>
          <jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5">
           <services>
           <service
           category="ESBWebServiceSample"
           name="FetchCustomer"
           description="Hello world ESB Service2"
           invmScope="GLOBAL">
           <actions
           inXsd="/request.xsd"
           outXsd="/customer.xsd"
           faultXsd="/fault.xsd"
           webservice="none"
           validate="true">
           <action
           class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor" name="requestMapper">
           <property name="script" value="/scripts/requestHandler.groovy"/>
           </action>
           <action name="action"
           class="org.jboss.soa.esb.samples.quickstart.publishAsWebservice.MyAction"/>
           </actions>
           </service>
           </services>
          
          </jbossesb>
          


          I believe the quickstart called publish_as_webservice may be in the downloadble ESB 4.4 as well. 4.4 CP you'll need to build from source (which is easy to do).

          With that said, if you stick with the 181 way of building WS endpoints then you'll need a port per service. The EBWS feature works off the same port as Tomcat.

          Burr