<?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 job producing errors in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215535#M11903</link>
    <description>Here is what I have so far: 
&lt;BR /&gt;tMDMTriggerInput ---main--&amp;gt;tXMLMap----output(Main)----&amp;gt;tFlowToIterate-----iterate---&amp;gt;tFixedFlowInput. 
&lt;BR /&gt;In the tXMLMap I have a MDMRecieve table "locationReceive" in the main:row1 on the left hand side with the Update report and the item set to "location" by right clicking on MDM_message and selecting "import from repository" and selecting the "locationReceive" from my Talend MDM repository. Then on the output created as a result of connecting to tFlowToIterate, I mapped all of the columns from the "location" to the "locations(loop)" body on the right hand side (output). &amp;nbsp;( it is really a shame that I can't load any screen shots here!). 
&lt;BR /&gt;I have the tFlowToIterate connected on iterate to tFixedFlowInput. &amp;nbsp;I did not make any edits to tFlowToIterate, I could not see what I need to do. 
&lt;BR /&gt;Then in tFixedFlowInput, I clicked on "edit Schema" using the built in option and created all of the columns for location. 
&lt;BR /&gt;Then under mode, I picked "Use Single Table" 
&lt;BR /&gt;Then for each column when I hit "CTRL -Space" I see a list of variables, but none of them look like global variables that you mention above. Something is still missing here, since none of the global variables are visible here. I see tMDMTrigger and tFlowToIterate related variables.&amp;nbsp; 
&lt;BR /&gt;Any help with more details &amp;nbsp;will be appreciated.</description>
    <pubDate>Mon, 09 Jan 2017 16:40:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-09T16:40:42Z</dc:date>
    <item>
      <title>tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215531#M11899</link>
      <description>I have a job that is using tRESTClient to post some data to a web service. I am able to use tREST&amp;nbsp;to do a GET command and confirm that the connection to the webservice works fine. When I try to compile another job using tRESTClient as I need to post some data from &amp;nbsp;a tMDMTriggerInput component I get the error below. Files with screen shots of the job and the various component details are attached below. Any help is appreciated. 
&lt;BR /&gt;org.talend.commons.exception.PersistenceException: org.talend.designer.runprocess.ProcessorException: Job compile errors&amp;nbsp; 
&lt;BR /&gt;At least job "location_update_rest" has a compile errors, please fix and export again. 
&lt;BR /&gt;Error Line: 1618 
&lt;BR /&gt;Detail Message: long_name cannot be resolved or is not a field 
&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCsz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152739i0A27B262C29D0F09/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCsz.png" alt="0683p000009MCsz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 05 Jan 2017 22:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215531#M11899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-05T22:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215532#M11900</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;tMDMTriggerInput returns a Document, you are not able to access its element on tRestClient directly, try to redesign the job like this: 
&lt;BR /&gt;tMDMTriggertInput--main--tXMLMap1-out1--tFlowToIterate--tfixedFlowInput--main--tXMLMap2--tRestClient--main--&amp;gt; 
&lt;BR /&gt;on tFixedFlowInput and tRestClient, you are able to access element value like: 
&lt;BR /&gt;(String)globalMap.get("out1.columnName") 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 06 Jan 2017 08:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215532#M11900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-06T08:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215533#M11901</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;tMDMTriggerInput returns a Document, you are not able to access its element on tRestClient directly, try to redesign the job like this:&lt;BR /&gt;tMDMTriggertInput--main--tXMLMap1-out1--tFlowToIterate--tfixedFlowInput--main--tXMLMap2--tRestClient--main--&amp;gt;&lt;BR /&gt;on tFixedFlowInput and tRestClient, you are able to access element value like:&lt;BR /&gt;(String)globalMap.get("out1.columnName")&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thank you for the quick response! 
&lt;BR /&gt;Would it be possible to share an example of how these components should be set up to work?&amp;nbsp; 
&lt;BR /&gt;For example, tFixedFlowInput what settings should be used and how to map the columns through the workflow? 
&lt;BR /&gt;I am not able to find any relevant information in the documentation.</description>
      <pubDate>Fri, 06 Jan 2017 16:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215533#M11901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-06T16:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215534#M11902</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;tXMLMap1 will extract the data from the incoming document, tFixedFlowInput will generate a input flow contains the data that extracted on tXMLMap1, for example, define a column called ID, and its value as:
&lt;BR /&gt;//for int/Integer type:
&lt;BR /&gt;(Integer)globalMap.get("out1.ID") &amp;nbsp;&amp;nbsp;
&lt;BR /&gt;//for String type:
&lt;BR /&gt;(String)globalMap.get("out1.ID") &amp;nbsp;&amp;nbsp;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 09 Jan 2017 03:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215534#M11902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-09T03:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215535#M11903</link>
      <description>Here is what I have so far: 
&lt;BR /&gt;tMDMTriggerInput ---main--&amp;gt;tXMLMap----output(Main)----&amp;gt;tFlowToIterate-----iterate---&amp;gt;tFixedFlowInput. 
&lt;BR /&gt;In the tXMLMap I have a MDMRecieve table "locationReceive" in the main:row1 on the left hand side with the Update report and the item set to "location" by right clicking on MDM_message and selecting "import from repository" and selecting the "locationReceive" from my Talend MDM repository. Then on the output created as a result of connecting to tFlowToIterate, I mapped all of the columns from the "location" to the "locations(loop)" body on the right hand side (output). &amp;nbsp;( it is really a shame that I can't load any screen shots here!). 
&lt;BR /&gt;I have the tFlowToIterate connected on iterate to tFixedFlowInput. &amp;nbsp;I did not make any edits to tFlowToIterate, I could not see what I need to do. 
&lt;BR /&gt;Then in tFixedFlowInput, I clicked on "edit Schema" using the built in option and created all of the columns for location. 
&lt;BR /&gt;Then under mode, I picked "Use Single Table" 
&lt;BR /&gt;Then for each column when I hit "CTRL -Space" I see a list of variables, but none of them look like global variables that you mention above. Something is still missing here, since none of the global variables are visible here. I see tMDMTrigger and tFlowToIterate related variables.&amp;nbsp; 
&lt;BR /&gt;Any help with more details &amp;nbsp;will be appreciated.</description>
      <pubDate>Mon, 09 Jan 2017 16:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215535#M11903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-09T16:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215536#M11904</link>
      <description>Hi &amp;nbsp;
&lt;BR /&gt;The global variables defined by tFlowToIterate are not available in the pop-up windows, you need to input them manually. Define the columns which you need to pass them to tXMLMap2 on tFixedFlowInput, and set the values like:
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;//for int/Integer type:&lt;BR /&gt;(Integer)globalMap.get("out1.ID") &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;//for String type:&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;(String)globalMap.get("out1.ID") &amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 10 Jan 2017 05:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215536#M11904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T05:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215537#M11905</link>
      <description>It gives compile errors. This is not helping. I have uploaded to files here using the upload button above to show screen shots.&lt;BR /&gt;I could not attach anything below, as the functionality appears broken. Let me know if you cannot see the two files.</description>
      <pubDate>Tue, 10 Jan 2017 15:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215537#M11905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T15:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient job producing errors</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215538#M11906</link>
      <description>Hello 
&lt;BR /&gt;On tXMLMap1, you should extract the fields which will be required later, rather than outputting a Document.&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCt4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135523i6B358DE687718E2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCt4.png" alt="0683p000009MCt4.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Rebuild the Document on tXMLMap2. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 16 Jan 2017 03:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-job-producing-errors/m-p/2215538#M11906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-16T03:46:03Z</dc:date>
    </item>
  </channel>
</rss>

