<?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: tRestClient GET in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352884#M119185</link>
    <description>Uncheck the DOM which I mentioned, it doesnt convert, it will give you the response as a string.&lt;BR /&gt;Next step is to test for this kind of error message.&lt;BR /&gt;Also cHeck with your DatabaseAdmin and maybe there's a Oracle setting which make it possible to return a xml reponse in stead of just the error string... (the error string is in XML format)</description>
    <pubDate>Wed, 30 May 2018 14:52:20 GMT</pubDate>
    <dc:creator>Jesperrekuh</dc:creator>
    <dc:date>2018-05-30T14:52:20Z</dc:date>
    <item>
      <title>tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352876#M119177</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I need some help with the use of t_rest_client Compionent.&lt;BR /&gt;&lt;BR /&gt;I have in my sub_job a restfull Call (GET) that extract some records from my oracle db and then these records are sent to another db. I'm receiving an error when the GET retrieve an empty data set.&lt;BR /&gt;&lt;BR /&gt;How can I handle this issue?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 12:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352876#M119177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-29T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352877#M119178</link>
      <description>You should have an statusCode in the response.
&lt;BR /&gt;200 = ok
&lt;BR /&gt;300 / 301 = redirects
&lt;BR /&gt;400 = error .(or other numbers)
&lt;BR /&gt;Check the body which could have a json or xml with &amp;lt;success&amp;gt; or something similar.
&lt;BR /&gt;Last check the response headers itelf (but that should be allready in statusCode).</description>
      <pubDate>Wed, 30 May 2018 01:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352877#M119178</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-05-30T01:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352878#M119179</link>
      <description>Can you tell more about this error?
&lt;BR /&gt;It's probably to null value in one of the tMap.
&lt;BR /&gt;</description>
      <pubDate>Wed, 30 May 2018 05:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352878#M119179</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-05-30T05:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352879#M119180</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMrOAAW"&gt;@Dijke&lt;/A&gt;,&lt;BR /&gt;I'm getting back a statusCode = 200, so it's like everything has gone well.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;, the issue is that my data set from which I'm trying to get the data is empty at the moment.&lt;BR /&gt;If I execute the same SELECT in SQL i get back an empty dataset.&amp;nbsp;But this is correct as the table from which I'm reading has no value.&lt;BR /&gt;&lt;BR /&gt;I'm trying to figure it out how to manage the fact that the origin dataset is empty and that the reply that I receive from the REST call (i can see the message in the command line when I execute the job) is &lt;FONT size="2"&gt;&lt;STRONG&gt;"&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN class="js-issue-title"&gt;Trying to write END_DOCUMENT when document has no root (ie. trying to output empty document)."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 08:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352879#M119180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T08:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352880#M119181</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/0053p000007LMZQAA4"&gt;@Margaz&lt;/A&gt;, the call is handled well status 200, except the server response cant return data, next the XML Doc parser cant process it which result in this error.
&lt;BR /&gt;On the advance tab there's a checkbox : Convert response to DOM Document.
&lt;BR /&gt;Use the String in stead of the body col and parse it later on to DOM.</description>
      <pubDate>Wed, 30 May 2018 12:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352880#M119181</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-05-30T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352881#M119182</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMrOAAW"&gt;@Dijke&lt;/A&gt;&amp;nbsp;I'm a newby.&lt;BR /&gt;&lt;BR /&gt;Could you explain it in a simpler way?&lt;BR /&gt;&lt;BR /&gt;Thank you veru much for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 14:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352881#M119182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T14:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352882#M119183</link>
      <description>&lt;P&gt;tRESTClient component, go the advanced settings of this component.&lt;BR /&gt;There you will see a checbox : Convert response to DOM Document.&lt;BR /&gt;The response you receive from your server is processed by the tRESTClient component as DOM (XML) . It expects a response which is correctly formatted XML.&lt;BR /&gt;The server however send malformed XML because there's no data to return.&lt;BR /&gt;Try it with a table with data and see if it works... to be 100% sure and to isolate the problem.&lt;BR /&gt;Got it?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lt3u"&gt;checkbox.jpg&lt;/A&gt;</description>
      <pubDate>Wed, 30 May 2018 14:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352882#M119183</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-05-30T14:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352883#M119184</link>
      <description>&lt;P&gt;Ok,&amp;nbsp;&lt;BR /&gt;now I get it. I have already tried to call the tRestClient (GET) that extract from the same table wiht data inside and this works. The problem is that this table is going to stay empty for some time, but during this period I need the job to run correctly also if the source table is empty.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For now I solved partially the issue inserting a dummy record inside my table, but it would be nice to understand how to manage this call also with an empty source table....&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 14:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352883#M119184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient GET</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352884#M119185</link>
      <description>Uncheck the DOM which I mentioned, it doesnt convert, it will give you the response as a string.&lt;BR /&gt;Next step is to test for this kind of error message.&lt;BR /&gt;Also cHeck with your DatabaseAdmin and maybe there's a Oracle setting which make it possible to return a xml reponse in stead of just the error string... (the error string is in XML format)</description>
      <pubDate>Wed, 30 May 2018 14:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-GET/m-p/2352884#M119185</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-05-30T14:52:20Z</dc:date>
    </item>
  </channel>
</rss>

