<?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: Taking input from Jason file and Posting to Rest API using tRestCLient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271004#M48736</link>
    <description>did You try open this page by Your self? 
&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;&amp;nbsp;it not hard - just reopen! 
&lt;BR /&gt;sometime it miss file - press edit and add again, than Submit 
&lt;BR /&gt;This Your pictures: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136551i2EB6BC8A8A8B910C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLv.png" alt="0683p000009MCLv.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBvL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133323i576EF26012634B4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBvL.png" alt="0683p000009MBvL.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCM0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132067iC644DC152E287461/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCM0.png" alt="0683p000009MCM0.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCM5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147882i83DC81F50E8B60A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCM5.png" alt="0683p000009MCM5.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 17 Nov 2016 09:07:52 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2016-11-17T09:07:52Z</dc:date>
    <item>
      <title>Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271001#M48733</link>
      <description>Hi,
&lt;BR /&gt;I have created a job where i am reading the data from a Jason file and trying to send it to tRestClient using POST method. The Response also i should get in the Jason File. However when i try to run the job its throwing error as Unhandled exception type DocumentException.
&lt;BR /&gt;Attaching screenshots of the job and the error.
&lt;BR /&gt;Please suggest how to resolve this error and get the output file.
&lt;BR /&gt;Thanks in Advance,
&lt;BR /&gt;Arpita</description>
      <pubDate>Sat, 16 Nov 2024 10:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271001#M48733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271002#M48734</link>
      <description>please check screenshot - it missed</description>
      <pubDate>Thu, 17 Nov 2016 08:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271002#M48734</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-17T08:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271003#M48735</link>
      <description>Attaching the screenshots. Please let me know if its visible. I am able to view in myuploads. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/407461/Rest_Api.zip.zip" target="_blank"&gt;Rest_Api.zip.zip&lt;/A&gt;</description>
      <pubDate>Thu, 17 Nov 2016 09:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271003#M48735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T09:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271004#M48736</link>
      <description>did You try open this page by Your self? 
&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;&amp;nbsp;it not hard - just reopen! 
&lt;BR /&gt;sometime it miss file - press edit and add again, than Submit 
&lt;BR /&gt;This Your pictures: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCLv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136551i2EB6BC8A8A8B910C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCLv.png" alt="0683p000009MCLv.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBvL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133323i576EF26012634B4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBvL.png" alt="0683p000009MBvL.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCM0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132067iC644DC152E287461/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCM0.png" alt="0683p000009MCM0.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCM5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147882i83DC81F50E8B60A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCM5.png" alt="0683p000009MCM5.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 17 Nov 2016 09:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271004#M48736</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-17T09:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271005#M48737</link>
      <description>Attaching as zip format.&lt;BR /&gt;Rest_Api.zip_20161117-0118.zip</description>
      <pubDate>Thu, 17 Nov 2016 09:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271005#M48737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-17T09:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271006#M48738</link>
      <description>I think - You are use wrong component. tJSOONInput file - convert JSON to the flat structure&amp;nbsp; 
&lt;BR /&gt;but tRESTClient expect normally JSON as input, see some example how it work 
&lt;BR /&gt;Think You must or read json as single element with JSON structure, and name this column "body", or input between tInputJSONFile -&amp;gt; tWriteJSONField -&amp;gt; tRESTCleint 
&lt;BR /&gt;Depending from response You could use tExtractJSONFields 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCMA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148997iBFBD16343B0040B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCMA.png" alt="0683p000009MCMA.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCMF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134547iAF2C5861EC4A82CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCMF.png" alt="0683p000009MCMF.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 17 Nov 2016 09:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271006#M48738</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-17T09:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271007#M48739</link>
      <description>Hi,&lt;BR /&gt;Thanks for your input.&amp;nbsp;&lt;BR /&gt;i tried using tInputJSONFile -&amp;gt; tWriteJSONField and i am getting the output in the form of two separate fields as string.&lt;BR /&gt;but when i try to change it to document it is throwing error.&lt;BR /&gt;inside my jason file i have 2 fields, username and password and both must be passed inside the body content of the tRESTClient.&lt;BR /&gt;Please suggest how to implement it.</description>
      <pubDate>Fri, 18 Nov 2016 08:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271007#M48739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-18T08:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271008#M48740</link>
      <description>attach Your screenshot - as You can see from my - it work, so need to check how You prepare body</description>
      <pubDate>Fri, 18 Nov 2016 17:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271008#M48740</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-11-18T17:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Taking input from Jason file and Posting to Rest API using tRestCLient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271009#M48741</link>
      <description>Hi,&amp;nbsp; 
&lt;BR /&gt;Using tXMLMap i am able to pass the values into the body section of the tRestClient. 
&lt;BR /&gt;This is the first step where i am sending a POST request to get the authentication key. 
&lt;BR /&gt;In the second step, i am using a GET method and using the same authentication key recieved in the first step, however i am getting an error as&amp;nbsp; 
&lt;BR /&gt;: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {&amp;lt;GET - URL&amp;gt;}tRESTClient has thrown exception, unwinding now 
&lt;BR /&gt;org.apache.cxf.interceptor.Fault: Could not send Message. 
&lt;BR /&gt;at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) 
&lt;BR /&gt;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) 
&lt;BR /&gt;at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:635) 
&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1071) 
&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:878) 
&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:852) 
&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:410) 
&lt;BR /&gt;at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:594) 
&lt;BR /&gt;at og_surface_ib.energent_api_rest_test_0_1.Energent_API_REST_TEST.tFileInputRaw_1Process(Energent_API_REST_TEST.java:3443) 
&lt;BR /&gt;at og_surface_ib.energent_api_rest_test_0_1.Energent_API_REST_TEST.tFileInputJSON_1Process(Energent_API_REST_TEST.java:2253) 
&lt;BR /&gt;at og_surface_ib.energent_api_rest_test_0_1.Energent_API_REST_TEST.runJobInTOS(Energent_API_REST_TEST.java:3930) 
&lt;BR /&gt;at og_surface_ib.energent_api_rest_test_0_1.Energent_API_REST_TEST.main(Energent_API_REST_TEST.java:3787) 
&lt;BR /&gt;Caused by: javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking &amp;lt;GET URL with Authorization Key&amp;gt;: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
&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.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1347) 
&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1331) 
&lt;BR /&gt;at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) 
&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632) 
&lt;BR /&gt;at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) 
&lt;BR /&gt;... 11 more 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCMK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148569i9E1E6407D816D386/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCMK.png" alt="0683p000009MCMK.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Please advice how to resolve this issue. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Arpita</description>
      <pubDate>Mon, 28 Nov 2016 12:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Taking-input-from-Jason-file-and-Posting-to-Rest-API-using/m-p/2271009#M48741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-28T12:18:08Z</dc:date>
    </item>
  </channel>
</rss>

