<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: infopath cannot open the selected form</title><link>https://www.infopathdev.com:443/forums/thread/38792.aspx</link><pubDate>Mon, 23 Feb 2009 15:28:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38792</guid><dc:creator>dristom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=38792</wfw:commentRss><description>&lt;p&gt;i resolved my problem by changing the class &lt;br /&gt;declaration in the web service.&amp;nbsp; i initially had a class with a reference to &lt;br /&gt;an array of tracts - a class containing a string variable.&amp;nbsp; i changed the &lt;br /&gt;class to reference an array of strings.&amp;nbsp; can&amp;#39;t say i understand why my first &lt;br /&gt;option doesn&amp;#39;t work - it&amp;#39;s a repeating section that resolves to a string.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public partial class tbl &lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; private Tracts[] TractUIDField;&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;&amp;nbsp; &amp;nbsp; [System.Xml.Serialization.XmlElementAttribute(&amp;quot;Tracts&amp;quot;)]&lt;br /&gt;&amp;nbsp; &amp;nbsp; public Tracts[] Tracts&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.TractUIDField;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.TractUIDField = value;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public partial class Tracts&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; private string TractUIDField;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; public string TractUID&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.TractUIDField;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.TractUIDField = value;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;i changed it to use&lt;br /&gt;changed to &lt;br /&gt;&lt;br /&gt;public partial class tbl&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; private string[] strTractField;&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;&amp;nbsp; &amp;nbsp; public string [] strTract&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.strTractField;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.strTractField = value;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/p&gt;</description></item><item><title>infopath cannot open the selected form</title><link>https://www.infopathdev.com:443/forums/thread/29064.aspx</link><pubDate>Fri, 30 May 2008 14:44:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29064</guid><dc:creator>dristom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29064.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=29064</wfw:commentRss><description>&lt;p&gt;i&amp;#39;ve created a web service for posting data to db - the ws is used as the main datasource.&amp;nbsp; i can create a form using this ws and post data with no issues.&amp;nbsp; when i add a secondary datasource (query only) for combo box lookup, form works fine.&amp;nbsp; when i add the second secondary datasource, i get the error &amp;quot;infopath cannot open the selected form&amp;quot; - no other info.&amp;nbsp; any help would be appreciated.&amp;nbsp; dr&lt;/p&gt;</description></item></channel></rss>