<?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] tRESTRequest - Payload Data Not Visible via Http POST method in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTRequest-Payload-Data-Not-Visible-via-Http-POST/m-p/2264941#M44629</link>
    <description>Hi All, 
&lt;BR /&gt;I want to establish and use a Talend REST Service to retrieve and update sensitive information.&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;I don’t want this information to be in clear-text in the URI of the service call. &amp;nbsp;To accomplish this, it is my understanding that the tRestRequest End Point should use the HTTP POST instead of HTTP GET and all sensitive parameters can be delivered as a separate XML payload. 
&lt;BR /&gt;The problem I am having is that the Payload Data coming from the Rest Client is not being referenced properly by the service End Point and therefore not being propagated&amp;nbsp;through the process. &amp;nbsp;To demonstrate this issue in the simplest fashion, I have constructed a couple of simple Talend jobs.&amp;nbsp; 
&lt;BR /&gt; 
&lt;B&gt;Server Job:&lt;/B&gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBqW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140220i6D4D9E4C3F94AD04/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBqW.png" alt="0683p000009MBqW.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBsm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147500iC764A2F6B47C7E2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBsm.png" alt="0683p000009MBsm.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBtO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138968iF5C2E65BFC0CFF7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBtO.png" alt="0683p000009MBtO.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;B&gt;Server Output:&lt;/B&gt; 
&lt;BR /&gt;Starting job readPayLoadTest at 09:45 08/12/2014. 
&lt;BR /&gt; connecting to socket on port 3473 
&lt;BR /&gt; connected 
&lt;BR /&gt;: org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be&amp;nbsp; 
&lt;BR /&gt;: org.eclipse.jetty.server.Server - jetty-8.1.15.v20140411 
&lt;BR /&gt;: org.eclipse.jetty.server.AbstractConnector - Started SelectChannelConnector@127.0.0.1:8090 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message 
&lt;BR /&gt;---------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Address:&amp;nbsp; 
&lt;BR /&gt;Encoding: ISO-8859-1 
&lt;BR /&gt;Http-Method: POST 
&lt;BR /&gt;Content-Type: application/xml 
&lt;BR /&gt;Headers: {Accept=, Cache-Control=, connection=, Content-Length=, content-type=, Host=, Pragma=, User-Agent=} 
&lt;BR /&gt;Payload: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#339933"&gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt; 
&lt;B&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#339933"&gt;&amp;lt;--- Data Coming from Client&lt;/FONT&gt;&lt;/B&gt; 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message 
&lt;BR /&gt;--------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Response-Code: 200 
&lt;BR /&gt;Content-Type: application/xml 
&lt;BR /&gt;Headers: {Content-Type=, Date=} 
&lt;BR /&gt;Payload: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;id/&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;--- Data not propagated to response&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT color="#ff3333"&gt;&amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt; 
&lt;B&gt;Client Job:&lt;/B&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBKH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147067i997237A70488C8B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBKH.png" alt="0683p000009MBKH.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132977i08758BB66C315557/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpX.png" alt="0683p000009MBpX.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBSd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132792iA169510B36E28D60/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBSd.png" alt="0683p000009MBSd.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;B&gt;Client Output:&lt;/B&gt; 
&lt;BR /&gt;Starting job testPost at 09:46 08/12/2014. 
&lt;BR /&gt; connecting to socket on port 3937 
&lt;BR /&gt; connected 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message 
&lt;BR /&gt;--------------------------- 
&lt;BR /&gt;.----------+---------------------------------------------------------+------. 
&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;|=---------+---------------------------------------------------------+-----=| 
&lt;BR /&gt;|statusCode|body &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |string| 
&lt;BR /&gt;|=---------+---------------------------------------------------------+-----=| 
&lt;BR /&gt;|200 &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;id/&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt;|null&amp;nbsp;&amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff9933"&gt;&lt;B&gt;&amp;lt;--- Data not propagated to response&lt;/B&gt;&amp;nbsp;&lt;/FONT&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;'----------+---------------------------------------------------------+------' 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job testPost ended at 09:46 08/12/2014. 
&lt;BR /&gt; 
&lt;B&gt;CURL Output:&lt;/B&gt; 
&lt;BR /&gt;$ curl -X POST -H "Content-Type: application/xml" -H "Accept: application/xml" -d "&amp;lt;root&amp;gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&amp;lt;/root&amp;gt;" "&lt;A href="http://localhost:8090/services/customers/customer" target="_blank"&gt;http://localhost:8090/services/customers/customer&lt;/A&gt;" 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;id/&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff9933"&gt;&lt;B&gt;&amp;lt;--- Data not propagated to response&lt;/B&gt;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp; 
&lt;BR /&gt;As you can see from the output data above, the data is successfully being passed to the Server with the HTTP POST method but is not being propagated to the response. 
&lt;BR /&gt;For what it's worth, the example in Scenario 3 in the Documention at help.talend.com/display/TalendOpenStudioComponentsReferenceGuide55EN/tRESTRequest basically eliminates the benefits of an HTTP POST request by putting identifying information in URI. &amp;nbsp;This, in my opinion is no better than an HTTP GET Method. 
&lt;BR /&gt;Please advise.. 
&lt;BR /&gt; 
&lt;B&gt;System Info:&lt;/B&gt; 
&lt;BR /&gt; 
&lt;B&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Talend Version:&amp;nbsp;&lt;/B&gt;"Talend Open Studio for ESB"&amp;nbsp;Version: 5.6.0&amp;nbsp;Build id: V5.6.0_20141024_1545 
&lt;BR /&gt; 
&lt;B&gt;Operating System:&lt;/B&gt;&amp;nbsp;Windows 8.1 Enterprise 64-bit (6.3, Build 9600) (9600.winblue_r3.140827-1500) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;B&gt;Processor:&lt;/B&gt;&amp;nbsp;Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz (4 CPUs), ~3.0GHz 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;B&gt;Memory:&lt;/B&gt;&amp;nbsp;8192MB RAM</description>
    <pubDate>Sat, 16 Nov 2024 11:23:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:23:40Z</dc:date>
    <item>
      <title>[resolved] tRESTRequest - Payload Data Not Visible via Http POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTRequest-Payload-Data-Not-Visible-via-Http-POST/m-p/2264941#M44629</link>
      <description>Hi All, 
