<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Total newbie question</title><link>https://www.infopathdev.com:443/forums/thread/65322.aspx</link><pubDate>Mon, 21 Mar 2011 16:24:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65322</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65322.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65322</wfw:commentRss><description>&lt;p&gt;Hi -- why won&amp;#39;t InfoPath insert data directly into your tables? What is the error you get when you try? Is it because the data structure is too complex?&lt;/p&gt;</description></item><item><title>Total newbie question</title><link>https://www.infopathdev.com:443/forums/thread/65155.aspx</link><pubDate>Tue, 15 Mar 2011 02:18:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65155</guid><dc:creator>hpd71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65155</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;We have an applicaton that stored its data in a SQL Server 2008R2 Express database.&lt;/p&gt;
&lt;p&gt;One of the tables in our database contains products. I am just looking at what infopath could do when it comes to creating some sort of form to add new records, and edit records in this table.&lt;/p&gt;
&lt;p&gt;I have already discovered that infopath won&amp;#39;t insert data directly into my sql tables, and that I will have to develop a web service to do this work.&lt;/p&gt;
&lt;p&gt;So being new to developing web services, I just created a &amp;nbsp;hello world&amp;nbsp;basic web service in vs2010. &lt;/p&gt;
&lt;p&gt;When browsing the asmx file in the browser,each function is listed, and when I try to use the web service in a infopath form it says&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Infopath cannot use the selected web service method to submit data because the method does not accept&amp;nbsp;a valid xml data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So I figure that I have to have a function that accepts XML data, and within the method I process the data, extracting the data values and the inserting into my sql table.&lt;/p&gt;
&lt;p&gt;I have not done this before, its all new to me... does anybody have an example they could show me on how to declare a web service method that would accept an xml document as is source, that would then be acceptable to design an infopath form&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>