<?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 Issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Issue/m-p/2204920#M5603</link>
    <description>It seems you don't extract the data from the source file with tFileInputJson, maybe you don't configure the component settings correctly. For testing, you can use a tlogrow after tFileInputJson to print the data on the console to check if the data is read correctly.</description>
    <pubDate>Sat, 30 Jan 2016 13:27:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-30T13:27:21Z</dc:date>
    <item>
      <title>tRESTclient Issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Issue/m-p/2204919#M5602</link>
      <description>I am having a difficult time with configuring a job that takes a JSON formatted file and posts it to a RESTful service.&amp;nbsp; I have Talend Open Studio 6.1.1.20151214_1327.&amp;nbsp; The components are setup as tFileInputJSON &lt;FONT face="Wingdings"&gt;à&lt;/FONT&gt; tXMLMap &lt;FONT face="Wingdings"&gt;à&lt;/FONT&gt; tRESTClient.&amp;nbsp; I either get an error 204 (no data) or an error 400 (bad data) with the variety of configurations that I use. &amp;nbsp;A lot of the forums focus on XML payload but not so much with JSON. &amp;nbsp;When I use tFixedFlowInput and then manually put in some JSON data and then point to tRESTClient, it posts with no issues.&amp;nbsp; I can’t use that component.&lt;BR /&gt;I have seen many posts about different tRESTClient issues but none of them have proved fruitful. &amp;nbsp;My JSON data is pretty simple.&lt;BR /&gt;{element1row1:value1row1,element2row1:value2row1,.....&lt;BR /&gt;{element1row2:value1row2,element1row2:value1row2.....&lt;BR /&gt;no complex looping.</description>
      <pubDate>Thu, 28 Jan 2016 15:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Issue/m-p/2204919#M5602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-28T15:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTclient Issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Issue/m-p/2204920#M5603</link>
      <description>It seems you don't extract the data from the source file with tFileInputJson, maybe you don't configure the component settings correctly. For testing, you can use a tlogrow after tFileInputJson to print the data on the console to check if the data is read correctly.</description>
      <pubDate>Sat, 30 Jan 2016 13:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Issue/m-p/2204920#M5603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-30T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTclient Issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Issue/m-p/2204921#M5604</link>
      <description>Shong, 
&lt;BR /&gt;After enabling some more verbose logging, I noticed why it is not working. &amp;nbsp;When I use tFixFlowInput --&amp;gt; tRESTClient --&amp;gt; tLogRow, I am able to post. &amp;nbsp;The post is working because the payload has a bracket as the leading and trailing characters. &amp;nbsp;Below is what prints out from the log. &amp;nbsp;I confirmed that my data is appearing in my DB. 
&lt;BR /&gt;Payload: 
&lt;BR /&gt;However, when I use tFileInputJSON --&amp;gt; tXMLMap --&amp;gt; tRESTClient --&amp;gt; tLogRow OR tWriteJSONField &amp;nbsp;--&amp;gt; tRESTClient --&amp;gt; tLogRow, the payload ends up without the brackets like below and I get an error 400 (bad data). 
&lt;BR /&gt;Payload: {"number":39980,"partNumber":"020116-ESY1","partRev":"B","orgCode":21,"orgName":"Scomo","qtyValues":"1500,1000,700","dueDate":"11-05-2016","completedDate":"","deliveryDate":"12-07-2020","expedite":true,"sourceRequired":false,"longTermAgreement":true}. 
&lt;BR /&gt;I can't seem to get it to include the brackets. &amp;nbsp;They do exist in my source data file but they get stripped out for some reason. &amp;nbsp;I need to use FileInput or tWriteJSON for my project so how do you put leading/trailing brackets into the payload?</description>
      <pubDate>Wed, 03 Feb 2016 13:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTclient-Issue/m-p/2204921#M5604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-03T13:41:20Z</dc:date>
    </item>
  </channel>
</rss>

