<?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: [resolved] HELP: How do I get input row values to pass through REST Client in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353684#M119820</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Well, it gave me inspiration. I used a tJavaRow after the tRESTRequest to pop the requested ID into globalMap (although it concerns me as to whether that would be global to a second request run at exactly the same time). Then, after retrieving the XML from the data-owning system and structuring it, I added a tRowFilter to only pull out the id in question.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Great! Thanks for your feedback! 
&lt;BR /&gt;Shong</description>
    <pubDate>Thu, 24 Jul 2014 10:18:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-24T10:18:04Z</dc:date>
    <item>
      <title>[resolved] HELP: How do I get input row values to pass through REST Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353679#M119815</link>
      <description>Hi there. Simple question, I have a REST endpoint where I want part of the URL to be the unit id, and then pick that up to use as part of the "Loop XPATH query" in a tExtractXMLField component. Can anyone advise?</description>
      <pubDate>Tue, 22 Jul 2014 11:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353679#M119815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP: How do I get input row values to pass through REST Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353680#M119816</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Hi there. Simple question, I have a REST endpoint where I want part of the URL to be the unit id, and then pick that up to use as part of the "Loop XPATH query" in a tExtractXMLField component. Can anyone advise?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Okay, lets qualify this. I'm taking in an item ID from the REST request as a REST path variable. The job then uses a REST client to get the data (as XML/POX) to be queried (the source has only geographic and date filtering, none by id). This is passed onto a tExtractXMLField where the requested item ID is needed to XPath the relevant data out. As soon as the flow hits the REST client, with the id field name in the input and response schema, it doesn't pass through.&lt;BR /&gt;Sorry, I'm a newbie, only been playing with this for a week and a half and would appreciate some help as I'm trying to justify using Talend instead of writing individual .NET WCF handlers, on the basis it will allow simpler extensibility in future.</description>
      <pubDate>Tue, 22 Jul 2014 13:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353680#M119816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T13:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP: How do I get input row values to pass through REST Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353681#M119817</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;If I understand your request well, you need a tFlowToterate component to iterate item ID, so that it could be accessed on any other components. For example: 
&lt;BR /&gt;tMysqlInput--main--tFlowToterate-iterate--&amp;gt;tFixedFlowInput--main--tRestClient--main--tExtractXMLField--main--tLogRow 
&lt;BR /&gt;on tMysqlInput, read item ids from mysql table.&amp;nbsp; 
&lt;BR /&gt;on tFixedFlowInput, generate the current item id and pass it to tRestClient as input parameter. Define one column called item_id in the schema and then, in the single table, set the value of item_id column as (Integer)globalMap.get("item_id")&amp;nbsp; 
&lt;BR /&gt;on tExtractXMLField, set the loop xpath query as ""/bills/bill/"+(Integer)globaoMap.get("item_id") 
&lt;BR /&gt;It might not completely address your request, I hope it give you some hints. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 22 Jul 2014 15:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353681#M119817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T15:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP: How do I get input row values to pass through REST Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353682#M119818</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi&amp;nbsp;&lt;BR /&gt;If I understand your request well, you need a tFlowToterate component to iterate item ID, so that it could be accessed on any other components. For example:&lt;BR /&gt;tMysqlInput--main--tFlowToterate-iterate--&amp;gt;tFixedFlowInput--main--tRestClient--main--tExtractXMLField--main--tLogRow&lt;BR /&gt;on tMysqlInput, read item ids from mysql table.&amp;nbsp;&lt;BR /&gt;on tFixedFlowInput, generate the current item id and pass it to tRestClient as input parameter. Define one column called item_id in the schema and then, in the single table, set the value of item_id column as (Integer)globalMap.get("item_id")&amp;nbsp;&lt;BR /&gt;on tExtractXMLField, set the loop xpath query as ""/bills/bill/"+(Integer)globaoMap.get("item_id")&lt;BR /&gt;It might not completely address your request, I hope it give you some hints.&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I'll give it a go, but I don't think this addresses my problem. I have only 1 unique id coming in from the REST request that tExtractXMLField needs, but the tRESTClient that gets the XML to be queried seems to block that value getting through. My chain is: 
&lt;BR /&gt;tRESTRequest--main--tRESTClient--main--tExtractXMLField--main--tXMLMap--main--tRESTResponse</description>
      <pubDate>Wed, 23 Jul 2014 08:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353682#M119818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T08:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP: How do I get input row values to pass through REST Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353683#M119819</link>
      <description>Well, it gave me inspiration. I used a tJavaRow after the tRESTRequest to pop the requested ID into globalMap (although it concerns me as to whether that would be global to a second request run at exactly the same time). Then, after retrieving the XML from the data-owning system and structuring it, I added a tRowFilter to only pull out the id in question.</description>
      <pubDate>Wed, 23 Jul 2014 14:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353683#M119819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP: How do I get input row values to pass through REST Client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353684#M119820</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Well, it gave me inspiration. I used a tJavaRow after the tRESTRequest to pop the requested ID into globalMap (although it concerns me as to whether that would be global to a second request run at exactly the same time). Then, after retrieving the XML from the data-owning system and structuring it, I added a tRowFilter to only pull out the id in question.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Great! Thanks for your feedback! 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 24 Jul 2014 10:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-How-do-I-get-input-row-values-to-pass-through-REST/m-p/2353684#M119820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-24T10:18:04Z</dc:date>
    </item>
  </channel>
</rss>

