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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to export zip/Csv file using web services in talend

Hi
I am using talend ESB open studio 5.3.0,right now I am exporting job as a webservice and this webservice is creating CSV file in a specific path but i am not able to send the Csv file data as a attachment
how to create a talend webservice job that will attach an output file for any desktop application.the moment the desktop application access the talend webservice it should suppose to get the output file
Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hi
The job is executed on the server side, and the file is created on the server. After calling the webservice and creating the file from any desktop access remote, you need to consider what kind of protocol to be used to access the server and download the file, http? SSH? SCP? FTP?
Shong
Anonymous
Not applicable
Author

Mr.Shong,
Thanks for your reply.I want to know how to create a webservice that will attach my output CSV file by using http/https protocal
with regards
Feroz
Anonymous
Not applicable
Author

I too have a similar requirement, can we achieve this using talend
Anonymous
Not applicable
Author

Hi,
It seems you are looking for Forum 32813: provide http file upload function.
Best regards
Sabrina
Anonymous
Not applicable
Author

This example talks about uploading a CSV file and processing it using a route, I want opposite of that, in the response I want to provide a CSV file as attachment. Basically client requests for a file using SOAP/REST/HTTP request and my service running on Talend should provide them the file as attachment using SOAP/REST/HTTP response.
Anonymous
Not applicable
Author

Hi,
You should be able to do this with SOAP and/or REST/HTTP. Just decide on a format for the request, and retrieve the file of choice. For SOAP (cCXF) you should be able to send the file back as an attachment using the attachment portion of the Camel Exchange. For REST (cHTTP) you should be able to set the file to the Exchange body and set the Content-Type to "text/csv" or whatever is appropriate.
http://camel.apache.org/cxf.html (search for attachment)
Best Regards,
Ben