<?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: PUT with a tRestClient not working in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217377#M12995</link>
    <description>Hi 
&lt;BR /&gt;I don't know what you API do, I see the calling is working fine and returns a response. From the result, I see the value of element &amp;lt;label&amp;gt; changes to EL. 
&lt;BR /&gt;What should be the correct response? Can you show us more details about your API definition? 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Feb 2020 02:47:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-27T02:47:31Z</dc:date>
    <item>
      <title>PUT with a tRestClient not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217376#M12994</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;I have a problem with a tRestClient and the PUT method. It seems working but nothing is done.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job.jpg" style="width: 310px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9BK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130475iD972CAAC4FB3F4DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9BK.jpg" alt="0683p000009M9BK.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see, my job tRestClient is sending a "correct" response.&lt;/P&gt; 
&lt;P&gt;But when i look the result, nothing is changed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is what i send (it's a Document type data):&lt;/P&gt; 
&lt;P&gt;+------+----------------------------------------------------------------------------------------+&lt;BR /&gt;| key | value |&lt;BR /&gt;+------+----------------------------------------------------------------------------------------+&lt;BR /&gt;| body | &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;brand code="ELLE"&amp;gt;&amp;lt;label&amp;gt;ELLES&amp;lt;/label&amp;gt;&amp;lt;/brand&amp;gt; |&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And there is what the tRestClient send me as a response:&lt;/P&gt; 
&lt;P&gt;200|&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;root&amp;gt;&amp;lt;id&amp;gt;B001A9D9-7EA7-4850-857C-401BF2A9B4A8&amp;lt;/id&amp;gt;&amp;lt;code&amp;gt;ELLE&amp;lt;/code&amp;gt;&amp;lt;label&amp;gt;EL&amp;lt;/label&amp;gt;&amp;lt;description&amp;gt;ELLE&amp;lt;/description&amp;gt;&amp;lt;/root&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see, the parameter &amp;lt;label&amp;gt; is not changed and i don't understand why!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217376#M12994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: PUT with a tRestClient not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217377#M12995</link>
      <description>Hi 
&lt;BR /&gt;I don't know what you API do, I see the calling is working fine and returns a response. From the result, I see the value of element &amp;lt;label&amp;gt; changes to EL. 
&lt;BR /&gt;What should be the correct response? Can you show us more details about your API definition? 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Feb 2020 02:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217377#M12995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-27T02:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: PUT with a tRestClient not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217378#M12996</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt;
&lt;P&gt;My API is here to cancel &amp;amp; replace the data.&lt;/P&gt;
&lt;P&gt;I send new datas to the API, it should return me the new datas.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i do it manually, it works just fine.&lt;/P&gt;
&lt;P&gt;So the response should be this :&lt;BR /&gt;200|&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;root&amp;gt;&amp;lt;id&amp;gt;B001A9D9-7EA7-4850-857C-401BF2A9B4A8&amp;lt;/id&amp;gt;&amp;lt;brand code="ELLE"&amp;gt;&amp;lt;label&amp;gt;ELLES&amp;lt;/label&amp;gt;&amp;lt;/brand&amp;gt;&amp;lt;/root&amp;gt;&lt;BR /&gt;and not&lt;BR /&gt;200|&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;root&amp;gt;&amp;lt;id&amp;gt;B001A9D9-7EA7-4850-857C-401BF2A9B4A8&amp;lt;/id&amp;gt;&amp;lt;code&amp;gt;ELLE&amp;lt;/code&amp;gt;&amp;lt;label&amp;gt;EL&amp;lt;/label&amp;gt;&amp;lt;description&amp;gt;ELLE&amp;lt;/description&amp;gt;&amp;lt;/root&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 07:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217378#M12996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-27T07:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: PUT with a tRestClient not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217379#M12997</link>
      <description>How do you do it manually? call it by other tool? 
&lt;BR /&gt;Does the API provided by other provider or you build it with Talend studio?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 27 Feb 2020 08:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217379#M12997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-27T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: PUT with a tRestClient not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217380#M12998</link>
      <description>&lt;P&gt;My API is on a webpage, when i do it manually it looks like this :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;{ "code"="ELLE", "label"="ELLES"}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My problem is, to construct this, i'll depend on the schema of the datas and i'm working on a job that will sometimes doesn't have all columns (based on xsd).&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So sending a Document type allowed me to not send empty data.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;exemple:&lt;/U&gt;&amp;nbsp;if i have this in the "body" column&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;brand code="ELLE"&amp;gt;&amp;lt;label&amp;gt;ELLES&amp;lt;/label&amp;gt;&amp;lt;/description&amp;gt;&amp;lt;/brand&amp;gt; ==&amp;gt; it should be&amp;nbsp;{ "code"="ELLE", "label"="ELLES"}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;but if i use a tWriteJSON to generate this i'll have&amp;nbsp;&amp;nbsp;{ "code"="ELLE", "label"="ELLES", "description":[]}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My goal is to avoid using a tWriteJSON and depend on the schema&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Has you can see, in the API when i do it manually, the answer send me the corrected data, not like in Talend&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="put_brand.jpg" style="width: 471px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M95r.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153392iDD0FE1FFD4EEA3ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M95r.jpg" alt="0683p000009M95r.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="put_brand_response.jpg" style="width: 467px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M987.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157282i678A44AA6C08417B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M987.jpg" alt="0683p000009M987.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The previous label was "EL" and as you can see, manually it changes to "ELLE"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 12:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217380#M12998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-27T12:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: PUT with a tRestClient not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217381#M12999</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could try and use a tXMLMap and have several outputs depending on the field has value or not.&lt;/P&gt;&lt;P&gt;if you connect the&amp;nbsp;tXMLMap&amp;nbsp; to a trestclient :&lt;/P&gt;&lt;P&gt;&lt;U&gt;trestclient&lt;/U&gt; input schema:&lt;/P&gt;&lt;P&gt;column -&amp;gt; body&lt;/P&gt;&lt;P&gt;type &amp;gt; Document&lt;/P&gt;&lt;P&gt;&lt;EM&gt;basic settings&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;contenttype &amp;gt; json&lt;/P&gt;&lt;P&gt;acceptype&amp;gt; json&lt;/P&gt;&lt;P&gt;&lt;EM&gt;advanced settings:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;log messages&lt;/P&gt;&lt;P&gt;drop json request root&lt;/P&gt;&lt;P&gt;wrap json response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it will send a json request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i make a call with txmlmap -&amp;gt; trestclient to make json request&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lxcx"&gt;xml_json.jpg&lt;/A&gt;</description>
      <pubDate>Fri, 28 Feb 2020 15:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217381#M12999</guid>
      <dc:creator>uzix</dc:creator>
      <dc:date>2020-02-28T15:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: PUT with a tRestClient not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217382#M13000</link>
      <description>&lt;P&gt;It's working! Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My mistake was that the option "Drop JSON Request Root" was uncheked&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 10:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PUT-with-a-tRestClient-not-working/m-p/2217382#M13000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-02T10:32:42Z</dc:date>
    </item>
  </channel>
</rss>

