0 Replies Latest reply on May 21, 2008 7:59 PM by randiz

    muliple request/response pairs

    randiz

      hello

      I am using jbossesb 4.2.1.GA. I am making calls to an operation in a webservice using SOAPClient . For reference a snippet of jboss-esb.xml is attached below. This is what I am trying to do :

      a) I have a list of records
      b) for each record in the:
      1. make a request, process response ( eg. write to a file)
      2. go to next record in the list , send request
      process response and so on to the next record.
      ( in nutshell I dont want to send all requests in one call)

      Question(s) : Any property I can set ?[\b]
      or any pointers to do the above ?

      =============================

      <action name="request-mapper"
       class="mypkg.MyRequestAction"
       process="option1">
       </action>
      <action>
      <action name="soapui-client-action"
       class="org.jboss.soa.esb.actions.soap.SOAPClient">
       < property name="wsdl"
       value="http://127.0.0.1:8080/xyz?wsdl"
       <property name="operation" value="addPerson" />
       <property name="responseAsOgnlMap" value="true" />
       <property name="SOAPAction" value="addPerson"/>
      </action>
       <action name="response-mapper"
       class="mypkg.MyResponseAction">
       </action>

      ========================================

      than you very much