<?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: Handling complex type array with the twebservice component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Handling-complex-type-array-with-the-twebservice-component/m-p/2336764#M105174</link>
    <description>Is there any wrong with my question?</description>
    <pubDate>Tue, 23 Jul 2013 16:31:23 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2013-07-23T16:31:23Z</dc:date>
    <item>
      <title>Handling complex type array with the twebservice component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-complex-type-array-with-the-twebservice-component/m-p/2336762#M105172</link>
      <description>Hi All, 
&lt;BR /&gt; I have to pass a complex type array as input parameter to the twebservice component. 
&lt;BR /&gt; I need to call CustomersCreate function(like example below in php) and pass the required arguments to that 
&lt;BR /&gt; function using twebservice component. 
&lt;BR /&gt; 
&lt;PRE&gt;  $customerArray=array(array('email' =&amp;gt; 'abcd@example.org', 'firstname' =&amp;gt; 'first1', 'lastname' =&amp;gt; 'last1',&lt;BR /&gt;  'password' =&amp;gt; 'password'),&lt;BR /&gt;   array('email' =&amp;gt; 'abcd1@example.org', 'firstname' =&amp;gt; 'first2', 'lastname' =&amp;gt; 'last2', 'password' =&amp;gt; &lt;BR /&gt;   'password'));&lt;BR /&gt;   CustomersCreate(array('sessionId'=&amp;gt;$sessionID2,'customerArray'=&amp;gt;$customerArray))&lt;/PRE&gt; 
&lt;BR /&gt;Followed this post : 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=90276#p90276" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=90276#p90276&lt;/A&gt; 
&lt;BR /&gt; I'm creating a complex array like below: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;   &lt;BR /&gt;       java.util.HashMap customer_map1 = new java.util.HashMap();&lt;BR /&gt;	customer_map.put("email","abcd@abcd.com");&lt;BR /&gt;	customer_map.put("firstname","first1");&lt;BR /&gt;	customer_map.put("lastname","last1");&lt;BR /&gt;	customer_map.put("password","password");&lt;BR /&gt;      &lt;BR /&gt;      java.util.HashMap customer_map2 = new java.util.HashMap();&lt;BR /&gt;	customer_map.put("email","abcd@abcd.com");&lt;BR /&gt;	customer_map.put("firstname","first2");&lt;BR /&gt;	customer_map.put("lastname","last2");&lt;BR /&gt;	customer_map.put("password","password");&lt;BR /&gt;	&lt;BR /&gt;     java.util.ArrayList values_list = new java.util.ArrayList();&lt;BR /&gt;     java.util.ArrayList values_list1 = new java.util.ArrayList();&lt;BR /&gt;     values_list.add(customer_map1 );&lt;BR /&gt;     values_list.add(customer_map2 );&lt;BR /&gt;     &lt;BR /&gt;     values_list1.add(values_list);&lt;/PRE&gt; 
&lt;BR /&gt;And passing the "values_list1" as input parameter to the CustomersCreate function of twebservice component. 
&lt;BR /&gt; Is this the correct way to pass a complex array as an input parameter or am I doing wrong? 
&lt;BR /&gt; 
&lt;BR /&gt; I want to map total customerArray as input parameter but not each and every field that it has.Because 
&lt;BR /&gt; array contains multiple customer records.(Attached screen shot) 
&lt;BR /&gt; Can any one please tell me the way how I can handle this scenario? 
&lt;BR /&gt; Best regards, 
&lt;BR /&gt; sayagoud ravelly 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-complex-type-array-with-the-twebservice-component/m-p/2336762#M105172</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T11:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Handling complex type array with the twebservice component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-complex-type-array-with-the-twebservice-component/m-p/2336763#M105173</link>
      <description>Can any one please guide me how can I do the mapping of a complex array with twebservice?
&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 23 Jul 2013 12:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-complex-type-array-with-the-twebservice-component/m-p/2336763#M105173</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-07-23T12:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Handling complex type array with the twebservice component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-complex-type-array-with-the-twebservice-component/m-p/2336764#M105174</link>
      <description>Is there any wrong with my question?</description>
      <pubDate>Tue, 23 Jul 2013 16:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-complex-type-array-with-the-twebservice-component/m-p/2336764#M105174</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-07-23T16:31:23Z</dc:date>
    </item>
  </channel>
</rss>

