<?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: Dynamic WSDL address on a secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/20850.aspx</link><pubDate>Fri, 15 Jun 2007 19:02:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20850</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20850.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20850</wfw:commentRss><description>&lt;p&gt;Hi blackhawk,&lt;/p&gt;&lt;p&gt;You can do this, but I can&amp;#39;t remember off the top of my head.&amp;nbsp; You&amp;#39;ll want to look at either thisXDocument.DataAdapters or .DataObjects.&amp;nbsp; Once you get one of those objects you can programatically set which web service URL they point to.&lt;/p&gt;&lt;p&gt;With that said, we also have a deployment tool that you might be interested in.&amp;nbsp; After you create a config file, you can run this guy on the dev-version XSN to inject all the right data connections, and then just push it up to your server. &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.qdabra.com/proddetail.asp?prod=QDeployment"&gt;http://www.qdabra.com/proddetail.asp?prod=QDeployment&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Dynamic WSDL address on a secondary datasource</title><link>https://www.infopathdev.com:443/forums/thread/20774.aspx</link><pubDate>Thu, 14 Jun 2007 14:59:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20774</guid><dc:creator>blackhawk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20774.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=20774</wfw:commentRss><description>&lt;p&gt;Anyone know how to dynamically change the URL address that a secondary data source uses for a web service, or at least have it point to a form field so that I can change it dynamically?&amp;nbsp;&amp;nbsp; Maybe I am asking too much, but I would like to avoid messing with the source xml files because if someone re-publishes the form they won&amp;#39;t remember to update the files under the covers.&amp;nbsp;&amp;nbsp;&amp;nbsp; I know, I know, can I have my cake and eat it too?&lt;/p&gt;&lt;p&gt;I would like to avoid having to change&amp;nbsp;it manually&amp;nbsp;each time we publish to a different server (dev/qa/prod).&lt;/p&gt;&lt;p&gt;&amp;nbsp;thanks.&lt;/p&gt;</description></item></channel></rss>