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

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

How to expose MongoDB Data using tRestRequest?

Hello,
I am new to Talend ESB 6.2.1. I need to expose the MongoDB data using tRestRequest in JSON over the Response.
I was able to achieve to expose the PostgreSQL Data, but I am unable to do the same for MongoDB. Even I am not able to connect the ttoIterate and tMongodbinput.
I am using tRestRequest, tToIterate, tMongoDBConnection, tMongoDBInput, tXmlMap and tRestResponse.
Labels (5)
1 Reply
Anonymous
Not applicable
Author

Hi,


It seems that the work flow should be: 1)read file --> 2) get needed data---> 3) convert data to Json ---> 4) make a REST call 


Have you tried to design your job like:Input--> tXMLMAP(convert data to Jso)--> tRestClient(post) component calling a webservice to PUT data in json format to see if it works?


Please take a look at component reference about:TalendHelpCenter:tRESTClient

Best regards
Sabrina