Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jimluugane
Contributor
Contributor

Help with TSOAP and message body

Hi everybody , im begginner in talend os and i need help please.

Im using TSOAP to send a request to my WebService, so far I put the WSDL in the "SOAP Message" field and it works fine, I attach an image of how I do the process , you can see that I put the complete wsdl in the SOAP Message field, but when doing this it remains static and I need to send a wsdl with different values that I will read from a csv file, there is some way to put a variable in the SOAP Message field that contains that wsdl set up in a step before TSOAP??.

Thanks and regards

0695b00000L0k7vAAB.png0695b00000L0k7WAAR.png

Labels (7)
2 Replies
Anonymous
Not applicable

Hi @juan miguel​,

 

Your SOAP Message shouldn't contain the WSDL, it should be a SOAP message that has been produced using the WSDL as the "instructions" for how to build this message.

 

The documentation for the tSOAP component can be found here: https://help.talend.com/r/en-US/7.3/soap/tsoap

 

What you need to do is to get the schema of the XML from your WSDL. This can be done like this.....

https://help.talend.com/r/en-US/7.3/studio-user-guide-data-services-platform/exporting-service-for-deployment

 

SOAP services are quite tricky to get the hang of. You will need to make sure that you have the correct endpoint, the correct SOAP Action, the correct version of SOAP selected and the correct XML schema. The schema for your Action will be generated if you follow the URL above. You can then use that with a tXMLMap component to build the data into it dynamically.

jimluugane
Contributor
Contributor
Author

Sure, thanks for the answer, I raised it wrong, but I have already found the answer by consulting the documentation. Thanks for answering