<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to GetListItems Lists.asmx</title><link>https://www.infopathdev.com:443/forums/thread/66969.aspx</link><pubDate>Tue, 31 May 2011 15:29:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66969</guid><dc:creator>aninfoworker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66969</wfw:commentRss><description>&lt;p&gt;Sometimes bad news are better than none, so I appreciate your detailed and very helpful answer!&lt;/p&gt;&lt;p&gt;I was hoping that there might be an automated string to XmlNode conversion in InfoPath and that I&amp;#39;ve only have to format the strings right. But you dashed my hope and I&amp;#39;ll seek for a code behind solution (the InfoPath form is part of a compley workflow, I tried to avoid more complexity by adding code behind).&lt;/p&gt;&lt;p&gt;Another approach for my problem&amp;nbsp;could be retrieve all data and filter the external list&amp;#39;s data on the client. I&amp;#39;ve to test if this is not a performance killer...&lt;/p&gt;&lt;p&gt;Perhaps I&amp;#39;m developing my custom &amp;quot;string parameter webservice&amp;quot; to consume in InfoPath...&lt;/p&gt;</description></item><item><title>Re: How to GetListItems Lists.asmx</title><link>https://www.infopathdev.com:443/forums/thread/66967.aspx</link><pubDate>Tue, 31 May 2011 15:14:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66967</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66967.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66967</wfw:commentRss><description>&lt;p&gt;Sorry to be the bearer of bad tidings, but to my knowledge there is no way to use GetListItems in InfoPath with a data connection. You can write code to call the web service. Or you can try &lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/05/15/Query-for-Items-in-SharePoint-Form-Library-Using-GetListItems-Web-Method.aspx"&gt;this&lt;/a&gt; approach, which combines code and an IP data connection, but involves manual modifications of the template files as well. I&amp;#39;ve never walked through that blog post, so I have no idea how well it works.&lt;/p&gt;
&lt;p&gt;Oh, and when you want to know more about parameters for a SharePoint web service, MSDN is the place to go. Here&amp;#39;s the &lt;a href="http://msdn.microsoft.com/en-us/library/lists.lists.getlistitems(v=office.12).aspx"&gt;scoop&lt;/a&gt; on GetListItems. As you can see, the method expects several XmlNodes -- from your IP data connection, you are only able to pass in strings.&lt;/p&gt;
&lt;p&gt;And, to answer your original question a bit more, from MSDN:&lt;/p&gt;
&lt;p&gt;&lt;span class="parameter"&gt;&lt;em&gt;webID&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Optional. A string containing the GUID of the parent Web site for the list surrounded by curly braces (&lt;strong&gt;{}&lt;/strong&gt;). Setting this parameter to &lt;strong&gt;null&lt;/strong&gt; means the Web site specified by the &lt;strong&gt;Url&lt;/strong&gt; property of the service will be used, and if the &lt;strong&gt;Url&lt;/strong&gt; property of the service is not specified, the root Web site will be used.&lt;/p&gt;</description></item><item><title>Re: How to GetListItems Lists.asmx</title><link>https://www.infopathdev.com:443/forums/thread/66949.aspx</link><pubDate>Tue, 31 May 2011 09:17:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66949</guid><dc:creator>aninfoworker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66949</wfw:commentRss><description>&lt;p&gt;Yes, I&amp;#39;m using SharePoint 2010.&amp;nbsp;I&amp;#39;m not experienced in OData services, but I&amp;#39;ve used Lists.asmx in Visual Studio but not without code in InfoPath. I hoped that I can omit the code-behind class and just use the InfoPath GUI, but it seems to be even more difficult than accessing Lists.asmx in a code-behind file!&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I try to use &lt;a href="http://sharepoint/_vti_bin/listdata.svc"&gt;http://sharepoint/_vti_bin/listdata.svc&lt;/a&gt;&amp;nbsp;(in the browser)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span id="ctl00_PlaceHolderMain_LabelMessage"&gt;The type &amp;quot;System.Data.Services.Providers.IDataServiceUpdateProvider&amp;quot; in assembly&amp;nbsp; 
&amp;quot;System.Data.Services, Version=3.5.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089&amp;quot;&amp;nbsp;could not be loaded.&lt;/span&gt;&lt;/p&gt;&lt;p&gt; (I&amp;#39;ve translated the message to english, so there&amp;#39;s a chance that it might sound a little bit different in original English)&lt;/p&gt;&lt;p&gt;In InfoPath it doesn&amp;#39;t work, too.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Update: &lt;/p&gt;&lt;p&gt;There&amp;#39;s a need to install an update. I followed the instructions in this post&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://blog.fpweb.net/sharepoint-2010-fix-for-common-odata-error/"&gt;http://blog.fpweb.net/sharepoint-2010-fix-for-common-odata-error/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;and the listdata.svc call in the browser shows me XML data :-)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Showstopper&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ve to access an external list (BCS) not a native SharePoint list. Unfortunately as Clayton Cobb (MVP) said here &lt;a href="http://social.technet.microsoft.com/Forums/en-CA/sharepoint2010customization/thread/cea27774-ae15-42b9-bf8f-015281cfe5e0"&gt;http://social.technet.microsoft.com/Forums/en-CA/sharepoint2010customization/thread/cea27774-ae15-42b9-bf8f-015281cfe5e0&lt;/a&gt;&amp;nbsp;there&amp;#39;s no support for external lists with ListData.svc :-(&lt;/p&gt;&lt;p&gt;That&amp;#39;s why I have to come back to my initial question: &lt;/p&gt;&lt;p&gt;&lt;strong&gt;How to use the method GetListItems of the webservice &lt;/strong&gt;&lt;a href="http://sharepoint/_vti_bin/Lists.asmx"&gt;&lt;strong&gt;http://sharepoint/_vti_bin/Lists.asmx&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; in InfoPath 2010? What are the right values und format for the parameters of method GetListItems?&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: How to GetListItems Lists.asmx</title><link>https://www.infopathdev.com:443/forums/thread/66929.aspx</link><pubDate>Mon, 30 May 2011 20:41:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66929</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66929.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66929</wfw:commentRss><description>&lt;p&gt;Are you using SharePoint 2010? If so, you may want to look at using the OData interface - it&amp;#39;s much more powerful because it allows for filtering of the data and the interface is easy. I&amp;#39;ll ask Hilary to respond with more details.&lt;/p&gt;</description></item><item><title>How to GetListItems Lists.asmx</title><link>https://www.infopathdev.com:443/forums/thread/66924.aspx</link><pubDate>Mon, 30 May 2011 16:23:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66924</guid><dc:creator>aninfoworker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=66924</wfw:commentRss><description>&lt;p&gt;How to use the method GetListItems of the webservice &lt;a href="http://sharepoint/_vti_bin/Lists.asmx"&gt;http://sharepoint/_vti_bin/Lists.asmx&lt;/a&gt; in InfoPath 2010?&lt;/p&gt;&lt;p&gt;What are the right values und format for the parameters of method GetListItems? I&amp;#39;ve tried a lot, but none worked.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;tns:listName&lt;br /&gt;My List Name, Guid, xml encode listname,...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;tns:viewName&lt;br /&gt;View Name, Guid, &lt;/p&gt;&lt;p&gt;&amp;nbsp;tns:query&lt;br /&gt;&amp;lt;Query&amp;gt; [empty or ]&amp;nbsp;&amp;lt;/Query&amp;gt; &lt;br /&gt;&lt;a href="http://schemas.microsoft.com/sharepoint/soap/"&gt;0x82000000tns:viewFields&amp;#39;&amp;gt;&lt;/a&gt;&lt;/p&gt;&lt;a href="http://schemas.microsoft.com/sharepoint/soap/"&gt;0x82000000tns:viewFields&amp;#39;&amp;gt;&lt;p&gt;tns:viewFields&lt;/p&gt;&lt;/a&gt;&lt;p&gt;&amp;lt;ViewFields&amp;gt;&amp;lt;FieldRef Name=&amp;quot;ID&amp;quot; /&amp;gt;&amp;lt;FieldRef Name=&amp;quot;Title&amp;quot; /&amp;gt;&amp;lt;/ViewFields&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;tns:rowLimit&lt;br /&gt;10&lt;/p&gt;&lt;p&gt;tns:queryOptions&lt;br /&gt;??&lt;/p&gt;&lt;p&gt;&lt;br /&gt;tnsWebID&lt;br /&gt;the Guid of the current site?&lt;/p&gt;</description></item></channel></rss>