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

http post

I need to have a job to post an xml file to a url. Then get the xml http response back.
Does anybody know which component can do this job? If you could provide an example, that will be great.
Thanks.

Labels (3)
7 Replies
_AnonymousUser
Specialist III
Specialist III

The component tFileFetch can upload files and save the response into another file.
Under Basic Settings:
Set your destination directory and file name.
Check "POST method".
Under Advanced Settings:
Check "Upload file" and set the POST-parameter "Name" and "File" name here.

Anonymous
Not applicable
Author

Thanks for the reply.
I used tFileFetch.
I put the the destination url into URI field. (This is the URL I want to post my file to.)
And then I check post method. I leave the parameters blank.
And in the advanced settings:
I checked Upload file and put file "name" is the real file name, "file" is the full path with the file name.
When I ran it, I got java.lang.Exception: Method failed: HTTP/1.1 500 Internal Server Error
I think I did something wrong. Can you help me to find out where it is?
Thanks,.

Anonymous
Not applicable
Author

Hi jijli,
Here is a component reference about tFileList with a Scenario, hope it will point you a light.
In addition, could you uploading your screenshot of tFileList component setting into forum so that we can address your issue asap.
Best regards
Sabrina

Anonymous
Not applicable
Author

I downloaded the new talend open studio 5.2.1. Then use component tHttpRequest. It works fine now.
The old version didn't have response.

Thanks anyways.

Anonymous
Not applicable
Author

Hi jijli,
Which version do you used before your download the new talend open studio 5.2.1.
Best regards
Sabrina

Anonymous
Not applicable
Author

I used 5.0.0 M2.

Anonymous
Not applicable
Author

Hi,
Perhaps there is a issue in 5.0.0 M2 of tHttpRequest, I will make a research on it.
Best regards
Sabrina