<?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: tRESTResponse returning 404 when no records found in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTResponse-returning-404-when-no-records-found/m-p/2292908#M65934</link>
    <description>Yes it is. Please keep in mind a RESTful web service delivers a document representation of an object and if you try to read an none existing object, this is the right answer of the service for this request.&lt;BR /&gt;You need to know which object exists. Please try to get a list of all objects and iterate through this list.</description>
    <pubDate>Thu, 18 Apr 2013 16:48:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-18T16:48:17Z</dc:date>
    <item>
      <title>tRESTResponse returning 404 when no records found</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTResponse-returning-404-when-no-records-found/m-p/2292907#M65933</link>
      <description>I have tried a number of things to handle this but none have worked. 
&lt;BR /&gt;In the attached example I simply have a tXMLMap that pushes the response body and code to the tRESTResponse. 
&lt;BR /&gt;If a record is present it works and returns the correct response and code. 
&lt;BR /&gt;If no records it always returns a 404 not found. 
&lt;BR /&gt;Is this how it is supposed to behave? 
&lt;BR /&gt;Mike 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEOX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157387i0AC9E226408BBA49/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEOX.png" alt="0683p000009MEOX.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME9J.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151608iE46EEE11E45B32DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME9J.png" alt="0683p000009ME9J.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 18 Apr 2013 16:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTResponse-returning-404-when-no-records-found/m-p/2292907#M65933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-18T16:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTResponse returning 404 when no records found</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTResponse-returning-404-when-no-records-found/m-p/2292908#M65934</link>
      <description>Yes it is. Please keep in mind a RESTful web service delivers a document representation of an object and if you try to read an none existing object, this is the right answer of the service for this request.&lt;BR /&gt;You need to know which object exists. Please try to get a list of all objects and iterate through this list.</description>
      <pubDate>Thu, 18 Apr 2013 16:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTResponse-returning-404-when-no-records-found/m-p/2292908#M65934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-18T16:48:17Z</dc:date>
    </item>
  </channel>
</rss>

