9 Replies Latest reply on Nov 9, 2011 8:48 PM by Alonzo Burns

    How expose two webservices in esb with SoapProcessor

    Hernan Bernal Newbie

      Hi everybody:

      I´m running JbossESB in Jboss 4.2.3, i´m running examples, i got work webservice_producer from samples quickstart, but i need expose two webservices throught esb. When i deploy myesb, both webservices response when consumed from soapui, but when i invoke them from their contracts always one of them fails telling me something like this:

      Endpoint {http://webserviceA/ServiceA}ServiceAWSPort does not contain operation meta data for: {http://webserviceB/ServiceB}webMethodB


      My jboss-esb.xml looks like:

      <?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">
       <providers>
       <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
       <jms-bus busid="quickstartEsbChannel">
       <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_producer_esb"/>
       </jms-bus>
       </jms-provider>
       <jbr-provider name="JBR-Http" protocol="http" host="10.0.0.140">
       <jbr-bus busid="Http-1" port="8765" />
       </jbr-provider>
       <jbr-provider name="JBR-Http-1" protocol="http" host="10.0.0.140">
       <jbr-bus busid="Http-2" port="8766" />
       </jbr-provider>
       </providers>
       <services>
       <service category="GeneradorPines" name="GeneradorPinesWS" description="">
       <listeners>
       <jbr-listener name="Http" busidref="Http-1" is-gateway="true"/>
       <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
       </listeners>
       <actions>
       <action name="JBossWSAdapter" class="org.jboss.soa.esb.actions.soap.SOAPProcessor">
       <property name="jbossws-endpoint" value="GeneradorPinesWS"/>
       </action>
       </actions>
       </service>
       <service category="GeneradorCJ" name="GeneradorCJWS" description="">
       <listeners>
       <jbr-listener name="Http-1" busidref="Http-2" is-gateway="true"/>
       <jms-listener name="JMS-ESBListener-1" busidref="quickstartEsbChannel"/>
       </listeners>
       <actions>
       <action name="JBossWSAdapter1" class="org.jboss.soa.esb.actions.soap.SOAPProcessor">
       <property name="jbossws-endpoint" value="GeneradorCJWS"/>
       </action>
       </actions>
       </service>
       </services>
      </jbossesb>
      

      Thanks in advance for your help