<?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: Pushing the xml file to Trest client in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pushing-the-xml-file-to-Trest-client/m-p/2454059#M140666</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes when trying to consume a web service from a java client, you get a 403 forbidden HTTP response code, even though the service is accessible normally from web browsers.&lt;/P&gt;
&lt;P&gt;The HTTP 403 forbidden error doesn’t necessarily occur due to missing authentication attributes, some web services would only authorize web browsers or some specific clients to access them, while they deny any requests coming from third-party clients. For more information about Http 403 forbidden error, read this &lt;A href="https://www.javacodegeeks.com/2018/05/how-to-handle-http-403-forbidden-error-in-java.html" target="_self"&gt;page&lt;/A&gt;. So, make sure you have access to API from third-party clients, such as Postman, Talend Studio.&lt;/P&gt;
&lt;P&gt;About the job design, can you share a screenshot to show us which components are you using in the job? Which format of XML file you pass to tRestClient? String or Document?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 07:21:36 GMT</pubDate>
    <dc:creator>Shicong_Hong</dc:creator>
    <dc:date>2024-05-20T07:21:36Z</dc:date>
    <item>
      <title>Pushing the xml file to Trest client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pushing-the-xml-file-to-Trest-client/m-p/2453729#M140659</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a scenario where i am pushing XML output something like this:&lt;/P&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;integration-history-record&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="opened"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;contact-alert-type/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;document-id&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/document-id&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;document-type&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/document-type&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;document-status&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/document-status&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;status&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/status&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV id="folder1" class="folder"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;responses&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="opened"&gt;
&lt;DIV id="folder2" class="folder"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;response&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="opened"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;response-code&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;400&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/response-code&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;response-message&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;availability control:&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/response-message&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/response&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/responses&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="folder3" class="folder"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;integration&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="opened"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;inbound.api.po&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/integration&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="folder4" class="folder"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;integration-run&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="opened"&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;1325&lt;/SPAN&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/id&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/integration-run&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;/integration-history-record&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;we are sending this information xml to coupa&amp;nbsp;integration-history-record API, but i am getting&amp;nbsp;Exception in component tRESTClient_3 (Coupa_API_PO_to_oneDWH_SK_Integration_run)&lt;BR /&gt;javax.ws.rs.WebApplicationException: HTTP 403 Forbidden error.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&lt;SPAN class="html-tag"&gt;can yoiu tell me how to design this job or resolve this issue?&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 May 2024 14:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pushing-the-xml-file-to-Trest-client/m-p/2453729#M140659</guid>
      <dc:creator>sushantkapoor19</dc:creator>
      <dc:date>2024-05-17T14:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pushing the xml file to Trest client</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pushing-the-xml-file-to-Trest-client/m-p/2454059#M140666</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes when trying to consume a web service from a java client, you get a 403 forbidden HTTP response code, even though the service is accessible normally from web browsers.&lt;/P&gt;
&lt;P&gt;The HTTP 403 forbidden error doesn’t necessarily occur due to missing authentication attributes, some web services would only authorize web browsers or some specific clients to access them, while they deny any requests coming from third-party clients. For more information about Http 403 forbidden error, read this &lt;A href="https://www.javacodegeeks.com/2018/05/how-to-handle-http-403-forbidden-error-in-java.html" target="_self"&gt;page&lt;/A&gt;. So, make sure you have access to API from third-party clients, such as Postman, Talend Studio.&lt;/P&gt;
&lt;P&gt;About the job design, can you share a screenshot to show us which components are you using in the job? Which format of XML file you pass to tRestClient? String or Document?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 07:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pushing-the-xml-file-to-Trest-client/m-p/2454059#M140666</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-05-20T07:21:36Z</dc:date>
    </item>
  </channel>
</rss>

