<?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 connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/70262.aspx</link><pubDate>Tue, 13 Sep 2011 18:33:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70262</guid><dc:creator>SurajShetty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=70262</wfw:commentRss><description>This worked great! However, there was one other problem in addition.

If you are using a select statement to query data from a database, and a given table has contraints (such as an ID column being Not Null) you HAVE to have those fields in your select statement, otherwise the DatabaseAdapter used internally will error out and throw another useless error. Had to dig in the server logs to find this one. Moreover, if the contraints change, then your query might potentially have to change (if a new required field is added) unless you wildcard it.

thanks,
suraj</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/41738.aspx</link><pubDate>Thu, 14 May 2009 22:27:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41738</guid><dc:creator>kthomasl@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=41738</wfw:commentRss><description>&lt;p&gt;to use the BDC you must create and import a BDC application. to accomplish creating an applicatoin you can either use BDCMetaman (that&amp;#39;s the one I use) or you can download and install the microsoft SDK for Sharepoint and use their tool, it&amp;#39;s free, but not as intuitive as BDCMetaman.&amp;nbsp; Once you have created the application, you are able to import it using an option in SharedServices. when it&amp;#39;s imported and security is set you are able to create a custom list on any site usin the application you imported.&lt;/p&gt;</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/41737.aspx</link><pubDate>Thu, 14 May 2009 22:19:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41737</guid><dc:creator>sschempp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41737.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=41737</wfw:commentRss><description>&lt;p&gt;Could you point me in the right direction using and configuring BDC.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-Stephen&lt;/p&gt;</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/41736.aspx</link><pubDate>Thu, 14 May 2009 21:59:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41736</guid><dc:creator>kthomasl@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41736.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=41736</wfw:commentRss><description>&lt;p&gt;your using both an SSO app and Kerberos. We were never able to resolve our issue using this method, so we are turning to the BDC. so far, that seems to work well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m sure this does not help, and I believe you are on the right path.. let me know if you discover anything else.&lt;/p&gt;</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/41735.aspx</link><pubDate>Thu, 14 May 2009 21:40:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41735</guid><dc:creator>sschempp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=41735</wfw:commentRss><description>&lt;p&gt;Hi, I am struggling trying to get through the same issue. Do you notice anything wrong?&lt;/p&gt;
&lt;p&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;lt;udc:Authentication&amp;gt;&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; &amp;nbsp;&amp;nbsp;&amp;lt;udc:SSO AppId= &amp;#39;MyNPLSSO&amp;#39; CredentialType= &amp;#39;Kerberos&amp;#39;&amp;gt;&amp;lt;/udc:SSO&amp;gt;&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;lt;/udc:Authentication&amp;gt;&lt;br /&gt;&lt;br /&gt;Your help is greatly appreciated!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/38306.aspx</link><pubDate>Wed, 11 Feb 2009 07:36:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38306</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38306.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=38306</wfw:commentRss><description>&lt;p&gt;Hi K Thomas and welcome,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m terribly sorry about the no response here. Dreadful! I will try to remedy this in the future. We do have a policy of replying to all threads within 48 hours. We failed you and for that I am sorry. Anyway, my guess is that you overwhelmed our crew here.&lt;/p&gt;
&lt;p&gt;SSO is indeed needed when your Web Service is on a different server. It sounds like you did everything by the book (creating UDCs, etc.). SSO can be a pain in the neck. &lt;/p&gt;
&lt;p&gt;Anyway, glad to hear you got it working. Let me&amp;nbsp;know if you run into any other problems. &lt;/p&gt;</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/38275.aspx</link><pubDate>Tue, 10 Feb 2009 15:00:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38275</guid><dc:creator>kthomasl@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38275.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=38275</wfw:commentRss><description>&lt;p&gt;this did not produce the conversations I was hoping for.. but thought I should end this thread.&amp;nbsp; this is how we resolved the aformentioned issue.&lt;/p&gt;
&lt;h1 style="MARGIN:24pt 0in 0pt;"&gt;&lt;font face="Cambria" color="#365f91" size="5"&gt;Office Single Sign-on Service&lt;/font&gt;&lt;/h1&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;To solve the problem use the Office Single Sign-on Service, there are two things to do.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-add-space:auto;mso-list:l0 level1 lfo1;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Configure the Single Sign-on service&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-add-space:auto;mso-list:l0 level1 lfo1;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Configure the Data Connection file to use the SSO Service&lt;/font&gt;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;h2 style="MARGIN:10pt 0in 0pt;"&gt;&lt;font face="Cambria" color="#4f81bd" size="4"&gt;Step 1 – Configure the Single Sign-on Service&lt;/font&gt;&lt;/h2&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Follow the steps outlined in this article:&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc262932.aspx"&gt;&lt;font face="Calibri" color="#800080" size="3"&gt;http://technet.microsoft.com/en-us/library/cc262932.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;h2 style="MARGIN:10pt 0in 0pt;"&gt;&lt;font face="Cambria" color="#4f81bd" size="4"&gt;Step 2 – Configure the data connection file&lt;/font&gt;&lt;/h2&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Assuming you’ve created a data connection file as outlined above, follow these steps to update it to use the single sign-on service.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l1 level1 lfo2;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Go to the SharePoint folder where the data connections are stored, download the data connection file&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-list:l1 level1 lfo2;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Alter the authentication section of the file to look as follows:&lt;/font&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;&amp;lt;udc:Authentication&amp;gt;&amp;lt;udc:SSO AppId=&amp;#39;myApp&amp;#39; CredentialType=&amp;#39;ntlm&amp;#39; /&amp;gt;&amp;lt;/udc:Authentication&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;Note: the AppId is the application name you created in the Manage Enterprise Application Definitions.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In Central Administration, goto Operations, Manage settings for single sign-on, then Manage Settings for enterprise application definitions.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In this window you should see an “Application” column.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;That is the name you will enter as AppId.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In my test box, I had an application name ‘domainGroup’ so my authentication string will be as follows:&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;&amp;lt;udc:Authentication&amp;gt;&amp;lt;udc:SSO AppId=&amp;#39;domainGroup&amp;#39; CredentialType=&amp;#39;ntlm&amp;#39; /&amp;gt;&amp;lt;/udc:Authentication&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;Visit this website to see more information on the authentication section of a UDC file:&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;http://msdn.microsoft.com/en-us/library/ms772017.aspx&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;LINE-HEIGHT:115%;mso-bidi-font-size:11.0pt;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoListParagraphCxSpLast" style="MARGIN:0in 0in 0pt 0.5in;TEXT-INDENT:-0.25in;mso-add-space:auto;mso-list:l1 level1 lfo2;"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri" size="3"&gt;3.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Calibri" size="3"&gt;Upload the file back to the data connections folder and approve the connection.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Publish your Infopath form using that data connection and you are ready to go.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/37157.aspx</link><pubDate>Thu, 15 Jan 2009 16:06:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37157</guid><dc:creator>kthomasl@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37157.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=37157</wfw:commentRss><description>&lt;p&gt;I want to provide more detail to this, so as to perhaps generate more interest and possible solutions.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;1. Our environment is this: We are under one AD domain and there are three servers involved. The first server is the Web Server for MOSS 2007, it uses a SQL 2005 database on another machine for it&amp;#39;s content.&amp;nbsp; We have another 2k3 server with SQL 2k5 on it for this scenario.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. I created a SQL 2k5 web service on the third machine&amp;nbsp;as follows.&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;CREATE TABLE DUFUS (FULLNAME VARCHAR(50)) -- JUST CREATE A TABLE&lt;/p&gt;
&lt;p&gt;--CREATE THE STORED PROCEDURE FOR INSERT INTO DUFUS&lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE udsp_InsertNameIntoDufus&lt;/p&gt;
&lt;p&gt;@FULLNAME VARCHAR(20)&lt;/p&gt;
&lt;p&gt;AS&lt;/p&gt;
&lt;p&gt;INSERT INTO DUFUS&lt;/p&gt;
&lt;p&gt;(FULLNAME)&lt;/p&gt;
&lt;p&gt;VALUES&lt;/p&gt;
&lt;p&gt;(@FULLNAME)&lt;/p&gt;
&lt;p&gt;GO&lt;/p&gt;
&lt;p&gt;--CREATE THE STORED PROCEDURE FOR SELECTING FROM DUFUS&lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE udsp_SelectNameFromDufus&lt;/p&gt;
&lt;p&gt;AS&lt;/p&gt;
&lt;p&gt;SELECT FULLNAME FROM DUFUS&lt;/p&gt;
&lt;p&gt;GO&lt;/p&gt;
&lt;p&gt;--CREATE ENDPOINT WEB SERVICE&lt;/p&gt;
&lt;p&gt;CREATE ENDPOINT SQL_DUFUSENDPOINT&lt;/p&gt;
&lt;p&gt;STATE = STARTED &lt;/p&gt;
&lt;p&gt;AS HTTP&lt;/p&gt;
&lt;p&gt;(&lt;/p&gt;
&lt;p&gt;PATH = &amp;#39;/DUFUS&amp;#39;, &lt;/p&gt;
&lt;p&gt;AUTHENTICATION = (INTEGRATED), &lt;/p&gt;
&lt;p&gt;PORTS = (CLEAR),&lt;/p&gt;
&lt;p&gt;CLEAR_PORT = 80, &lt;/p&gt;
&lt;p&gt;SITE = &amp;#39;or-viewpoint&amp;#39;&lt;/p&gt;
&lt;p&gt;) &lt;/p&gt;
&lt;p&gt;FOR SOAP&lt;/p&gt;
&lt;p&gt;(&lt;/p&gt;
&lt;p&gt;WEBMETHOD &amp;#39;GetNameFromDufus&amp;#39;&lt;/p&gt;
&lt;p&gt;(NAME = &amp;#39;Viewpoint.dbo.udsp_SelectNameFromDufus&amp;#39;),&lt;/p&gt;
&lt;p&gt;WEBMETHOD &amp;#39;InsertNameIntoDufus&amp;#39; &lt;/p&gt;
&lt;p&gt;(NAME = &amp;#39;Viewpoint.dbo.udsp_InsertNameIntoDufus&amp;#39;), &lt;/p&gt;
&lt;p&gt;BATCHES = DISABLED, &lt;/p&gt;
&lt;p&gt;WSDL = DEFAULT, &lt;/p&gt;
&lt;p&gt;DATABASE = &amp;#39;Viewpoint&amp;#39;, &lt;/p&gt;
&lt;p&gt;NAMESPACE = &amp;#39;http://tempURi.org&amp;#39;&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;
&lt;p&gt;--just testing the stored procedure&lt;/p&gt;
&lt;p&gt;EXEC udsp_InsertNameIntoDufus &amp;#39;YULE BRENNER&amp;#39;&lt;/p&gt;
&lt;p&gt;--just testing the stored procedure&lt;/p&gt;
&lt;p&gt;EXEC udsp_SelectNameFromDufus&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Create an InfoPath form to talk to this web service. It&amp;#39;s just a very simple form, one label and one text box for a name&lt;/p&gt;
&lt;p&gt;Create the submit options by selecting Tools&amp;gt;&amp;gt;Submit Options and selecting the check box next to &amp;quot;Allw users to submit this form&amp;quot; and select &amp;quot;Web Service&amp;quot; from the drop down list. Click on &amp;quot;Add&amp;quot; to create your data connection.&lt;/p&gt;
&lt;p&gt;Create a submit to the&amp;nbsp;URL.&amp;nbsp;&amp;nbsp;In&amp;nbsp;my case it&amp;#39;s &lt;a href="http://or-viewpoint/dufus?WSDL"&gt;http://or-viewpoint/dufus?WSDL&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Select the InsertNameIntoDufus method.&lt;/p&gt;
&lt;p&gt;Map the fields&lt;/p&gt;
&lt;p&gt;Name it something and finish and close.&amp;nbsp; Time to test it in InfoPath in Design mode - click Preview&lt;/p&gt;
&lt;p&gt;Enter a Name and click and Submit&lt;/p&gt;
&lt;p&gt;Go back to SQL server just to make sure data was written.&lt;/p&gt;
&lt;p&gt;And it works as expected.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;NOW - LET&amp;#39;S PUBLISH THIS FORM!!!! &lt;/p&gt;
&lt;p&gt;First we have to convert the data connection in InfPath to a data connections library in SharePoint.&lt;/p&gt;
&lt;p&gt;While your viewing your form in InfoPath (Design) select tools&amp;gt;&amp;gt;Data Connections and click on the convert button&lt;/p&gt;
&lt;p&gt;Insert the URL to the data connections library you have already created and give it a name&lt;/p&gt;
&lt;p&gt;Then navigate to your data connections library to approve the data connection&lt;/p&gt;
&lt;p&gt;Approve the Data&amp;nbsp; Connection and click on OK.&lt;/p&gt;
&lt;p&gt;Now the data connection is approved.&lt;/p&gt;
&lt;p&gt;Now we can publish the form to a new document library. Back in the Design mode of your infopath form you select &amp;quot;Publish Form Template&amp;quot; in the design tasks you then get the following:&lt;/p&gt;
&lt;p&gt;Select the first option, &amp;quot;To a SharePoint server with or without&amp;nbsp;InfoPath Forms Services&amp;quot;&amp;nbsp;and select next. Enter the URL to where you want to publish your form and select Next.&lt;/p&gt;
&lt;p&gt;Select Document Library and make sure the Enable this form to be filled out by using a browser is selected, click next&lt;/p&gt;
&lt;p&gt;We are going to create a new document library, hit next.&lt;/p&gt;
&lt;p&gt;Give it a name and click next&lt;/p&gt;
&lt;p&gt;Perhaps you want to view some columns in your SharePoint library, but we are not for this scenario, click next&lt;/p&gt;
&lt;p&gt;And finally, click &amp;quot;publish&amp;quot;. When it&amp;#39;s published, select close and open the document library.&lt;/p&gt;
&lt;p&gt;We have to modify the settings of the document library to open the form in a browser -&amp;nbsp;in the document library, click Settings and Form Library Settings, then select Advanced Settings under the General Settings header, then select Display as a Web Page under the Browser-Enabled Documents section.&lt;/p&gt;
&lt;p&gt;Select OK at the bottom of the page and navigate back to your document library and select &amp;quot;New&amp;quot; this should open your form in a browser. Enter a name into the text field and click submit.&lt;/p&gt;
&lt;p&gt;You are now presented with an error. that simply say&amp;#39;s &amp;quot;An erro occured while the form was being submitted&amp;quot;&lt;/p&gt;
&lt;p&gt;Why will it work in InfoPath and not in SharePoint? This is the conundrum. We have tried signing the form with a certificate and setting the domain level to full trust, but alas, the same result. Someone please tell me what&amp;#39;s going on..&lt;/p&gt;
&lt;p&gt;Thanks - Kyle&lt;/p&gt;
&lt;p&gt;(*****I have a word document&amp;nbsp;with screen shots if you are interestd*****)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/36516.aspx</link><pubDate>Fri, 02 Jan 2009 23:47:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36516</guid><dc:creator>kthomasl@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36516</wfw:commentRss><description>&lt;p&gt;Just a quick update - we ended up creating a custom list in SharePoint with the data that comes from the database table we were attempting to use. Then we modified our form to pull from the custom list and voila - all is well in the world again. If someone out there has a better solution, I&amp;#39;m all ears as I&amp;#39;m sure our first solution to create a SQL2k5 web service really should have worked as expected.&lt;/p&gt;</description></item><item><title>InfoPath cannot connect to a data sources when Opened in a browser</title><link>https://www.infopathdev.com:443/forums/thread/36420.aspx</link><pubDate>Tue, 30 Dec 2008 23:51:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36420</guid><dc:creator>kthomasl@yahoo.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36420.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=36420</wfw:commentRss><description>&lt;p&gt;We have a form with two data connections that recieve data. One of them is &amp;quot;getuserprofilebyname&amp;quot; found in the SharePoint UserProfileService.asmx file. The second data connection is to our HRIS system. This is a separate database on a separate box. I have created the stored procedures and the webservice myself. I can consume that webservice while using info path, I am also able to convert the dataconnections into a SharePoint data connections library and approve them. I then publish the form to a form library and am still able to open the the form in InfoPath - however when I change the document library to open the form in a browser I get the error &amp;quot;6932 canot connect to the datasource...&amp;quot;&amp;nbsp; here is the exact text &lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;An error occurred accessing a data source.&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;An entry has been added to the Windows event log of the server.&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;Log ID:6932&amp;quot;&lt;/p&gt;
&lt;p&gt;We have checked the following:&lt;/p&gt;
&lt;font size="2"&gt;
&lt;p&gt;• Allow users to browser-enable form templates&lt;/p&gt;&lt;/font&gt;&lt;font face="MS Shell Dlg" size="2"&gt;&lt;font face="MS Shell Dlg" size="2"&gt;
&lt;p&gt;• Render form templates that are browser-enabled by users &lt;/p&gt;
&lt;p&gt;• Allow embedded SQL authentication &lt;/p&gt;
&lt;p&gt;• Allow user form templates to use authentication information contained in data connection files &lt;/p&gt;
&lt;p&gt;• Allow cross-domain data access for user form templates that use connection settings in a data connection file &lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;We are running MOSS2007 enterprise and have FormsServices enabled. We have successfully published one form already, that form only consumes the getuserprofilebyname web service provided by SharePoint.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please, please please help!&lt;/p&gt;
&lt;p&gt;Kyle&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>