<?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: tSOAP Load SharePoint list items from xml response in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296306#M68982</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for helping me. I did save the tSoap output as a document and imported it into tXMLMap to get the design but when I map the output to a tLogRow I only get 1 response/row when the document contains at least 40 rows of data.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If I change tSoap to &lt;STRONG&gt;not&lt;/STRONG&gt; Output in Document I get a different flow schema (Header, Body,Fault) from tSoap which I'm not sure how to work with in the XMLMap&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 09:27:51 GMT</pubDate>
    <dc:creator>mobmsc2</dc:creator>
    <dc:date>2017-06-29T09:27:51Z</dc:date>
    <item>
      <title>tSOAP Load SharePoint list items from xml response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296304#M68980</link>
      <description>&lt;P&gt;I've managed to use tSOAP to return data stored in an on-prem sharepoint site list but I'm having trouble working with the response data.&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;Is there a way for me to reduce the set of SharePoint list columns that get returned&lt;/LI&gt; 
 &lt;LI&gt;How do I extract the data out of the Response? I have been looking into tXMLMap but I'm not sure how to build the input to the XMLMap or if there is a way to have Talend do that for me&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;&lt;STRONG&gt;Some pointers&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;The output schema of tSOAP is 1 column called soap of type document, which gets detected by tXMLMap input as the attached image&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="InputtXMLMap.png" style="width: 188px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvCx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140843iFB8623F9133DCC0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvCx.png" alt="0683p000009LvCx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;If I untick "Output in Document" on tSOAP I get a schema (Header,Body,Fault) as input into tXMLPath&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tSOAP Settings&lt;/STRONG&gt;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Using NTML with valid domain, username and password values&lt;/LI&gt; 
 &lt;LI&gt;ENDPoint: "&lt;A href="https://mysharepoint.tld/SiteDirectory/MySite/_vti_bin/Lists.asmx" target="_blank" rel="nofollow noopener noreferrer"&gt;https://mysharepoint.tld/SiteDirectory/MySite/_vti_bin/Lists.asmx&lt;/A&gt;"&lt;/LI&gt; 
 &lt;LI&gt;SOAP Action "http:..schemas.microsoft.com/sharepoint/soap/GetListItems"&lt;/LI&gt; 
 &lt;LI&gt;SOAP Version 1.1&lt;/LI&gt; 
 &lt;LI&gt;Output in Document&lt;/LI&gt; 
 &lt;LI&gt;SOAP Message: listed below as code&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;STRONG&gt;Soap Message&lt;/STRONG&gt;&lt;/P&gt; 
&lt;PRE&gt;"&amp;lt;soap:Envelope xmlns:soap='http://www.w3.org/2003/05/soap-envelope' xmlns:soap1='http://schemas.microsoft.com/sharepoint/soap/'&amp;gt;
   &amp;lt;soap:Header/&amp;gt;
   &amp;lt;soap:Body&amp;gt;
      &amp;lt;soap1:GetListItems&amp;gt;
         &amp;lt;!--Optional:--&amp;gt;
         &amp;lt;soap1:listName&amp;gt;Supervisors&amp;lt;/soap1:listName&amp;gt;
      &amp;lt;/soap1:GetListItems&amp;gt;
   &amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Response&lt;/STRONG&gt;&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;
&amp;lt;soap:Body&amp;gt;
&amp;lt;GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"&amp;gt;
&amp;lt;GetListItemsResult&amp;gt;
&amp;lt;listitems xmlns:s="uuid:MYUUIF"
xmlns:dt="uuid:xmluuid"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema"&amp;gt;
&amp;lt;rs:data ItemCount="2"&amp;gt;
&amp;lt;z:row ows_Attachments="0"
ows_ID="1"
ows_LinkTitle="Mrs"
ows_FirstName="Sally"
ows_Surname="Smith"
ows_Column4="2000;#Sally.Smith"
ows_Column5="Toyato"
ows_Modified="2014-08-21 09:30:55"
ows_FileRef="1;#SiteDirectory/MySite/Lists/Names/1_.000"
ows_MetaInfo="1;#"/&amp;gt;
&amp;lt;z:row ows_Attachments="0"
ows_ID="2"
ows_LinkTitle="Mr"
ows_FirstName="Tom"
ows_Surname="Collins"
ows_UL_x0020_Identity="2001;#Tom.Collins"
ows_Column5="Ford"
ows_Modified="2014-08-21 09:34:37"
ows_FileRef="2;#SiteDirectory/MySite/Lists/Names/2_.000"
ows_MetaInfo="2;#"/&amp;gt;
&amp;lt;/rs:data&amp;gt;
&amp;lt;/listitems&amp;gt;
&amp;lt;/GetListItemsResult&amp;gt;
&amp;lt;/GetListItemsResponse&amp;gt;
&amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 14:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296304#M68980</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2017-06-26T14:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: tSOAP Load SharePoint list items from xml response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296305#M68981</link>
      <description>Hello 
&lt;BR /&gt;1. Copy the response and save them in a file. 
&lt;BR /&gt;2. On tXMLMap, right click on Soap node in the left table and select 'Import from file' to import the schema. 
&lt;BR /&gt;3. In the output table of tXMLMap, drag and drop the elements which you want to extract from the left table to right table. 
&lt;BR /&gt;
&lt;BR /&gt;Let me know if you have further questions.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 29 Jun 2017 04:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296305#M68981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T04:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: tSOAP Load SharePoint list items from xml response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296306#M68982</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for helping me. I did save the tSoap output as a document and imported it into tXMLMap to get the design but when I map the output to a tLogRow I only get 1 response/row when the document contains at least 40 rows of data.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If I change tSoap to &lt;STRONG&gt;not&lt;/STRONG&gt; Output in Document I get a different flow schema (Header, Body,Fault) from tSoap which I'm not sure how to work with in the XMLMap&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 09:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296306#M68982</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2017-06-29T09:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: tSOAP Load SharePoint list items from xml response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296307#M68983</link>
      <description>Hi 
&lt;BR /&gt;From the example response, I see there are two rows. You need to set z:row as loop element after you import the schema from file. 
&lt;BR /&gt;If you don't check the Output in Document, it returns body with string type, you need to use tExtractXMLFields rather than tXMLMap.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 29 Jun 2017 10:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSOAP-Load-SharePoint-list-items-from-xml-response/m-p/2296307#M68983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T10:11:47Z</dc:date>
    </item>
  </channel>
</rss>

