<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to configure data connection URL for production and development server</title><link>https://www.infopathdev.com:443/forums/thread/55515.aspx</link><pubDate>Wed, 02 Jun 2010 10:54:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55515</guid><dc:creator>Graeme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55515.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55515</wfw:commentRss><description>&lt;p&gt;Publishing to a normal IIS website. Not Sharepoint.&lt;/p&gt;</description></item><item><title>Re: How to configure data connection URL for production and development server</title><link>https://www.infopathdev.com:443/forums/thread/55512.aspx</link><pubDate>Wed, 02 Jun 2010 09:21:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55512</guid><dc:creator>Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55512</wfw:commentRss><description>&lt;p&gt;where exactly you are publishing your form? You said web site. Is it not SharePoint web site?&lt;/p&gt;</description></item><item><title>Re: How to configure data connection URL for production and development server</title><link>https://www.infopathdev.com:443/forums/thread/55510.aspx</link><pubDate>Wed, 02 Jun 2010 07:23:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55510</guid><dc:creator>Graeme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55510.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55510</wfw:commentRss><description>&lt;p&gt;Thanks, but as I said, I&amp;#39;m not using Sharepoint.&lt;/p&gt;</description></item><item><title>Re: How to configure data connection URL for production and development server</title><link>https://www.infopathdev.com:443/forums/thread/55508.aspx</link><pubDate>Wed, 02 Jun 2010 07:14:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55508</guid><dc:creator>Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55508.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55508</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Keep all your configuration items in a SharePoint list and access them from this list. So same configuration list you create it in the production environment with the same name.&lt;/p&gt;</description></item><item><title>Re: How to configure data connection URL for production and development server</title><link>https://www.infopathdev.com:443/forums/thread/55484.aspx</link><pubDate>Tue, 01 Jun 2010 14:30:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55484</guid><dc:creator>Graeme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55484.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55484</wfw:commentRss><description>&lt;p&gt;I need to do this too, but I&amp;#39;m not using Sharepoint.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been doing it manually in Visual Studio - first publishing to my test web site then updating all the datasource URLs and re-publishing to the prod web&amp;nbsp;site. This is tedious, especially since VS then creates new versions of all the xsd and xml files in the solution which causes grief with Source Safe.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there a better solution?&amp;nbsp; I don&amp;#39;t see where the code above would go...&lt;/p&gt;</description></item><item><title>Re: How to configure data connection URL for production and development server</title><link>https://www.infopathdev.com:443/forums/thread/54251.aspx</link><pubDate>Wed, 28 Apr 2010 03:56:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54251</guid><dc:creator>Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54251.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=54251</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You need to assign the url of the web service dynamically, See the sample code below:&amp;nbsp;&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;nbsp;&amp;nbsp; EmployeeInfoService.EmployeeData EmployeeDataServiceObject = new EmployeeInfoService.EmployeeData();&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; EmployeeDataServiceObject.PreAuthenticate = true;&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;nbsp;&amp;nbsp; EmployeeDataServiceObject.Credentials = CredentialCache.DefaultCredentials;&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; EmployeeDataServiceObject.Url = SPContext.Current.Site.Url.ToString() + &amp;quot;/_vti_bin/EmployeeDataService.asmx&amp;quot;;&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; //EmployeeDataServiceObject.Url = new SPSite(&amp;quot;&lt;a href="http://ushouvmet02d:1000/%22).OpenWeb().Url.ToString"&gt;http://ushouvmet02d:1000/&amp;quot;).OpenWeb().Url.ToString&lt;/a&gt;() + &amp;quot;/_vti_bin/EmployeeDataService.asmx&amp;quot;;&lt;/p&gt;</description></item><item><title>How to configure data connection URL for production and development server</title><link>https://www.infopathdev.com:443/forums/thread/54208.aspx</link><pubDate>Tue, 27 Apr 2010 12:38:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54208</guid><dc:creator>nthaka1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=54208</wfw:commentRss><description>&lt;p&gt;Hi Experts,&lt;/p&gt;&lt;p&gt;I have created one form in InfoPath using WebService as data sending and receiving medium. When I have developed this page in my local environment I have used web service from my local development environment.&lt;/p&gt;&lt;p&gt;Now I want to send it to customer where they will test this form&amp;#39;s functionality. But they will refere to other URL location, so how can we replce that localhost url to their production web service url.&lt;/p&gt;&lt;p&gt;Any kind&amp;nbsp; of suggestion will be greatly appreciated.&lt;/p&gt;&lt;p&gt;Thanks in Adv. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>