&lt;BR /&gt;I want to establish and use a Talend REST Service to retrieve and update sensitive information.&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;I don’t want this information to be in clear-text in the URI of the service call. &amp;nbsp;To accomplish this, it is my understanding that the tRestRequest End Point should use the HTTP POST instead of HTTP GET and all sensitive parameters can be delivered as a separate XML payload. 
&lt;BR /&gt;The problem I am having is that the Payload Data coming from the Rest Client is not being referenced properly by the service End Point and therefore not being propagated&amp;nbsp;through the process. &amp;nbsp;To demonstrate this issue in the simplest fashion, I have constructed a couple of simple Talend jobs.&amp;nbsp; 
&lt;BR /&gt; 
&lt;B&gt;Server Job:&lt;/B&gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBqW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140220i6D4D9E4C3F94AD04/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBqW.png" alt="0683p000009MBqW.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBsm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147500iC764A2F6B47C7E2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBsm.png" alt="0683p000009MBsm.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBtO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138968iF5C2E65BFC0CFF7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBtO.png" alt="0683p000009MBtO.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;B&gt;Server Output:&lt;/B&gt; 
&lt;BR /&gt;Starting job readPayLoadTest at 09:45 08/12/2014. 
&lt;BR /&gt; connecting to socket on port 3473 
&lt;BR /&gt; connected 
&lt;BR /&gt;: org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be&amp;nbsp; 
&lt;BR /&gt;: org.eclipse.jetty.server.Server - jetty-8.1.15.v20140411 
&lt;BR /&gt;: org.eclipse.jetty.server.AbstractConnector - Started SelectChannelConnector@127.0.0.1:8090 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message 
&lt;BR /&gt;---------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Address:&amp;nbsp; 
&lt;BR /&gt;Encoding: ISO-8859-1 
&lt;BR /&gt;Http-Method: POST 
&lt;BR /&gt;Content-Type: application/xml 
&lt;BR /&gt;Headers: {Accept=, Cache-Control=, connection=, Content-Length=, content-type=, Host=, Pragma=, User-Agent=} 
&lt;BR /&gt;Payload: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#339933"&gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt; 
&lt;B&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#339933"&gt;&amp;lt;--- Data Coming from Client&lt;/FONT&gt;&lt;/B&gt; 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message 
&lt;BR /&gt;--------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Response-Code: 200 
&lt;BR /&gt;Content-Type: application/xml 
&lt;BR /&gt;Headers: {Content-Type=, Date=} 
&lt;BR /&gt;Payload: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;id/&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;--- Data not propagated to response&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT color="#ff3333"&gt;&amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt; 
&lt;B&gt;Client Job:&lt;/B&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBKH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147067i997237A70488C8B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBKH.png" alt="0683p000009MBKH.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBpX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132977i08758BB66C315557/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBpX.png" alt="0683p000009MBpX.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBSd.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132792iA169510B36E28D60/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBSd.png" alt="0683p000009MBSd.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;B&gt;Client Output:&lt;/B&gt; 
&lt;BR /&gt;Starting job testPost at 09:46 08/12/2014. 
&lt;BR /&gt; connecting to socket on port 3937 
&lt;BR /&gt; connected 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message 
&lt;BR /&gt;--------------------------- 
&lt;BR /&gt;.----------+---------------------------------------------------------+------. 
&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;|=---------+---------------------------------------------------------+-----=| 
&lt;BR /&gt;|statusCode|body &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |string| 
&lt;BR /&gt;|=---------+---------------------------------------------------------+-----=| 
&lt;BR /&gt;|200 &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;id/&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt;|null&amp;nbsp;&amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff9933"&gt;&lt;B&gt;&amp;lt;--- Data not propagated to response&lt;/B&gt;&amp;nbsp;&lt;/FONT&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;BR /&gt;'----------+---------------------------------------------------------+------' 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job testPost ended at 09:46 08/12/2014. 
&lt;BR /&gt; 
&lt;B&gt;CURL Output:&lt;/B&gt; 
&lt;BR /&gt;$ curl -X POST -H "Content-Type: application/xml" -H "Accept: application/xml" -d "&amp;lt;root&amp;gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&amp;lt;/root&amp;gt;" "&lt;A href="http://localhost:8090/services/customers/customer" target="_blank"&gt;http://localhost:8090/services/customers/customer&lt;/A&gt;" 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#ff9933"&gt;&amp;lt;id/&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;FONT color="#ff9933"&gt;&lt;B&gt;&amp;lt;--- Data not propagated to response&lt;/B&gt;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp; 
&lt;BR /&gt;As you can see from the output data above, the data is successfully being passed to the Server with the HTTP POST method but is not being propagated to the response. 
&lt;BR /&gt;For what it's worth, the example in Scenario 3 in the Documention at help.talend.com/display/TalendOpenStudioComponentsReferenceGuide55EN/tRESTRequest basically eliminates the benefits of an HTTP POST request by putting identifying information in URI. &amp;nbsp;This, in my opinion is no better than an HTTP GET Method. 
&lt;BR /&gt;Please advise.. 
&lt;BR /&gt; 
&lt;B&gt;System Info:&lt;/B&gt; 
&lt;BR /&gt; 
&lt;B&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Talend Version:&amp;nbsp;&lt;/B&gt;"Talend Open Studio for ESB"&amp;nbsp;Version: 5.6.0&amp;nbsp;Build id: V5.6.0_20141024_1545 
&lt;BR /&gt; 
&lt;B&gt;Operating System:&lt;/B&gt;&amp;nbsp;Windows 8.1 Enterprise 64-bit (6.3, Build 9600) (9600.winblue_r3.140827-1500) 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;B&gt;Processor:&lt;/B&gt;&amp;nbsp;Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz (4 CPUs), ~3.0GHz 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;B&gt;Memory:&lt;/B&gt;&amp;nbsp;8192MB RAM</description>
      <pubDate>Sat, 16 Nov 2024 11:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTRequest-Payload-Data-Not-Visible-via-Http-POST/m-p/2264941#M44629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTRequest - Payload Data Not Visible via Http POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTRequest-Payload-Data-Not-Visible-via-Http-POST/m-p/2264942#M44630</link>
      <description>You don't define the schema of tRestRequest correctly, the data type should be Document and set the same payload structure on tXMLMap as input schema of tRestClient. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 09 Dec 2014 04:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTRequest-Payload-Data-Not-Visible-via-Http-POST/m-p/2264942#M44630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-09T04:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRESTRequest - Payload Data Not Visible via Http POST method</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTRequest-Payload-Data-Not-Visible-via-Http-POST/m-p/2264943#M44631</link>
      <description>Thank you Shong! 
