<?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 Set params in tRestClient Component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Set-params-in-tRestClient-Component/m-p/2291369#M64558</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am working with tRestClient component for the very first time, I need to send certain parameters in the URL using POST Method of tRestClient component. &lt;/P&gt;&lt;P&gt;Below is the URL that I am trying to put in URL Section of the component.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"http://&amp;lt;URL&amp;gt;/rest/bpm/wle/v1/service/UNICO@RPARecieveIntegrationResponse?action=start&amp;amp;params={\"jobstatus\":\"Success\", \"xrefid\": \"2414\",\"markComplete\": \"Y\",\"performer\": \"&lt;/P&gt;&lt;P&gt;MyJob@ad.eisi.abc.com&lt;/P&gt;\",\"response\":\"Successfull RPA process for 2414\",\"comment\": \"123456789\"}&amp;amp;createTask=false&amp;amp;parts=all"&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am getting below Error : &lt;/P&gt;&lt;P&gt;Exception in component tRESTClient_1 (ReadData_1)&lt;/P&gt;&lt;P&gt;javax.ws.rs.ProcessingException: java.io.IOException: java.net.URISyntaxException: Illegal character in query at index 112: http://&amp;lt;URL&amp;gt;/rest/bpm/wle/v1/service/UNICO@RPARecieveIntegrationResponse?action=start&amp;amp;params={"jobstatus":"Success", "xrefid": "2414","markComplete": "Y","performer": "MyJob@ad.eisi.abc.com","response":"Successfull RPA process for 2414","comment": "123456789"}&amp;amp;createTask=false&amp;amp;parts=all&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:638)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:614)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1115)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1052)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:334)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:343)&lt;/P&gt;&lt;P&gt;	at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.tRESTClient_1Process(ReadData_1.java:852)&lt;/P&gt;&lt;P&gt;	at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.runJobInTOS(ReadData_1.java:3127)&lt;/P&gt;&lt;P&gt;	at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.main(ReadData_1.java:2927)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note, this is { the character is at index 112.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2020 09:25:34 GMT</pubDate>
    <dc:creator>SupriyaTapkir</dc:creator>
    <dc:date>2020-09-10T09:25:34Z</dc:date>
    <item>
      <title>Set params in tRestClient Component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-params-in-tRestClient-Component/m-p/2291369#M64558</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am working with tRestClient component for the very first time, I need to send certain parameters in the URL using POST Method of tRestClient component. &lt;/P&gt;&lt;P&gt;Below is the URL that I am trying to put in URL Section of the component.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"http://&amp;lt;URL&amp;gt;/rest/bpm/wle/v1/service/UNICO@RPARecieveIntegrationResponse?action=start&amp;amp;params={\"jobstatus\":\"Success\", \"xrefid\": \"2414\",\"markComplete\": \"Y\",\"performer\": \"&lt;/P&gt;&lt;P&gt;MyJob@ad.eisi.abc.com&lt;/P&gt;\",\"response\":\"Successfull RPA process for 2414\",\"comment\": \"123456789\"}&amp;amp;createTask=false&amp;amp;parts=all"&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am getting below Error : &lt;/P&gt;&lt;P&gt;Exception in component tRESTClient_1 (ReadData_1)&lt;/P&gt;&lt;P&gt;javax.ws.rs.ProcessingException: java.io.IOException: java.net.URISyntaxException: Illegal character in query at index 112: http://&amp;lt;URL&amp;gt;/rest/bpm/wle/v1/service/UNICO@RPARecieveIntegrationResponse?action=start&amp;amp;params={"jobstatus":"Success", "xrefid": "2414","markComplete": "Y","performer": "MyJob@ad.eisi.abc.com","response":"Successfull RPA process for 2414","comment": "123456789"}&amp;amp;createTask=false&amp;amp;parts=all&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:638)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:614)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1115)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1052)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:334)&lt;/P&gt;&lt;P&gt;	at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:343)&lt;/P&gt;&lt;P&gt;	at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.tRESTClient_1Process(ReadData_1.java:852)&lt;/P&gt;&lt;P&gt;	at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.runJobInTOS(ReadData_1.java:3127)&lt;/P&gt;&lt;P&gt;	at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.main(ReadData_1.java:2927)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note, this is { the character is at index 112.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 09:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-params-in-tRestClient-Component/m-p/2291369#M64558</guid>
      <dc:creator>SupriyaTapkir</dc:creator>
      <dc:date>2020-09-10T09:25:34Z</dc:date>
    </item>
  </channel>
</rss>

