2 Replies Latest reply on Dec 11, 2012 11:42 AM by Kevin Conner

    WS-Addressing replyTo support

    Guzman Llambi­as Novice

      Hi guys!

       

      I'm trying to develop an async scenario where a EWS receives a WS-Addressing message, do some logic and then return the response message to the replyTo header. Is this type of scenario supported by jbossesb?? I did some tests and only worked with a RequestResponse mep. Can it be used with a OneWay message?

       

      here's my jboss-esb.xml with RequestResponse mep:

       

      <jbossesb parameterReloadSecs="5"
       xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd">
       <providers>
        <http-provider name="WSEndpoint">
         <http-bus busid="wsEndpointID"/>
        </http-provider>
        <jms-provider connection-factory="ConnectionFactory" name="myJMSProvider">
         <jms-bus busid="myJMSChannelID">
          <jms-message-filter dest-name="queue/myJMSWS" dest-type="QUEUE"/>
         </jms-bus>
        </jms-provider>
       </providers>
       <services>
        <service category="sample" description="ejemplo de ws" name="MyWSSample">
         <listeners>
          <http-gateway busidref="wsEndpointID" name="myWSEndpoint"/>     
          <jms-listener busidref="myJMSChannelID" is-gateway="false" name="myJMSListener"/>
         </listeners>
         <actions addressing="true" faultXsd="/fault.xsd" inXsd="/request.xsd"
          mep="RequestResponse" outXsd="/response.xsd" validate="false" webservice="true">
          <action class="test.EWSPublishSample" name="myWSAction"/>
         </actions>
        </service>
       </services>
      </jbossesb>
      
      

       

      thank you very much!

      Regards

      Guzmán