<?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: tRESTClient doesn't propagate message body on DELETE in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348793#M115866</link>
    <description>Ok, thank you. It was confusing see it on log message&lt;BR /&gt;Pierpaolo</description>
    <pubDate>Wed, 23 Apr 2014 12:55:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-23T12:55:44Z</dc:date>
    <item>
      <title>tRESTClient doesn't propagate message body on DELETE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348791#M115864</link>
      <description>System: linux debian and windows 
&lt;BR /&gt;TOS for ESB: 5.4.1r111943 
&lt;BR /&gt;I'm creating a full REST service with tRESTRequest and tRESTResponse components. GET and POST are working fine, but DELETE give me some trouble. I created a simple client to test the service, as you can see in first image attached. 
&lt;BR /&gt;A debug run shows that body is null, but when you see full log, outbound and inbound messages are correct: 
&lt;BR /&gt; connecting to socket on port 3543 
&lt;BR /&gt; connected 
&lt;BR /&gt; connecting to socket on port 4827 
&lt;BR /&gt; connected 
&lt;BR /&gt;Apr 23, 2014 12:30:07 PM org.apache.cxf.interceptor.LoggingOutInterceptor 
&lt;BR /&gt;INFO: Outbound Message 
&lt;BR /&gt;--------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Address: &lt;A href="http://localhost:8088/persone/1234567890123456" target="_blank"&gt;http://localhost:8088/persone/1234567890123456&lt;/A&gt; 
&lt;BR /&gt;Http-Method: DELETE 
&lt;BR /&gt;Content-Type: */* 
&lt;BR /&gt;Headers: {Accept=, Content-Type=} 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt;Apr 23, 2014 12:30:07 PM org.apache.cxf.interceptor.LoggingInInterceptor 
&lt;BR /&gt;INFO: Inbound Message 
&lt;BR /&gt;---------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Response-Code: 200 
&lt;BR /&gt;Encoding: ISO-8859-1 
&lt;BR /&gt;Content-Type: application/xml 
&lt;BR /&gt;Headers: {content-type=, Date=, Server=, transfer-encoding=} 
&lt;BR /&gt;Payload: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;persona COD_FISC="1234567890123456"&amp;gt;&amp;lt;MESSAGGIO&amp;gt;Cancellato&amp;lt;/MESSAGGIO&amp;gt;&amp;lt;/persona&amp;gt; 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt;200|| 
&lt;BR /&gt; disconnected 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Why payload is not present in Response flow? 
&lt;BR /&gt;Thank you so much. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDs8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134183iA1A61F9747A76300/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDs8.png" alt="0683p000009MDs8.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348791#M115864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient doesn't propagate message body on DELETE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348792#M115865</link>
      <description>Hi,
&lt;BR /&gt;DELETE is not expected to contain the body, not a 'must' requirement but Java HttpUrlConnection actually enforces it.
&lt;BR /&gt;We can have it done in CXF alone by delegating to CXF HttpClient asynchronous conduit, but we do not have it supported in the studio.
&lt;BR /&gt;Consider avoiding using DELETE with the body, unless you have a task of integrating with the legacy servers that do expect it, and if you do have such a case then check tHTTP* client components, one of them may actually use Apache HttpClient
&lt;BR /&gt;HTH, Sergey</description>
      <pubDate>Wed, 23 Apr 2014 11:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348792#M115865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-23T11:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient doesn't propagate message body on DELETE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348793#M115866</link>
      <description>Ok, thank you. It was confusing see it on log message&lt;BR /&gt;Pierpaolo</description>
      <pubDate>Wed, 23 Apr 2014 12:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348793#M115866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-23T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient doesn't propagate message body on DELETE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348794#M115867</link>
      <description>But, if so, why in tRESTRequest a DELETE verb "must" have a "Produce" field filled with something? You must fill it with XML or JSON or at least "any".&lt;BR /&gt;Pierpaolo</description>
      <pubDate>Thu, 24 Apr 2014 08:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348794#M115867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T08:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTClient doesn't propagate message body on DELETE</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348795#M115868</link>
      <description>Blocking Produces completely in case of DELETE might be too restricting, we do not know of the actual client requirements, example, a client may want to get some confirmation...Note, even though Produces is enabled, there's no requirement for DELETE server flow to return any data back
&lt;BR /&gt;Cheers, Sergey</description>
      <pubDate>Thu, 24 Apr 2014 09:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTClient-doesn-t-propagate-message-body-on-DELETE/m-p/2348795#M115868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T09:46:35Z</dc:date>
    </item>
  </channel>
</rss>

