<?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: Fetch value from database and insert into XML file in runtime in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370150#M133229</link>
    <description>Hello 
&lt;BR /&gt;Is it a new XML file for each id? Can you show us an example of XML file to explain your requirement?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
    <pubDate>Tue, 08 Aug 2017 08:29:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-08T08:29:37Z</dc:date>
    <item>
      <title>Fetch value from database and insert into XML file in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370149#M133228</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to talend ESB, i am trying to fetch customer id by connecting to database and i am getting ex: 10 customer id's like(101,102,103......) now i want to iterate this value and insert into xml file dynamically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please&amp;nbsp;help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370149#M133228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch value from database and insert into XML file in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370150#M133229</link>
      <description>Hello 
&lt;BR /&gt;Is it a new XML file for each id? Can you show us an example of XML file to explain your requirement?
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 08 Aug 2017 08:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370150#M133229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T08:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch value from database and insert into XML file in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370151#M133230</link>
      <description>&lt;P&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:v2="&lt;A href="http://v2_3.customer.webservices.csx.dtv.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://v2_3.customer.webservices.csx.dtv.com/&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Header/&amp;gt;&lt;BR /&gt;&amp;lt;soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;v2:searchCustomers&amp;gt;&lt;BR /&gt;&amp;lt;customerData&amp;gt;&lt;BR /&gt;&amp;lt;CustomerID&amp;gt;&amp;lt;/CustomerID&amp;gt;&lt;BR /&gt;&amp;lt;/customerData&amp;gt;&lt;BR /&gt;&amp;lt;securityUserId&amp;gt;&amp;lt;securityUserID&amp;gt;&lt;BR /&gt;&amp;lt;/v2:searchCustomers&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my input XML, where i need to pass value in runtime to securityiD and customerID. I am fetching these two values by querying database.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370151#M133230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T15:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch value from database and insert into XML file in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370152#M133231</link>
      <description>&lt;P&gt;I am new to talend,please find attached screenshot (workflow.png) for the workflow i created.&lt;/P&gt; 
&lt;P&gt;Here i am to get values in tjava&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;String cust_id=((String)globalMap.get("row1.CUST_ID"));&lt;BR /&gt;String create_user=((String)globalMap.get("row1.CREATE_USER"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i have set these two variables and using the same in tXMLMap&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;please find attached screenshot txmlmap.png&lt;/P&gt; 
&lt;P&gt;But the values are not getting passed. please find below error .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;lt;S:Envelope xmlns&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;S:Body&amp;gt;&lt;BR /&gt;&amp;lt;S:Fault xmlns:ns4="&lt;A href="http://www.w3.org/2003/05/soap-envelope" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2003/05/soap-envelope&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;faultcode&amp;gt;S&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;erver&amp;lt;/faultcode&amp;gt;&lt;BR /&gt;&amp;lt;faultstring&amp;gt;The user supplied is not a valid Relate user.&amp;lt;/faultstring&amp;gt;&lt;BR /&gt;&amp;lt;detail&amp;gt;&lt;BR /&gt;&amp;lt;ns2:RelateProcessingException xmlns:ns2="&lt;A href="http://v2_3.customer.webservices.csx.dtv.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://v2_3.customer.webservices.csx.dtv.com/&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;faultDetail&amp;gt;RelateProcessingException The user supplied is not a valid Relate user. CustomerServicesUtil:validateRelateUser:363 CustomerWebServiceImpl:validateRequest:75 CustomerWebServiceImpl&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;rocess:66&amp;lt;/faultDetail&amp;gt;&lt;BR /&gt;&amp;lt;message&amp;gt;The user supplied is not a valid Relate user.&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;relateExceptionCode&amp;gt;INVALID_USER&amp;lt;/relateExceptionCode&amp;gt;&lt;BR /&gt;&amp;lt;/ns2:RelateProcessingException&amp;gt;&lt;BR /&gt;&amp;lt;/detail&amp;gt;&lt;BR /&gt;&amp;lt;/S:Fault&amp;gt;&lt;BR /&gt;&amp;lt;/S:Body&amp;gt;&lt;BR /&gt;&amp;lt;/S:Envelope&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don know whether its correct flow or not please guide me on the same.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrFG"&gt;tXMLMap.png&lt;/A&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370152#M133231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T15:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch value from database and insert into XML file in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370153#M133232</link>
      <description>Do you use a tFlowToIterate in the job to iterate the the input rows? I don't understand why you use a tJava component. Can you please a screenshot of your job?&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2017 06:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370153#M133232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-09T06:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch value from database and insert into XML file in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370154#M133233</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am using tflowtoiterate and iteratetoflow component. As i am new i don know all the components available.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;please find attached screen shot(job image) i got the output(please let me know is this wrong process,I didnt work in talend so i don have much idea). But now i want to pass this response as input for the other web service will be invoked.(job 1 image)&lt;/P&gt; 
&lt;P&gt;i have done the flow its giving me an error:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Execution failed : Failed to generate code.&lt;BR /&gt;[org.eclipse.emf.codegen.jet.JETException: InvocationTargetException in WORKING1 job]&lt;BR /&gt;Job WORKING1 ended at 17:51 09/08/2017. [exit code=0]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Kindly help me on the same.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JOB.png" style="width: 770px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lw7j.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143330iC0AA9408C06A213F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lw7j.png" alt="0683p000009Lw7j.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Job1.png" style="width: 819px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvoG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136671i1247CF549904580A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvoG.png" alt="0683p000009LvoG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Padmini&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ls7s"&gt;JOB.png&lt;/A&gt;</description>
      <pubDate>Wed, 09 Aug 2017 15:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-value-from-database-and-insert-into-XML-file-in-runtime/m-p/2370154#M133233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-09T15:07:39Z</dc:date>
    </item>
  </channel>
</rss>

