<?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: Loop not working on REST service output in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314468#M85230</link>
    <description>&lt;P&gt;That is not a loop. That is a default configuration that Talend uses. The XML structure does not look like it supports loops properly.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2017 16:05:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-05T16:05:36Z</dc:date>
    <item>
      <title>Loop not working on REST service output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314465#M85227</link>
      <description>&lt;P&gt;Hi -&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to execute a REST client that returns looped row data. I want to input this data to a database.&lt;/P&gt; 
&lt;P&gt;However it seems that the tXML item is not looping the data element&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.png" style="width: 662px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvLQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137983i77B22010BF370733/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvLQ.png" alt="0683p000009LvLQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmxl.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139631i06AACC07D90557C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvAT.png" alt="0683p000009LvAT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314465#M85227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Loop not working on REST service output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314466#M85228</link>
      <description>&lt;P&gt;Your XML structure does not look like it has any legitimate XML loops&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314466#M85228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T15:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Loop not working on REST service output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314467#M85229</link>
      <description>&lt;P&gt;There is a loop on the main. should I do the same for the output?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314467#M85229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T15:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loop not working on REST service output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314468#M85230</link>
      <description>&lt;P&gt;That is not a loop. That is a default configuration that Talend uses. The XML structure does not look like it supports loops properly.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314468#M85230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T16:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Loop not working on REST service output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314469#M85231</link>
      <description>&lt;P&gt;That is not the default, I had to configure it to get the body message.&lt;/P&gt;&lt;P&gt;How would a loop example look, as my main states loop for the root element?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314469#M85231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T16:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loop not working on REST service output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314470#M85232</link>
      <description>&lt;P&gt;What I meant was this (circled) is a default Talend config......&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmxl.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvGl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130666i7DCF4A9BDA342EBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvGl.png" alt="0683p000009LvGl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In order to return multple rows you will need to put that "loop" config on an element which is the parent of a looping section.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, it doesn't look like your XML is looping. I would expect something like below from a looping xml....&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;root&amp;gt;
&amp;lt;cmdb_id&amp;gt;&amp;lt;/cmdb_id&amp;gt;
&amp;lt;status&amp;gt;&amp;lt;/status&amp;gt;
&amp;lt;datas&amp;gt;
&amp;lt;data&amp;gt;
&amp;lt;bytes_in&amp;gt;&amp;lt;/bytes_in&amp;gt;
&amp;lt;bytes_out&amp;gt;&amp;lt;/bytes_out&amp;gt;
&amp;lt;bytes_total&amp;gt;&amp;lt;/bytes_total&amp;gt;
&amp;lt;ip&amp;gt;&amp;lt;/ip&amp;gt;
&amp;lt;/data&amp;gt;
&amp;lt;/datas&amp;gt;
&amp;lt;/root&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;Look at the "datas" (sorry, a bad plural for data) element. It contains a complex type that is looping. A loop needs a container in good XML.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-not-working-on-REST-service-output/m-p/2314470#M85232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T17:08:58Z</dc:date>
    </item>
  </channel>
</rss>

