tags:

views:

16

answers:

0

I need my SOAP XML script to read variable from a csv file, line by line and send request to end-point for each variable.In the case below, values for "tel" are in a file called "telnumbers.txt".

<soapenv:Header/>
   <soapenv:Body>
      <usa:companyID>
         <employeeID>accounts</employeeID>
         <tel>1412341745</tel>
         <!--Zero or more repetitions:-->
         <OptionalAttributes>
            <Name>?</Name>
            <Value>?</Value>
         </OptionalAttributes>
      </usa:companyID>
   </soapenv:Body>
</soapenv:Envelope>