<?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 Use a REST/JSON API from Talend ETL for the second time / HTTP 596 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334597#M103246</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;with the help of this community I succeed to call my first API&amp;nbsp;"&lt;A href="https://restcountries.eu/rest/v2/all" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://restcountries.eu/rest/v2/all&lt;/A&gt;" without any parameters.&lt;/P&gt; 
&lt;P&gt;I am now trying to call an API with parameters to provide ... and authorization from API owner&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On&amp;nbsp;&lt;A href="https://developer.airfranceklm.com/" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://developer.airfranceklm.com&lt;/A&gt;&amp;nbsp;I asked for a key :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;LE Open Data API: Default&lt;/P&gt; 
&lt;DIV class="key"&gt;
  Key: azertyuiopqsdfghjklmwxcv Application MyTalendTest Key: azertyuiopqsdfghjklmwxcvSecret: sdfghzerty Status: active Created: 2 seconds ago 
 &lt;P&gt;Then, I find API documentation on&amp;nbsp;&lt;A href="https://developer.airfranceklm.com/docs/opendata/offers/" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://developer.airfranceklm.com/docs/opendata/offers/&lt;/A&gt;&lt;/P&gt; 
 &lt;P&gt;see attached "step20.PNG"&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;then, I implement a tRESTclient with&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;URL&amp;nbsp; "&lt;A href="https://api.airfranceklm.com/opendata/offers/reference-data" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://api.airfranceklm.com/opendata/offers/reference-data&lt;/A&gt;"&lt;/P&gt; 
 &lt;P&gt;GET&lt;/P&gt; 
 &lt;P&gt;JSON&lt;/P&gt; 
 &lt;P&gt;see attached "step21.PNG"&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;I have an error message&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Exception in component tRESTClient_1 (Test_Service_API2)&lt;BR /&gt;javax.ws.rs.ServerErrorException: HTTP 596&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Unknown Source)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:544)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:904)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:431)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tRESTClient_1Process(Test_Service_API2.java:837)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tWarn_2Process(Test_Service_API2.java:3074)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tWarn_1Process(Test_Service_API2.java:2940)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.runJobInTOS(Test_Service_API2.java:3308)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.main(Test_Service_API2.java:3157)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;/DIV&gt;</description>
    <pubDate>Sun, 26 May 2019 15:20:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-26T15:20:24Z</dc:date>
    <item>
      <title>Use a REST/JSON API from Talend ETL for the second time / HTTP 596</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334597#M103246</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;with the help of this community I succeed to call my first API&amp;nbsp;"&lt;A href="https://restcountries.eu/rest/v2/all" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://restcountries.eu/rest/v2/all&lt;/A&gt;" without any parameters.&lt;/P&gt; 
&lt;P&gt;I am now trying to call an API with parameters to provide ... and authorization from API owner&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On&amp;nbsp;&lt;A href="https://developer.airfranceklm.com/" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://developer.airfranceklm.com&lt;/A&gt;&amp;nbsp;I asked for a key :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;LE Open Data API: Default&lt;/P&gt; 
&lt;DIV class="key"&gt;
  Key: azertyuiopqsdfghjklmwxcv Application MyTalendTest Key: azertyuiopqsdfghjklmwxcvSecret: sdfghzerty Status: active Created: 2 seconds ago 
 &lt;P&gt;Then, I find API documentation on&amp;nbsp;&lt;A href="https://developer.airfranceklm.com/docs/opendata/offers/" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://developer.airfranceklm.com/docs/opendata/offers/&lt;/A&gt;&lt;/P&gt; 
 &lt;P&gt;see attached "step20.PNG"&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;then, I implement a tRESTclient with&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;URL&amp;nbsp; "&lt;A href="https://api.airfranceklm.com/opendata/offers/reference-data" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://api.airfranceklm.com/opendata/offers/reference-data&lt;/A&gt;"&lt;/P&gt; 
 &lt;P&gt;GET&lt;/P&gt; 
 &lt;P&gt;JSON&lt;/P&gt; 
 &lt;P&gt;see attached "step21.PNG"&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;I have an error message&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Exception in component tRESTClient_1 (Test_Service_API2)&lt;BR /&gt;javax.ws.rs.ServerErrorException: HTTP 596&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Unknown Source)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:544)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:904)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:431)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tRESTClient_1Process(Test_Service_API2.java:837)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tWarn_2Process(Test_Service_API2.java:3074)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tWarn_1Process(Test_Service_API2.java:2940)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.runJobInTOS(Test_Service_API2.java:3308)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.main(Test_Service_API2.java:3157)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Sun, 26 May 2019 15:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334597#M103246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-26T15:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use a REST/JSON API from Talend ETL for the second time / HTTP 596</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334598#M103247</link>
      <description>&lt;P&gt;There is more information in&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://developer.airfranceklm.com/developer_boot_camp" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.airfranceklm.com/developer_boot_camp&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;but I do not understand how to manipulate all these parameters ...&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 15:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334598#M103247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-26T15:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use a REST/JSON API from Talend ETL for the second time / HTTP 596</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334599#M103248</link>
      <description>&lt;P&gt;I adjusted some parameters following&amp;nbsp;&lt;A href="https://developer.airfranceklm.com/io-docs" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.airfranceklm.com/io-docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;but I know have error HTTP 403&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exception in component tRESTClient_1 (Test_Service_API2)&lt;BR /&gt;javax.ws.rs.ForbiddenException: HTTP 403 Forbidden&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Unknown Source)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:544)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:904)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:431)&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tRESTClient_1Process(Test_Service_API2.java:837)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tWarn_2Process(Test_Service_API2.java:3074)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.tWarn_1Process(Test_Service_API2.java:2940)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.runJobInTOS(Test_Service_API2.java:3308)&lt;BR /&gt;at servair_rim.test_service_api2_0_1.Test_Service_API2.main(Test_Service_API2.java:3157)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 15:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334599#M103248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-26T15:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use a REST/JSON API from Talend ETL for the second time / HTTP 596</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334600#M103249</link>
      <description>&lt;P&gt;I found my error in the tREST ... most of API parameters have to be specified in the tab "Advanced Parameters" (header) and not in the first page "Simple Parameters" ...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2019 16:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-REST-JSON-API-from-Talend-ETL-for-the-second-time-HTTP-596/m-p/2334600#M103249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-26T16:40:43Z</dc:date>
    </item>
  </channel>
</rss>

