0 Replies Latest reply: Feb 24, 2010 8:53 PM by 843830 RSS

    setting replyToName in a WSDL SOAP-JMS

    843830
      Hello,

      I've been trying to research on how to set replyToName property in a SOAP-JMS wsdl so i can define the reply queue but have had no success. I was hoping someone here can help. Below is the WSDL i'm using. Can anyone please point out on where the replyToName should be placed in my WSDL?

      <definitions name="JmsSendRcvMsg" targetNamespace="http://j2ee.netbeans.org/wsdl/JmsReqReplyConsumer/JmsSendRcvMsg"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:jms="http://schemas.sun.com/jbi/wsdl-extensions/jms/" xmlns:tns="http://j2ee.netbeans.org/wsdl/JmsReqReplyConsumer/JmsSendRcvMsg" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types/>
      <message name="JMSInputMessage">
      <part name="part1" type="xsd:string"/>
      </message>
      <message name="JMSOutputMessage">
      <part name="part1" type="xsd:string"/>
      </message>
      <portType name="JMSOutPortType">
      <operation name="JMSOutOperation">
      <input name="input1" message="tns:JMSInputMessage"/>
      <output name="output1" message="tns:JMSOutputMessage"/>
      </operation>
      </portType>
      <binding name="JMSOutBinding" type="tns:JMSOutPortType">
      <jms:binding/>
      <operation name="JMSOutOperation">
      <jms:operation destination="qRequest" destinationType="Queue" transaction="NoTransaction" deliveryMode="PERSISTENT" timeToLive="0" priority="4" timeout="300000"/>
      <input name="input1">
      <jms:message messageType="TextMessage" textPart="part1"/>
      </input>
      <output name="output1">
      <jms:message messageType="TextMessage" textPart="part1"/>
      </output>
      </operation>
      </binding>
      <service name="JMSOutService">
      <port name="JmsSendRcvMsg_OutPort" binding="tns:JMSOutBinding">
      <jms:address connectionURL="mq://localhost:7676" username="admin" password="admin">
      <jms:jmsjcaOptions><![CDATA[]]></jms:jmsjcaOptions>
      </jms:address>
      </port>
      </service>
      <plnk:partnerLinkType name="JmsSendRcvMsg">
      <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
      In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
      A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
      <plnk:role name="JMSOutPortTypeRole" portType="tns:JMSOutPortType"/>
      </plnk:partnerLinkType>
      </definitions>

      Thanks