<?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: Destination Server received only directory string, not file on that directory. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306384#M77933</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;From your screenshot, I see you just pass the file path to child job, not the file. Try to use tFileInputXML to read the whole file as payload document, see&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHZa5AAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148688i7F3F5CCCAF86E6A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHZa5AAH.png" alt="0693p00000AHZa5AAH.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 08:38:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-12T08:38:25Z</dc:date>
    <item>
      <title>Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306383#M77932</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I have a Job who generated XML and sub-job to push XML payload with tEsbConsumer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The XML output saved in "C:\xml\data.xml" .  Then, the XML will be carried to sub-Job with trunJob. Please find the following picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHZXfAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147631i4557ADE9C261483A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHZXfAAP.jpg" alt="0693p00000AHZXfAAP.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the sub-Job,  please find the following picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHZXpAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130285i28AB0F3F12EC2389/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHZXpAAP.jpg" alt="0693p00000AHZXpAAP.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in the receiver server, they only get payload in string mode (they get "&lt;/P&gt;&lt;P&gt;C:\xml\data.xml"). I expect, they will get the XML file in that directory not the directory string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any wrong configuration on my Schema ?&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;Raspati&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306383#M77932</guid>
      <dc:creator>raspati</dc:creator>
      <dc:date>2024-11-16T01:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306384#M77933</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;From your screenshot, I see you just pass the file path to child job, not the file. Try to use tFileInputXML to read the whole file as payload document, see&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHZa5AAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148688i7F3F5CCCAF86E6A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHZa5AAH.png" alt="0693p00000AHZa5AAH.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 08:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306384#M77933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T08:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306385#M77934</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put tfileInputXML before tMapXML. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHZajAAH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139381i5B5201A9204FE4BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHZajAAH.jpg" alt="0693p00000AHZajAAH.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I am confuse when configure tXmlMap. If I register the payload as a document on tXMLMap, then I unable to mapping from the left side to the right side.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHZbXAAX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142790i5C91B4E48DAC8D63/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHZbXAAX.jpg" alt="0693p00000AHZbXAAX.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raspati&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 09:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306385#M77934</guid>
      <dc:creator>raspati</dc:creator>
      <dc:date>2020-11-12T09:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306386#M77935</link>
      <description>&lt;P&gt;In Parent Job, then tRunjob, then Context Param, is there any way to make the values as a document ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHawCAAT.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156536i8E7467116AB11535/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHawCAAT.jpg" alt="0693p00000AHawCAAT.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 14:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306386#M77935</guid>
      <dc:creator>raspati</dc:creator>
      <dc:date>2020-11-12T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306387#M77936</link>
      <description>&lt;P&gt;if you don't need to do any other mapping, link tFileInputXML to tESBConsumer.  &lt;/P&gt;&lt;P&gt;child job:&lt;/P&gt;&lt;P&gt;tFileInputXML --main--&amp;gt;tESBConsumer. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 09:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306387#M77936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-13T09:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306388#M77937</link>
      <description>&lt;P&gt;In this case, the Destination Servers require the Source Server to add some of parameters such as transaction_id, transaction_date. Please see the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AHk70AAD.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138477iBBF3196C9DF9B1AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AHk70AAD.jpg" alt="0693p00000AHk70AAD.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think, I have to add payload at the end of the line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raspati&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 12:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306388#M77937</guid>
      <dc:creator>raspati</dc:creator>
      <dc:date>2020-11-13T12:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306389#M77938</link>
      <description>&lt;P&gt;How do transaction_id, transaction_date comes from? I think you don't need a join, read the value of these two columns and store them to context variable or global variable, on tXMLMap, get the value from global variable in the expression of field.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 06:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306389#M77938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-15T06:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Destination Server received only directory string, not file on that directory.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306390#M77939</link>
      <description>&lt;P&gt;Transaction_id and transaction date coming from Contexs and modified on tJavarow like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tJavaRow:&lt;/P&gt;&lt;P&gt;String t_date = (context.transaction_date+" " ).replace("_"," ");&lt;/P&gt;&lt;P&gt;String t_id= "ABCD"+TalendDate.getDate("yyyyMMdd");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output_row.transaction_date = t_date;&lt;/P&gt;&lt;P&gt;output_row.transaction_id = t_id;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you mentioned, I have store these two collums (transaction_id and transaction_date) on Context and get the value from the Contexts through tJavarow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, the problem is the destination server received only a string value of payload not a document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raspati&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 11:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Destination-Server-received-only-directory-string-not-file-on/m-p/2306390#M77939</guid>
      <dc:creator>raspati</dc:creator>
      <dc:date>2020-11-15T11:33:53Z</dc:date>
    </item>
  </channel>
</rss>

