<?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: Submit to sql database (via webservice) through secondary data connection !</title><link>https://www.infopathdev.com:443/forums/thread/52102.aspx</link><pubDate>Tue, 23 Feb 2010 22:07:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52102</guid><dc:creator>naydencho</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=52102</wfw:commentRss><description>&lt;p&gt;swetha,&lt;/p&gt;
&lt;p&gt;Did you ever find a solution to your question? I have a similar task and I am trying to find out if this is even possible... In my case I have a repeating table that pushes/pulls data from a web service using DataSet. It works fine if I setup the web service as the Main Datasource, but if it is the secondary I cannot get InfoPath to send the DataSet to the web service. it almost seems like DataSets are limited to use in the Main Datasource... But I cannot find definitive posting anywhere that states that.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Nayden&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Submit to sql database (via webservice) through secondary data connection !</title><link>https://www.infopathdev.com:443/forums/thread/50987.aspx</link><pubDate>Mon, 25 Jan 2010 21:57:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50987</guid><dc:creator>swetha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=50987</wfw:commentRss><description>&lt;p&gt;You can use this book : &amp;quot;Designing Forms for Microsoft Office Infopath and Forms Services 2007&amp;quot; -Scott Roberts ,Hagen Green.&lt;/p&gt;&lt;p&gt;Chapter 8 in this book talks about submitting data from an Infopath form. &lt;/p&gt;&lt;p&gt;For submitting data to SQL server database through a web service you would need to create a ADO.NET dataset submit , also mentioned in this chapter.&lt;/p&gt;&lt;p&gt;Hope this helps. &lt;/p&gt;&lt;p&gt;&amp;nbsp;-Swetha &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Submit to sql database (via webservice) through secondary data connection !</title><link>https://www.infopathdev.com:443/forums/thread/50909.aspx</link><pubDate>Fri, 22 Jan 2010 07:01:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50909</guid><dc:creator>JobeS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=50909</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I am quit new on development. I am required to create a submit connection, to submit InfoPath data to SQL Server via Web Services. I am not sure where to start. Can anyone give the related books or maybe site to read and get maybe the guide to do it?&lt;/span&gt;</description></item><item><title>Re: Submit to sql database (via webservice) through secondary data connection !</title><link>https://www.infopathdev.com:443/forums/thread/50908.aspx</link><pubDate>Fri, 22 Jan 2010 06:54:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50908</guid><dc:creator>JobeS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50908.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=50908</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Submit to sql database (via webservice) through secondary data connection !</title><link>https://www.infopathdev.com:443/forums/thread/31187.aspx</link><pubDate>Tue, 05 Aug 2008 00:35:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31187</guid><dc:creator>swetha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31187</wfw:commentRss><description>Clay,&lt;br /&gt;&lt;br /&gt;Thanks for your response!&lt;br /&gt;&lt;br /&gt;As you mentioned, I have the URL for the Web Service and ran through the Data Connection wizard, to no luck. Let me elaborate:&lt;br /&gt;&lt;br /&gt;My objective is to Submit data to a MS SQL backend via Web Services using a Secondary Data Source. For the sake of conversation, the database has one table with 2 columns - id(int), name(char(10)). The Web Method to SubmitData is as follows:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [WebMethod]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void SetDataSet(DataSet1 Data)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Data.HasChanges())&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&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; sqlDataAdapter1.Update(Data.tblOne);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;&lt;br /&gt;You can find the rest of the code here: http://pastebin.unl.edu/1401&lt;br /&gt;&lt;br /&gt;From Infopath, I create a new group called grpSubmit under myFields and it appears as follows:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;-myFIelds&lt;br /&gt;&amp;nbsp;|-- dataFields&lt;br /&gt;&amp;nbsp;|&amp;nbsp;&amp;nbsp; |---tns:SetDataSet&lt;br /&gt;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |--Data&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; |--ns1:DataSet1&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; |--(Choice)&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; |--tblOne&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;&amp;nbsp;&amp;nbsp; |---id (of type int)&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;&amp;nbsp;&amp;nbsp; |---name (of type string))&lt;br /&gt;&amp;nbsp;|--grpSubmit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;--- Custom created&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |--idSubmit (of type int)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |--nameSubmit (of (of type string)&lt;br /&gt;&lt;br /&gt;For a Data Source of type &amp;quot;Submit Data&amp;quot; using Web Services, how can I associate a custom created non-repeating field (idSubmit, nameSubmit) under a custom created group (grpSubmit) to a repeating-field (id, name) that is available in myFields ?&lt;br /&gt;&lt;br /&gt;I intend to a create a form using non-repeating controls (text box) bound to the non-repeating fields idSubmit and nameSubmit. Using a secondary data connection that I created to talk to the Web Service, I want to commit the values that the user entered in the text boxes to the database via the web service.&lt;br /&gt;&lt;br /&gt;The submit process works fine when I use the repeating controls and use the Main Data Connection, but fails when I create custom fields, non-repeating controls and update them using a Secondary Data Connection.&lt;br /&gt;&lt;br /&gt;The real database schema along with the forms involved limits me from using the Main Data Connection for submit.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Swetha</description></item><item><title>Re: Submit to sql database (via webservice) through secondary data connection !</title><link>https://www.infopathdev.com:443/forums/thread/31161.aspx</link><pubDate>Sun, 03 Aug 2008 18:27:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31161</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31161.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31161</wfw:commentRss><description>&lt;p&gt;You need to know the URL to the web service but then it is just running through the data connection wizard.&lt;/p&gt;</description></item><item><title>Submit to sql database (via webservice) through secondary data connection !</title><link>https://www.infopathdev.com:443/forums/thread/31151.aspx</link><pubDate>Sat, 02 Aug 2008 19:00:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31151</guid><dc:creator>swetha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31151</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Can any one&amp;nbsp; please list the steps to be followed to enable submitting a form through &lt;/p&gt;&lt;p&gt;a secondary data connection. i.e creating a submit connection after I created the&amp;nbsp; layout of the form.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Swetha&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>