&lt;BR /&gt;Per your recommendations, I was able to get this working by changing the tRESTRequest input schema and tXMLMap in the server job as shown below respectively: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBsv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146565i6E0F7C44F22F0DB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBsv.png" alt="0683p000009MBsv.png" /&gt;&lt;/span&gt;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBfE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142216i2373E77EEBB3B5D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBfE.png" alt="0683p000009MBfE.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Here's the new output: 
&lt;BR /&gt;Starting job readPayLoadTest at 09:29 09/12/2014. 
&lt;BR /&gt; connecting to socket on port 3932 
&lt;BR /&gt; connected 
&lt;BR /&gt;: org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be&amp;nbsp; 
&lt;BR /&gt;: org.eclipse.jetty.server.Server - jetty-8.1.15.v20140411 
&lt;BR /&gt;: org.eclipse.jetty.server.AbstractConnector - Started SelectChannelConnector@127.0.0.1:8090 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message 
&lt;BR /&gt;---------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Address:&amp;nbsp; 
&lt;BR /&gt;Encoding: ISO-8859-1 
&lt;BR /&gt;Http-Method: POST 
&lt;BR /&gt;Content-Type: application/xml 
&lt;BR /&gt;Headers: {Accept=, Cache-Control=, connection=, Content-Length=, content-type=, Host=, Pragma=, User-Agent=} 
&lt;BR /&gt;Payload: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&amp;lt;/root&amp;gt; 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message 
&lt;BR /&gt;--------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Response-Code: 200 
&lt;BR /&gt;Content-Type: application/xml 
&lt;BR /&gt;Headers: {Content-Type=, Date=} 
&lt;BR /&gt;Payload: &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; 
&lt;BR /&gt;&amp;lt;root&amp;gt; 
&lt;B&gt;&lt;FONT color="#339933"&gt;&amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt;&lt;/FONT&gt;&lt;/B&gt;&amp;lt;/root&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;---Data successfully read from Payload and propagated to REST Response. 
&lt;BR /&gt;--------------------------------------</description>
      <pubDate>Tue, 09 Dec 2014 17:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRESTRequest-Payload-Data-Not-Visible-via-Http-POST/m-p/2264943#M44631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-09T17:34:01Z</dc:date>
    </item>
  </channel>
</rss>

