<?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 tRestclient with multipart files not supported by Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestclient-with-multipart-files-not-supported-by-Talend/m-p/2295299#M68083</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have to attach files into an app. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to call a multipart REST service with PUT method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This service allows us to send a file to an application attached to some “objects” in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 2 files attached in the body: &lt;/P&gt;&lt;P&gt;The 1st one is the “content” we with to send to the application : "C:/Talend/Data/DEV/Avio/documentIwantToSend.jpeg" (for the demo … but it will contain text file produced by Talend from database extraction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2nd one is an xml containing the parameters to attach this file to the correct objects : &lt;/P&gt;&lt;P&gt;"C:/Talend/Data/DEV/Avio/briefingRulesValid.xml"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method is PUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have &lt;A href="https://myprovider.../mo/rest/vi/servicename/attachmentid" target="_blank"&gt;https://myprovider.../mo/rest/vi/servicename/attachmentid&lt;/A&gt; = 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization is managed thru Basic Auth (with a username &amp;amp; password provided by the provider).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly in POSTMAN but Talend support informed me that it is not supported by tRESclient ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to require java code ... &lt;/P&gt;&lt;P&gt;Anyone having such experience ? able to show examples ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Damien&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:23:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T01:23:01Z</dc:date>
    <item>
      <title>tRestclient with multipart files not supported by Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestclient-with-multipart-files-not-supported-by-Talend/m-p/2295299#M68083</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have to attach files into an app. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to call a multipart REST service with PUT method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This service allows us to send a file to an application attached to some “objects” in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 2 files attached in the body: &lt;/P&gt;&lt;P&gt;The 1st one is the “content” we with to send to the application : "C:/Talend/Data/DEV/Avio/documentIwantToSend.jpeg" (for the demo … but it will contain text file produced by Talend from database extraction)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2nd one is an xml containing the parameters to attach this file to the correct objects : &lt;/P&gt;&lt;P&gt;"C:/Talend/Data/DEV/Avio/briefingRulesValid.xml"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method is PUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have &lt;A href="https://myprovider.../mo/rest/vi/servicename/attachmentid" target="_blank"&gt;https://myprovider.../mo/rest/vi/servicename/attachmentid&lt;/A&gt; = 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization is managed thru Basic Auth (with a username &amp;amp; password provided by the provider).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly in POSTMAN but Talend support informed me that it is not supported by tRESclient ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to require java code ... &lt;/P&gt;&lt;P&gt;Anyone having such experience ? able to show examples ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Damien&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestclient-with-multipart-files-not-supported-by-Talend/m-p/2295299#M68083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T01:23:01Z</dc:date>
    </item>
  </channel>
</rss>

