I've a service developed using TOS ESB 6.4.1 which must call an other service exposed by a data provider to get informations about some companies (I can't give more details).
Anyway, sometimes the JSON response size is "normal" and everything works fine but sometimes, depending on the company size, the response is really huge: for example, 26 Mb Mo with a formatted JSON composed of 565,750 lines!
In this case, tHttpRequest never ends.
I've also tried with tRESTClient with the same problem.
When I call this service using Postman everything works fine, so I can say the called service is not the problem, only the response size is the problem.
Any idea of how I can deal with such a huge JSON response?
Solved! Go to Solution.
Did you try streaming the HTTP response? If you write it in Java you can stream it so the response is not read into memory fully. That might be your issue, not sure.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Take a look at this technical overview video of Talend API Designer
Find out how to get started with APIs