<?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 Working with tXMLRPCInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254539#M37522</link>
    <description>&lt;P&gt;I want the following input in my tXMLRPCInput:&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;methodCall&amp;gt;
    &amp;lt;methodName&amp;gt;execute&amp;lt;/methodName&amp;gt;
    &amp;lt;params&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;dbname&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
               &amp;lt;value&amp;gt;&amp;lt;int&amp;gt;2&amp;lt;/int&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
               &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;fou&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;some.module&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;some_method&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        
        &amp;lt;!-- params --&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;param&amp;gt;
            	&amp;lt;value&amp;gt;&amp;lt;string&amp;gt;some.model_name&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
            &amp;lt;/param&amp;gt;
            
            &amp;lt;param&amp;gt;
            	&amp;lt;value&amp;gt;&amp;lt;string&amp;gt;another_param&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
            &amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
    &amp;lt;/params&amp;gt;
&amp;lt;/methodCall&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;I didn't find any example on how to use multi-dimensional value (struct, map, list, etc) for this component. Any clue?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 06:29:01 GMT</pubDate>
    <dc:creator>navds</dc:creator>
    <dc:date>2019-02-11T06:29:01Z</dc:date>
    <item>
      <title>Working with tXMLRPCInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254539#M37522</link>
      <description>&lt;P&gt;I want the following input in my tXMLRPCInput:&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;methodCall&amp;gt;
    &amp;lt;methodName&amp;gt;execute&amp;lt;/methodName&amp;gt;
    &amp;lt;params&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;dbname&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
               &amp;lt;value&amp;gt;&amp;lt;int&amp;gt;2&amp;lt;/int&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
               &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;fou&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;some.module&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;value&amp;gt;&amp;lt;string&amp;gt;some_method&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
        &amp;lt;/param&amp;gt;
        
        &amp;lt;!-- params --&amp;gt;
        &amp;lt;param&amp;gt;
            &amp;lt;param&amp;gt;
            	&amp;lt;value&amp;gt;&amp;lt;string&amp;gt;some.model_name&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
            &amp;lt;/param&amp;gt;
            
            &amp;lt;param&amp;gt;
            	&amp;lt;value&amp;gt;&amp;lt;string&amp;gt;another_param&amp;lt;/string&amp;gt;&amp;lt;/value&amp;gt;
            &amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
    &amp;lt;/params&amp;gt;
&amp;lt;/methodCall&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;I didn't find any example on how to use multi-dimensional value (struct, map, list, etc) for this component. Any clue?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 06:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254539#M37522</guid>
      <dc:creator>navds</dc:creator>
      <dc:date>2019-02-11T06:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Working with tXMLRPCInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254540#M37523</link>
      <description>&lt;P&gt;You can do this by using the Java classes that are specified for each parameter. So for a Map (for example), you can build your map data in a tJava like so....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;java.util.Map map = new java.util.HashMap();
map.put("name", "James");
map.put("age", 23);
map.put("address", "12 Baker Street");

globalMap.put("map_data", map);&lt;/PRE&gt; 
&lt;P&gt;The map is added to the globalMap so that you can use it anywhere in the job. When you get to your tXMLRPCInput component, your map parameter will be set up with a class value of "java.util.Map.class" and your value will be....&lt;/P&gt; 
&lt;PRE&gt;globalMap.get("map_data")&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Feb 2019 10:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254540#M37523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T10:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Working with tXMLRPCInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254541#M37524</link>
      <description>Thanks but the structure don't look like a map, didn't work. I tried Vector&amp;lt;Object&amp;gt; too but didn't work, List neither. Unfortunately, there is no way to print out the data sent for debugging purpose. 
&lt;BR /&gt;I am out of idea now 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 11 Feb 2019 13:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254541#M37524</guid>
      <dc:creator>navds</dc:creator>
      <dc:date>2019-02-11T13:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Working with tXMLRPCInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254542#M37525</link>
      <description>&lt;P&gt;What does the structure look like? Can I see the documentation anywhere? The structure example you posted I am not sure is a valid structure since I do not believe that a &amp;lt;param&amp;gt; element can contain a &amp;lt;param&amp;gt; element. I assumed that it was an example of the type of thing you wanted to achieve.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 14:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254542#M37525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T14:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Working with tXMLRPCInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254543#M37526</link>
      <description>The structure above is correct and it works in Postman. The second param is the argument of the method some_method.</description>
      <pubDate>Mon, 11 Feb 2019 14:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254543#M37526</guid>
      <dc:creator>navds</dc:creator>
      <dc:date>2019-02-11T14:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Working with tXMLRPCInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254544#M37527</link>
      <description>&lt;P&gt;OK, well looking at the structure I would try out the&amp;nbsp;java.lang.Object[].class option and create a String[] of your values in Java. Save that in the globalMap and reference that in the component. For example....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;String[] array = { "hello", "world", "how",
    "are", "you" };
globalMap.put("array",array);&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;This works perfectly using this useful site for testing this sort of stuff out ....&lt;/P&gt; 
&lt;P&gt;&lt;A href="http://phpxmlrpc.sourceforge.net/server.php?methodName=interopEchoTests.echoStringArray" target="_blank" rel="nofollow noopener noreferrer"&gt;http://phpxmlrpc.sourceforge.net/server.php?methodName=interopEchoTests.echoStringArray&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 15:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Working-with-tXMLRPCInput/m-p/2254544#M37527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T15:57:30Z</dc:date>
    </item>
  </channel>
</rss>

