<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Dynamic Data Connection using GetListItems</title><link>https://www.infopathdev.com:443/forums/thread/24948.aspx</link><pubDate>Wed, 05 Dec 2007 20:00:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24948</guid><dc:creator>Craig Schaefer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=24948</wfw:commentRss><description>&lt;p&gt;I found this article which suggests that GetListItems will not work without writing a proxy web service to translate the results:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://wssdev.blogspot.com/2007/06/infopath-use-sharepoint-web-services.html"&gt;http://wssdev.blogspot.com/2007/06/infopath-use-sharepoint-web-services.html&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&amp;#39;m hoping there is a way to do this with a CAML file used as a Secondary Data Source.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Dynamic Data Connection using GetListItems</title><link>https://www.infopathdev.com:443/forums/thread/24943.aspx</link><pubDate>Wed, 05 Dec 2007 19:40:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24943</guid><dc:creator>Craig Schaefer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=24943</wfw:commentRss><description>&lt;p&gt;I am trying to create a dynamic data connection by using the GetListItems web service, and using some of the tricks Matt mentions in the following post&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-SharePoint-List-Items-with-InfoPath.aspx"&gt;http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-SharePoint-List-Items-with-InfoPath.aspx&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Essentially, I will have a Combobox which allows you select which List you want the form to be pre-populated from (all lists have the same field layout).&amp;nbsp; When a value is selected, I will use rules to set a ListName field with the correct GUID.&amp;nbsp; Then I will refresh other controls on the form that derive their data from that list.&amp;nbsp; To do this, figured I could use the GetListItems web service, setting the&amp;nbsp;tns:listName value from the ListName field (as Matt did with the UpdateListItems web service).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;However, I cannot figure out how to populate the parms to get through the Data Connection Wizard for this web service.&amp;nbsp; I put the GUID for one of the lists, and when I press &amp;quot;next&amp;quot; I get the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The SOAP response indicates that an error occurred on the server:&lt;/p&gt;
&lt;p&gt;Exception of type &amp;#39;Microsoft.SharePoint.SoapServer.SoapServerException&amp;#39; was thrown.&lt;br /&gt;&amp;lt;detail&amp;gt;&amp;lt;errorstring xmlns=&amp;quot;&lt;a href="http://schemas.microsoft.com/sharepoint/soap/%22%3ERoot"&gt;http://schemas.microsoft.com/sharepoint/soap/&amp;quot;&amp;gt;Root&lt;/a&gt; element is missing.&amp;lt;/errorstring&amp;gt;&amp;lt;/detail&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Has anyone ever used the GetListItems web service?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>