Hi, I need to retrieve data from a web-service. With wget it works as shown here: wget --post-file=in.xml --output-document=out.xml "http://<ip>/mi/xmlInterfaceRequest.do?user=<user>pwd=<pwd>" (the out.xml can be processed subsequently with a tFileInputXML). How can I carry out this request with TOS? I checked tFileFetch, tXMLRPCInput and tSOAP but none of them seems to be useful. Can anybody give a hint? Thanks Guenter
The fallback approach is - a tSystem-call with a pure wget-call and a subsequent tFileInputXML or - a script outside of TOS which starts the TOS job afterwards. But I'd really prefer an integrated TOS-solution! I just reviewed tFileFetch and tXMLRPCInput, but there is no way to post a file to the web-service.
Hi, We asked Talend following the recent webinar on tFileFetch but did not get any answers. I just asked them to post the answer here directly. So far, we will be using httpclient to make our calls programmatically. Best Regards, Daniel
Hi mhirt, Thanks for the suggestion. However, this is for a RESTful web service (kind of XML over HTTP), without SOAP envelopes. I think this is not possible yet on tFileFetch, but I guess it could be a good enhancement. Regards, Daniel