Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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.
Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi
Have you read the scenario of tSOAP in document ?
You mean you want to know how to generate this soap message?
Regards,
Pedro

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi
Have you read the scenario of tSOAP in document ?
You mean you want to know how to generate this soap message?
Regards,
Pedro
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Once again thx for your earliest reply as well as for solving my problem.