<?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: storing xml values in database</title><link>https://www.infopathdev.com:443/forums/thread/53426.aspx</link><pubDate>Wed, 07 Apr 2010 15:07:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53426</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53426.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=53426</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Perhaps you&amp;#39;re having trouble finding such an example because a generic solution would be too complex to put on a blog, and anything else would be too case-specific.&amp;nbsp; The general steps to accomplish what you want are:&lt;/p&gt;&lt;blockquote&gt;&lt;ol&gt;&lt;li&gt;Receive the XML as a string and load it into an XmlDocument object. Create a corresponding XmlNamespaceManager object to handle the namespaces.&lt;/li&gt;&lt;li&gt;Create an SqlConnection to your database and use an SqlCommand that will perform the insert.&lt;/li&gt;&lt;li&gt;Iterate through the nodes in the XML document, executing an SqlCommand with each set of data.&lt;/li&gt;&lt;/ol&gt;&lt;/blockquote&gt;&lt;p&gt;The above assumes you don&amp;#39;t need to enforce any sort of permissions at the server, or modify the values in the database using InfoPath afterwards.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If, given the above steps, you still can&amp;#39;t figure out how to accomplish the task without someone handing you the code, then the question is - How do you intend to maintain the code? (and it will need maintaining).&lt;/p&gt;&lt;p&gt;&amp;nbsp; Part of making good business solutions is knowing what&amp;#39;s already out there so you don&amp;#39;t waste time and money reinventing the wheel.&amp;nbsp; Qdabra has spent thousands of man-hours developing a product that does exactly what you want to do (and more), and is offering it to you at a rock-bottom price.&amp;nbsp; When you consider the amount of time and money your company has already spent on your searching for a special-case, single-use approach, it&amp;#39;s not that hard to see that the smart money is with DBXL.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: storing xml values in database</title><link>https://www.infopathdev.com:443/forums/thread/53422.aspx</link><pubDate>Wed, 07 Apr 2010 14:32:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53422</guid><dc:creator>evvo1961</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53422.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=53422</wfw:commentRss><description>&lt;p&gt;yes you posted this before... its not an option for our company...&lt;/p&gt;
&lt;p&gt;im seeking a coding solution... someone must have done this before within C# / .net im assuming...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: storing xml values in database</title><link>https://www.infopathdev.com:443/forums/thread/53411.aspx</link><pubDate>Wed, 07 Apr 2010 13:34:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53411</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53411.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=53411</wfw:commentRss><description>&lt;p&gt;Hi Evvo1961 and welcome,&lt;/p&gt;
&lt;p&gt;Qdabra Software pays for this free forum. Our goal is to reply to 90% of weekly forum posts (within the week). We provide many coding samples and advice. However, we have to make money to continue providing this service, so we have developed some very inexpensive tools to address the most common gaps in InfoPath. The most common is SQL integration. We have a free trial of DBXL available that you can download and use to get your form submitting to SQL within an hour. It&amp;#39;s very inexpensive if you choose to buy a Beginner license - far less than the time it would take you to create a Web Service to programmatically map the values to SQL. DBXL is data driven so it supports multiple XSNs and no recompile of the Web service is needed. Since it&amp;#39;s data driven, you can change your form&amp;#39;s schema (data source) or your database and the submit process won&amp;#39;t fail. DBXL stores your form as an XML blob in the database alongside the mapped out tables. It supports mapping repeating structures to children, grandchildren, great-grandchildren, ..., &amp;nbsp;tables. Lots of other features too.&lt;/p&gt;
&lt;p&gt;Thanks for understanding our position on this.&lt;/p&gt;</description></item><item><title>storing xml values in database</title><link>https://www.infopathdev.com:443/forums/thread/53405.aspx</link><pubDate>Wed, 07 Apr 2010 09:16:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53405</guid><dc:creator>evvo1961</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=53405</wfw:commentRss><description>&lt;p&gt;im seeking to store the values of my infopath form&amp;nbsp;to a sql server database but cannot seem&amp;nbsp;to find any online examples that work.&lt;/p&gt;
&lt;p&gt;im posting the infopath data to a web service as an xml document. &lt;/p&gt;
&lt;p&gt;this file will include repeating table rows data as multiple elements in the xml file.&lt;/p&gt;
&lt;p&gt;all i want to do is read and store this data into a sql server database. ideally a record in the database for each repeating table row the user enters into the form (1 - many)&lt;/p&gt;
&lt;p&gt;can anyone provide example code to do this exercise?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>