<?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 [resolved] How to use POST method of the tRESTRequest in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227556#M19127</link>
    <description>How can i use the post method of tRESTRequest to insert/update data in my database ? with GET method i can do it but when i switch the http verb of my method to post it dosent work and this is the eroor : 
&lt;BR /&gt; 
&lt;FONT color="#ff6633"&gt;: org.apache.cxf.jaxrs.utils.JAXRSUtils - No operation matching request path "/pays/modify/1/Ma/Ma" is found, Relative Path: /modify/1/Ma/Ma, HTTP Method: GET, ContentType: */*, Accept: text/html,application/xhtml+xml,image/webp,application/xml;q=0.9,*/*;q=0.8,. Please enable FINE/TRACE log level for more details.&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff6633"&gt;: org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper - javax.ws.rs.ClientErrorException&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff6633"&gt;at org.apache.cxf.jaxrs.utils.SpecExceptions.toHttpException(SpecExceptions.java:110)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Solutions ?????</description>
    <pubDate>Sat, 16 Nov 2024 11:14:32 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T11:14:32Z</dc:date>
    <item>
      <title>[resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227556#M19127</link>
      <description>How can i use the post method of tRESTRequest to insert/update data in my database ? with GET method i can do it but when i switch the http verb of my method to post it dosent work and this is the eroor : 
&lt;BR /&gt; 
&lt;FONT color="#ff6633"&gt;: org.apache.cxf.jaxrs.utils.JAXRSUtils - No operation matching request path "/pays/modify/1/Ma/Ma" is found, Relative Path: /modify/1/Ma/Ma, HTTP Method: GET, ContentType: */*, Accept: text/html,application/xhtml+xml,image/webp,application/xml;q=0.9,*/*;q=0.8,. Please enable FINE/TRACE log level for more details.&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff6633"&gt;: org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper - javax.ws.rs.ClientErrorException&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff6633"&gt;at org.apache.cxf.jaxrs.utils.SpecExceptions.toHttpException(SpecExceptions.java:110)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Solutions ?????</description>
      <pubDate>Sat, 16 Nov 2024 11:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227556#M19127</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T11:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227557#M19128</link>
      <description>Hi 
&lt;BR /&gt; 
&lt;PRE&gt;: org.apache.cxf.jaxrs.utils.JAXRSUtils - No operation matching request path "/pays/modify/1/Ma/Ma" is found, Relative Path: /modify/1/Ma/Ma, HTTP Method: GET, ContentType: */*, Accept: text/html,application/xhtml+xml,image/webp,application/xml;q=0.9,*/*;q=0.8,. Please enable FINE/TRACE log level for more details.&lt;/PRE&gt; 
&lt;BR /&gt;It seems the error occurs when you are trying to call a restful web service. Which version of talend esb product you are using? Can you please upload some screenshtos of your job design? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 22 Apr 2015 14:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227557#M19128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T14:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227558#M19129</link>
      <description>Am using the version 5.6.1&lt;BR /&gt;Screenshots :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 22 Apr 2015 15:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227558#M19129</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-04-22T15:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227559#M19130</link>
      <description>My job items and the screenshots 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/288326/RestJob.zip" target="_blank"&gt;RestJob.zip&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/288326/Capture4.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDNU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139710i435DBBDA7CBB5E7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDNU.png" alt="0683p000009MDNU.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/288326/cap1.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDRQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140758i81DBAA1F03BE2260/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDRQ.png" alt="0683p000009MDRQ.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/288326/cap2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDIl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150472i10E405982C791A94/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDIl.png" alt="0683p000009MDIl.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/288326/cap3.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDRV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153467iC22E09333D4D0D04/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDRV.png" alt="0683p000009MDRV.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Wed, 22 Apr 2015 15:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227559#M19130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T15:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227560#M19131</link>
      <description>&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;For post method, you can't pass value from URL, so you can't define URI pattern like this:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;"/add/{code}/{nom}"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;If you want to pass value to the rest webservice with post method, you need to define parameters. To do it, type in "query'' in the comment field of column on the schema, and then you are able to access the value of this parameter later with this expression:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;(String)globalMap.get("add.code") &amp;nbsp; // for string type&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;or&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;(Integer)gloalMap.get("add.code") &amp;nbsp;//for integer type&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Tahoma"&gt;Shong&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 22 Apr 2015 15:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227560#M19131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T15:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227561#M19132</link>
      <description>Thanks a lot for the solution , my broblem is solved .</description>
      <pubDate>Wed, 22 Apr 2015 16:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227561#M19132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T16:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227562#M19133</link>
      <description>Hi,&lt;BR /&gt;I know this is old post, but how did you deployed&amp;nbsp; the job to listen on the server?&lt;BR /&gt;I am using simple example from talend help web site for tRESTResponse, works fine on local box, we use Talend Platform... what URL of the endpoint should be on the server?&lt;BR /&gt;How to deploy job on TAC?&amp;nbsp; How did you deploy your job? Can you please explain as I do not know what to use - Job Conductor, ESB Publisher or ESB Conductor...&amp;nbsp; tried all - none worked.&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 31 Aug 2015 07:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227562#M19133</guid>
      <dc:creator>aleksb</dc:creator>
      <dc:date>2015-08-31T07:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use POST method of the tRESTRequest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227563#M19134</link>
      <description>Hi aleksb, 
&lt;BR /&gt;if you start using REST components in our job, you have to deploy with Talend ESB runtime, which is in fact Apache Karaf. 
&lt;BR /&gt;I so far used Tomcat to deploy jobs as servlets, but had to switch to Talend ESB runtime, when starting using REST components. 
&lt;BR /&gt;Quick guide on that, however please review related posts and documentation 
&lt;BR /&gt;* Talend ESB runtime gets installed with ESB automatically 
&lt;BR /&gt;* Start Talend runtime by running "trun.bat" in "\Runtime_ESBSE\container\bin" (on a Windows system) 
&lt;BR /&gt;* Deploy Talend jobs 
&lt;BR /&gt;- Select "OSGI bundle for ESB" when building a job 
&lt;BR /&gt;- Have the resulting jar file created in "Runtime_ESBSE\container\deploy", or copy it there 
&lt;BR /&gt;Deployment can be done while runtime is running - the new service is recognized automaticall 
&lt;BR /&gt;* The endpoint address is the one, that you configure in tRESTRequest 
&lt;BR /&gt;All that actually works quite nicely. On Talend runtime specifics, e.g. setting size of Java memory heap or commands to be used in the console, you may consult Apache Karaf documentation or stackoverflow posts, which are more comprehensive. 
&lt;BR /&gt;Let me know, if this works for you.</description>
      <pubDate>Sat, 05 Sep 2015 09:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-POST-method-of-the-tRESTRequest/m-p/2227563#M19134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-05T09:01:02Z</dc:date>
    </item>
  </channel>
</rss>

