<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Component tHttpRequest hangs when the JSON response is too big in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326787#M96241</link>
    <description>&lt;P&gt;Problem has been solved by the data provider himself by reducing the response size.&lt;/P&gt;&lt;P&gt;Thank's guys.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 09:12:38 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2019-07-11T09:12:38Z</dc:date>
    <item>
      <title>Component tHttpRequest hangs when the JSON response is too big</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326784#M96238</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;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).&lt;/P&gt; 
&lt;P&gt;Anyway, sometimes the JSON response size is "normal" and everything works fine but sometimes, depending on the company size, the response&amp;nbsp;is really huge: for example, 26 Mb Mo with a formatted JSON composed of &lt;SPAN&gt;565,750 lines!&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In this case,&amp;nbsp;tHttpRequest never ends.&lt;/P&gt; 
&lt;P&gt;I've also tried with tRESTClient with the same problem.&lt;/P&gt; 
&lt;P&gt;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.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any idea of how I can deal with such a huge JSON response?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326784#M96238</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2024-11-16T05:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Component tHttpRequest hangs when the JSON response is too big</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326785#M96239</link>
      <description>&lt;P&gt;Did you try streaming the HTTP response?&amp;nbsp; If you write it in Java you can stream it so the response is not read into memory fully.&amp;nbsp; That might be your issue, not sure.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/11710683/stream-a-http-response-in-java" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/11710683/stream-a-http-response-in-java&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 23:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326785#M96239</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-07-09T23:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Component tHttpRequest hangs when the JSON response is too big</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326786#M96240</link>
      <description>The idea is to use components available within TOS. However if they all have this kind of limitations, I'll do it by myself using a piece of Java code.</description>
      <pubDate>Wed, 10 Jul 2019 07:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326786#M96240</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-07-10T07:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Component tHttpRequest hangs when the JSON response is too big</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326787#M96241</link>
      <description>&lt;P&gt;Problem has been solved by the data provider himself by reducing the response size.&lt;/P&gt;&lt;P&gt;Thank's guys.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 09:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Component-tHttpRequest-hangs-when-the-JSON-response-is-too-big/m-p/2326787#M96241</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-07-11T09:12:38Z</dc:date>
    </item>
  </channel>
</rss>

