<?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: Add authentication/authorization in a REST request in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347428#M114686</link>
    <description>Same problem for me, using header token also, any resolution??</description>
    <pubDate>Sat, 31 Dec 2016 20:41:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-31T20:41:31Z</dc:date>
    <item>
      <title>Add authentication/authorization in a REST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347423#M114681</link>
      <description>Hi, 
&lt;BR /&gt;Can anybody let me know how I can add authentication parameters (username/password/domain) to a REST request? 
&lt;BR /&gt;I want to get data using a REST request. If I use the REST URL in Chrome, it works correctly showing me the correct response. But when the same URL is given in a tREST component then I get the following exception: 
&lt;BR /&gt; 
&lt;FONT color="#ff3333"&gt;Exception in component tREST_1&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff3333"&gt;com.sun.jersey.api.client.ClientHandlerException: java.net.SocketException: Software caused connection abort: recv failed&lt;/FONT&gt;</description>
      <pubDate>Mon, 30 May 2016 13:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347423#M114681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-30T13:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add authentication/authorization in a REST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347424#M114682</link>
      <description>Hi,&lt;BR /&gt;Have you tried to use tRestClient component to see if it works?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 31 May 2016 07:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347424#M114682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-31T07:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add authentication/authorization in a REST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347425#M114683</link>
      <description>I had a look at the tRESTClient in Help documentation. But there is nothing in it regarding how to add authentication/authorization details. Is there a link regarding the same?</description>
      <pubDate>Tue, 31 May 2016 08:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347425#M114683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-31T08:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add authentication/authorization in a REST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347426#M114684</link>
      <description>Sorry, my shortsightedness did not let me see the authorization option.&lt;BR /&gt;I added the authorization details in the tRESTClient component in the job and executed the job.&lt;BR /&gt;But it is giving me the following exception:&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;Exception in component tRESTClient_1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;javax.ws.rs.RedirectionException: HTTP 302 Found&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at java.lang.reflect.Constructor.newInstance(Unknown Source)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:504)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:865)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:428)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at test_project.test_rest_0_1.Test_REST.tRESTClient_1Process(Test_REST.java:714)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#ff3333"&gt;test_project&lt;/FONT&gt;&lt;FONT color="#ff3333"&gt;.test_rest_0_1.Test_REST.runJobInTOS(Test_REST.java:1111)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff3333"&gt;	at&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#ff3333"&gt;test_project&lt;/FONT&gt;&lt;FONT color="#ff3333"&gt;.test_rest_0_1.Test_REST.main(Test_REST.java:968)&lt;/FONT&gt;&lt;BR /&gt;If I give the same URL that I have provided in the job in a web browser, it works fine. So any ideas why I am getting HTTP 302 status code?</description>
      <pubDate>Tue, 31 May 2016 11:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347426#M114684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-31T11:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add authentication/authorization in a REST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347427#M114685</link>
      <description>Hi, 
&lt;BR /&gt;You have find an solution for you issue ? i'm interesting if you have the answer 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 31 Oct 2016 08:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347427#M114685</guid>
      <dc:creator>CEB1</dc:creator>
      <dc:date>2016-10-31T08:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add authentication/authorization in a REST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347428#M114686</link>
      <description>Same problem for me, using header token also, any resolution??</description>
      <pubDate>Sat, 31 Dec 2016 20:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347428#M114686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-31T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add authentication/authorization in a REST request</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347429#M114687</link>
      <description>&lt;P&gt;I've encountered a similar issue with tRestClient in that it throws an exception when for HTTP Response code 303&lt;/P&gt;&lt;P&gt;For HTTP Response code 200 or 202, the tRestClient component works.&amp;nbsp; However it does not appear to handle HTTP Response code 303.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 00:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-authentication-authorization-in-a-REST-request/m-p/2347429#M114687</guid>
      <dc:creator>akelly</dc:creator>
      <dc:date>2018-05-09T00:28:58Z</dc:date>
    </item>
  </channel>
</rss>

