<?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 Send message to RPC API by using tXMLRPCInput component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Send-message-to-RPC-API-by-using-tXMLRPCInput-component/m-p/2266398#M45625</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have created a customer by using a RPC API according the specifications below:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UserAdd.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6F6.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142222iB223BAACA9CC886D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6F6.jpg" alt="0683p000009M6F6.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This is how I have configured my tXMLRPCInput compontent in Talend:&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="2.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6VF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139037i5488A347BF28C07A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6VF.jpg" alt="0683p000009M6VF.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In this case I have already prefilled some values in global variables and I'm also using a context variable. This works perfect!!!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I also want to update a user in case the user already exists. This are my specifications to edit a user:&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="Specs.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6SC.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143720i8D745DD731256D5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6SC.jpg" alt="0683p000009M6SC.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The XML structure should look something like this (to update the firstname):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Message.JPG" style="width: 692px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M67g.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149211iB536722347CFDC50/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M67g.jpg" alt="0683p000009M67g.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This is how I have configured my&amp;nbsp;tXMLRPCInput component in Talend:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6VP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136344iB086678BE7BCBC9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6VP.jpg" alt="0683p000009M6VP.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;My question is how I need to define the "struct" part (highlighted in yellow)? I can't define a struct class in this case.&lt;/P&gt; 
&lt;P&gt;I basically need to add this part to the message:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;lt;struct&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;member&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;firstname&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;string&amp;gt;piet2&amp;lt;/string&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/member&amp;gt;&lt;BR /&gt;&amp;lt;/struct&amp;gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please help me because I'm out of options right now.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:05:30 GMT</pubDate>
    <dc:creator>rsmits</dc:creator>
    <dc:date>2024-11-16T05:05:30Z</dc:date>
    <item>
      <title>Send message to RPC API by using tXMLRPCInput component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-message-to-RPC-API-by-using-tXMLRPCInput-component/m-p/2266398#M45625</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have created a customer by using a RPC API according the specifications below:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UserAdd.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6F6.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142222iB223BAACA9CC886D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6F6.jpg" alt="0683p000009M6F6.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This is how I have configured my tXMLRPCInput compontent in Talend:&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="2.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6VF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139037i5488A347BF28C07A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6VF.jpg" alt="0683p000009M6VF.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In this case I have already prefilled some values in global variables and I'm also using a context variable. This works perfect!!!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I also want to update a user in case the user already exists. This are my specifications to edit a user:&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="Specs.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6SC.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143720i8D745DD731256D5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6SC.jpg" alt="0683p000009M6SC.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The XML structure should look something like this (to update the firstname):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Message.JPG" style="width: 692px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M67g.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149211iB536722347CFDC50/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M67g.jpg" alt="0683p000009M67g.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This is how I have configured my&amp;nbsp;tXMLRPCInput component in Talend:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6VP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136344iB086678BE7BCBC9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6VP.jpg" alt="0683p000009M6VP.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;My question is how I need to define the "struct" part (highlighted in yellow)? I can't define a struct class in this case.&lt;/P&gt; 
&lt;P&gt;I basically need to add this part to the message:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;lt;struct&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;member&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;firstname&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;string&amp;gt;piet2&amp;lt;/string&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/member&amp;gt;&lt;BR /&gt;&amp;lt;/struct&amp;gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please help me because I'm out of options right now.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-message-to-RPC-API-by-using-tXMLRPCInput-component/m-p/2266398#M45625</guid>
      <dc:creator>rsmits</dc:creator>
      <dc:date>2024-11-16T05:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Send message to RPC API by using tXMLRPCInput component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Send-message-to-RPC-API-by-using-tXMLRPCInput-component/m-p/2266399#M45626</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;What's your source file? Are you trying to parse data from an XML file and pass its elements as parameter values to a RPC API by using tXMLRPCInput component?&lt;/P&gt; 
&lt;P&gt;If so, you could read your XML file and then retrive the root element node, parse it and store the values in globalMap on tJavaRow.&lt;/P&gt; 
&lt;P&gt;tFileInputXML--main--tJavaRow--oncomponentok--tXMLRPCInput--main--tLogRow&lt;/P&gt; 
&lt;P&gt;Let us know if it is what you are looking for.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 07:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Send-message-to-RPC-API-by-using-tXMLRPCInput-component/m-p/2266399#M45626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-19T07:31:16Z</dc:date>
    </item>
  </channel>
</rss>

