[resolved] Passing values to tSOAP from tFileInputDelimited
Hi i am a new to TOS.
My job is to call a web service and store the out put in a file.
Note: My web service uses external XSD and complex data type.
I used tSOAP to send soap request to the web service and it gives soap response. My soap request may have a two or more inputs.
Now my job is to use a tFileInputDelimited to read the request parameters from the csv file and pass those values to the tSOAP. In the below soap message I like to pass the Number1 and Number2 as input from csv file.
"<soapenv:Envelope xmlns:soapenv=\"
http://schemas.xmlsoap.org/soap/envelope/\" xmlns:sch=\"
http://treetechnologies.com/hr/schemas\">
<soapenv:Header/>
<soapenv:Body>
<sch:Input>
<sch:Number1> </sch:Number1>
<sch:Number2> </sch:Number2>
</sch:Input>
</soapenv:Body>
</soapenv:Envelope>"
Can any one help me to solve this or any other suggestiona to do it in a better way.
Thx pedro for ur earliest reply.
I doesn't want to know how to generate the soap message.
I have the soap message with me to communicate with my web service. My soap message takes two or may be more arguments to the web service as input. I like to call the web service for more than one time with different inputs. So i am storing those input arguments in the csv file and like to use tFileInputDelimited to read the inputs from the csv and pass it to the web service.
Hi Maybe you can create job as follow. tFileInputDelimited--main-->tJavaRow | Iterate | tSOAP Set "SOAP message" row1.ColumnName. But I don't know the detail of this csv file. Could you send an email to me and attach this csv? Then I can make it clear. Regards, Pedro