<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Writing InfoPath XML to SQL via web service</title><link>https://www.infopathdev.com:443/forums/thread/49648.aspx</link><pubDate>Thu, 03 Dec 2009 05:41:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49648</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49648</wfw:commentRss><description>&lt;p&gt;David,&lt;/p&gt;
&lt;p&gt;Gee, you know we&amp;#39;re super busy around here. Have you tried contacting the person who wrote that blog? &lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;</description></item><item><title>Writing InfoPath XML to SQL via web service</title><link>https://www.infopathdev.com:443/forums/thread/49640.aspx</link><pubDate>Wed, 02 Dec 2009 16:50:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49640</guid><dc:creator>David Fingerhut</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49640</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to follow &lt;span class="author" id="author"&gt;&lt;a href="http://aspalliance.com/author.aspx?uId=58992"&gt;S.Y.M. Wong-A-Ton&lt;/a&gt;&amp;#39; s instructions for saving InfoPath XML to SQL via&amp;nbsp;a web service.&amp;nbsp; I&amp;#39;m not sure whether I set up the Visual Studio Project correctly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="author"&gt;When I access the&amp;nbsp;web page from InfoPath, the error I get is:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="author"&gt;&amp;quot;A namespace cannot directly contain members such as fields or methods&amp;quot;. &lt;br /&gt;&amp;nbsp;&lt;br /&gt;A portion of my code is below.&amp;nbsp; The line that gets the error is indicated.&lt;br /&gt;P.S.&amp;nbsp; I&amp;#39;m new at this so it might be an obvious error. &lt;/span&gt;&lt;/p&gt;&lt;span class="author"&gt;
&lt;p&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.WebControls;&lt;/p&gt;
&lt;p&gt;namespace SubmitResourceRequestForm&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public partial class _Default : System.Web.UI.Page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;ERROR IS ON THIS LINE ---&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Xml.XPath.XPathDocument xDoc =&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new System.Xml.XPath.XPathDocument(Request.InputStream);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Xml.XPath.XPathNavigator navigator = xDoc.CreateNavigator();&lt;/p&gt;
&lt;p&gt;&lt;/span&gt;&lt;span class="author"&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>