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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

get xml file via http-request (wget)

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
Labels (4)
9 Replies
Anonymous
Not applicable
Author

Really nobody with knowledge about this matter?
Anonymous
Not applicable
Author

I've been looking for a solution for this as well.
Hopefully someone can help us out!
Anonymous
Not applicable
Author

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

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

Hi,
Did you try the tSOAP component ?
HTH,
Anonymous
Not applicable
Author

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

Hi All,
The component you're looking forward is called the tSOAP (available from the version 4.1).
Best regards.
Anonymous
Not applicable
Author

Hi cantoine,
It looks like tSOAP is for SOAP web services. How to make it work for RESTful web services (simple XML over HTTP)
Thanks,
Daniel
Anonymous
Not applicable
Author

Yes, correctly. Pure XML in both input- and output-file (no SOAP envelopes et cetera).