Topic
  • No replies
ngopi
ngopi
1 Post

Pinned topic How to pass repetitive elements from SOAP request to ISD stage

‏2013-11-29T07:43:36Z |

Hi All,

In my current project we are using the service director to run the jobs on 24x7 basis to process the web service requests submitted from user interface in real time. For this i have designed a job with "ISD stage ---- > Standardize stage ----- > XML output stage ------ > Webservice Transformr -----> ISD Output stage " and binded it as a service in service director. The wsdl for the job as below.

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://PIMServ1.PIM1.isd.ibm.com/soapoverhttp/">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:Dept>
         <deptID>?</deptID>
         <employeeID>?</employeeID>
         <employeeStatus>?</employeeStatus>
         <employeeName>?</employeeName>
         <identifier>?</identifier>
         <telnumber>?</telnumber>
         <email>?</email>
        </soap:Dept>
   </soapenv:Body>
</soapenv:Envelope>

Here is my actual problem, The above SOAP request working fine when i pass data with out repititive constructs. But as per my requirement i need to pass the repetitive elements from the request as below.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://PIMServ1.PIM1.isd.ibm.com/soapoverhttp/">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:Dept>
         <deptID>?</deptID>
         <employeeID>?</employeeID>
         <employeeStatus>?</employeeStatus>
         <employeeName>?</employeeName>
         <identifier>?</identifier>
         <telnumber>?</telnumber>
         <telnumber>?</telnumber>
         <telnumber>?</telnumber>
         <email>?</email>
  <email>?</email>
  <email>?</email>
        </soap:Dept>
   </soapenv:Body>
</soapenv:Envelope>

How can i design a SOAP request from service director which can accept repititive elemnts from the request as specified above. I tried with Accept Array option available in Service Director but no use. Can anybody help me how can we generate the SOAP request with repetitive elements from Serive Director.

Thanks !