<?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: Temporary NameSpace (TNS)</title><link>https://www.infopathdev.com:443/forums/thread/29600.aspx</link><pubDate>Mon, 23 Jun 2008 06:31:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29600</guid><dc:creator>Ved.blogs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29600.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29600</wfw:commentRss><description>&lt;p&gt;Hey Thanks for the Reply.&lt;/p&gt;
&lt;p&gt;I could not get where i should&amp;nbsp;use this method. Moreover, I do not want to implement different code in different templates. I want to follow the same code throughout the templates. So instead of Changing code, i would like to have Secondary Data Connection returning same name space each time.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ved&lt;/p&gt;</description></item><item><title>Re: Temporary NameSpace (TNS)</title><link>https://www.infopathdev.com:443/forums/thread/29579.aspx</link><pubDate>Sat, 21 Jun 2008 05:15:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29579</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29579.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29579</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Use setproperty(string name, object value) method. First get the secondary dom then apply the method on this dom.&lt;/p&gt;
&lt;p&gt;ex: dom.setProperty(&amp;quot;SelectionNamespaces&amp;quot;, &amp;quot;here mention the name space with which you want to access&amp;quot;&amp;nbsp;)&lt;/p&gt;</description></item><item><title>Temporary NameSpace (TNS)</title><link>https://www.infopathdev.com:443/forums/thread/29500.aspx</link><pubDate>Thu, 19 Jun 2008 12:38:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29500</guid><dc:creator>Ved.blogs</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29500</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a data connection through web service. Web service is returing XML Document that i am able to use successfully.for Using the data connection, obviously secodary data source is created. The Web service takes two input parameters.The Problem is: In the secondary data source; the parameters are tns:Param1 and tns:param2. I believe &amp;quot;tns&amp;quot; represents Temp NameSpace.&lt;/p&gt;
&lt;p&gt;I do not want tns; instead i want ns1 (namespace1)&amp;nbsp;for maintaining consistency in different infopath templates. The same web service is returning ns1 in different template. &lt;/p&gt;
&lt;p&gt;Can seomebody tell me, how can we change the namespace &amp;quot;tns&amp;quot; to &amp;quot;ns1&amp;quot;. Or why is it returning ns1 at one place and tns at another place. (I am using InfoPath 2007; with MOSS 2007.)&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ved&lt;/p&gt;</description></item></channel></rss>