<?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 tRESTClient receives empty response in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221528#M15498</link>
    <description>Hi there, 
&lt;BR /&gt;We are also using Jira and we wanted to use the RestApi to get various data out of it. So I tried Talend for this. I'm using Talend Enterprise ESB 5.3 for this integration job. My current job looks like this: 
&lt;BR /&gt;tRESTClient_1-------------tExtractJSONFields_1-----------tLogRow_1 
&lt;BR /&gt;The Jira installation is only reachable via SSL so I use the truststore in the JVM arguments. I don't know if this information is relevant. 
&lt;BR /&gt;Because of this the URL is (for example) "&lt;A href="https://jira/" target="_blank"&gt;https://jira/&lt;/A&gt;", the relative path is "/rest/api/2/project", http method is "get" and the accept type is "JSON". Calling this URL in the browser works and I receive the specific JSOn response like this: 
&lt;BR /&gt; 
&lt;BR /&gt;While executing the talend job it seems that I just receive empty brackets: "[]" 
&lt;BR /&gt;I hope you can help me with that. If you need any further information just aks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; 
&lt;BR /&gt;Thanks in advance and best regards, 
&lt;BR /&gt;Dominic</description>
    <pubDate>Sat, 16 Nov 2024 11:47:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:47:08Z</dc:date>
    <item>
      <title>tRESTClient receives empty response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221528#M15498</link>
      <description>Hi there, 
&lt;BR /&gt;We are also using Jira and we wanted to use the RestApi to get various data out of it. So I tried Talend for this. I'm using Talend Enterprise ESB 5.3 for this integration job. My current job looks like this: 
&lt;BR /&gt;tRESTClient_1-------------tExtractJSONFields_1-----------tLogRow_1 
&lt;BR /&gt;The Jira installation is only reachable via SSL so I use the truststore in the JVM arguments. I don't know if this information is relevant. 
&lt;BR /&gt;Because of this the URL is (for example) "&lt;A href="https://jira/" target="_blank"&gt;https://jira/&lt;/A&gt;", the relative path is "/rest/api/2/project", http method is "get" and the accept type is "JSON". Calling this URL in the browser works and I receive the specific JSOn response like this: 
&lt;BR /&gt; 
&lt;BR /&gt;While executing the talend job it seems that I just receive empty brackets: "[]" 
&lt;BR /&gt;I hope you can help me with that. If you need any further information just aks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; 
&lt;BR /&gt;Thanks in advance and best regards, 
&lt;BR /&gt;Dominic</description>
      <pubDate>Sat, 16 Nov 2024 11:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221528#M15498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient receives empty response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221529#M15499</link>
      <description>There might be a wrong configuration on tExtractJSONFields_1, what's the result printed on the console if you link directly tRESTClient_1 to tLogRow? 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 09 Jan 2014 13:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221529#M15499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-09T13:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient receives empty response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221530#M15500</link>
      <description>Unfortunately only the 2 brackets with the pipe at the end "[]|"&lt;BR /&gt;Thanks for the fast reply</description>
      <pubDate>Thu, 09 Jan 2014 13:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221530#M15500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-09T13:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient receives empty response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221531#M15501</link>
      <description>I have still this issue... 
&lt;BR /&gt;What was very strange. That the talend esb doesn't use my current editing job. It's started another job wit tRest. So the tRest component received the 2 brackets. After I saw this I started the job with the tRestClient and it didn't work with the same keystore. It shows me now the following exception: java.io.IOException: IOException invoking https://jira/rest/api/2/project: HTTPS hostname wrong: should be &amp;lt;jira&amp;gt; 
&lt;BR /&gt;Why the behavior of handling SSL authentication differs between tRestClient and tRest? 
&lt;BR /&gt;Today we got the license for Talend ESB 5.4.1 I am using this now.</description>
      <pubDate>Fri, 10 Jan 2014 13:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221531#M15501</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-10T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient receives empty response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221532#M15502</link>
      <description>Hi 
&lt;BR /&gt;This is a known issue, the problem is that that a tag like "16x32" is not a valid XML tag, so JSON-to-XML auto-conversion does not work, I think you should read this sequence as String and then process it manually, 
&lt;BR /&gt;Most likely you will need to use JSONObject and JSONArray from JSON.org. For example, you may want to use tJava to refer to the JSON library; note Jettison 1.3.4 shipped with 5.4.1 has these classes in 'org.codehaus.jettison.json' package. Or may be a related JIRA Java package is available. 
&lt;BR /&gt;HTH, Sergey</description>
      <pubDate>Sun, 12 Jan 2014 18:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221532#M15502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-12T18:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient receives empty response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221533#M15503</link>
      <description>The problem lies within the API2 provided by Jira. This brackets are also not allowed in a well-formed JSON. While using another rest service with the API1 (e.g., https://jira/rest/greenhopper/1.0/rapidviews) the response is well-formed and can be used regularly in Talend. 
&lt;BR /&gt;So the problem wasn't in Talend. It was in Jira. 
&lt;BR /&gt;Now I use tRest--------tExtractJSONFields-------(anything else) to work with the data. 
&lt;BR /&gt;Thanks a lot and I hope someone learns from my mistakes.</description>
      <pubDate>Mon, 13 Jan 2014 13:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221533#M15503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T13:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient receives empty response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221534#M15504</link>
      <description>Hi, good news; 
&lt;BR /&gt;That said, I think quite a few JSON services offer a pure array representation, i.e,, the one with "", effectively the very first object is JSON array, as opposed to JSON object. 
&lt;BR /&gt;Are you sure JIRA API2 is broken ? 
&lt;BR /&gt;Cheers, Sergey</description>
      <pubDate>Mon, 13 Jan 2014 13:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-receives-empty-response/m-p/2221534#M15504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T13:48:22Z</dc:date>
    </item>
  </channel>
</rss>

