<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6673.aspx</link><pubDate>Mon, 16 May 2005 04:53:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6673</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6673</wfw:commentRss><description>O.K!</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6672.aspx</link><pubDate>Sun, 15 May 2005 17:12:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6672</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6672.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6672</wfw:commentRss><description>Liorlankri, are you expecting us to answer every simple question you ask? You can figure these out on your own. We are not here to show you how to do everything.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6671.aspx</link><pubDate>Sun, 15 May 2005 04:38:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6671</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6671.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6671</wfw:commentRss><description>I dont understand how. How to conect the drop down to it??? I need specific method int the web service and the XML file is contain only URL to this web service!!!&lt;br /&gt;How to do it via code??</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6670.aspx</link><pubDate>Wed, 11 May 2005 17:30:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6670</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6670</wfw:commentRss><description>It's easy, just select it in the Data Source drop down and start binding UI controls to it. Or, you can access it via your code.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6669.aspx</link><pubDate>Wed, 11 May 2005 08:39:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6669</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6669.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6669</wfw:commentRss><description>I created the Dataconnection to this xml file. What to do next? how to use thid Dataconnection in my form?</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6668.aspx</link><pubDate>Sun, 08 May 2005 10:43:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6668</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6668.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6668</wfw:commentRss><description>This can be your xml file&lt;br /&gt;&amp;lt;ConfigurationXML&amp;gt;&lt;br /&gt;    &amp;lt;URL&amp;gt&lt;a target="_blank" href=http://MyServer/FolderName/service1.asmx&amp;lt;/URL&amp;gt;&gt;http://MyServer/FolderName/service1.asmx&amp;lt;/URL&amp;gt;&lt;/a&gt;&lt;br /&gt;&amp;lt;/ConfigurationXML&amp;gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6667.aspx</link><pubDate>Sun, 08 May 2005 10:19:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6667</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6667.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6667</wfw:commentRss><description>Can you send to me the code of this xml file, please?</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6666.aspx</link><pubDate>Mon, 18 Apr 2005 19:48:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6666</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6666</wfw:commentRss><description>Add a Dataconnection to an xml file which contains this data.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6665.aspx</link><pubDate>Wed, 13 Apr 2005 06:58:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6665</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6665.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6665</wfw:commentRss><description>How to create the secondery DOM ?</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6664.aspx</link><pubDate>Tue, 12 Apr 2005 14:23:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6664</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6664.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6664</wfw:commentRss><description>You can have the URL in a secondary dom. OnLoad of the solution get the data from the secondary DOM and then set the URL for "s" using this. This is a much better way than to have the URL in app.config for an InfoPath solution.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6663.aspx</link><pubDate>Tue, 12 Apr 2005 09:36:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6663</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6663.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6663</wfw:commentRss><description>It's not help</description></item><item><title>Re: InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/6662.aspx</link><pubDate>Sun, 10 Apr 2005 22:27:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6662</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6662.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6662</wfw:commentRss><description>In InfoPath the way to set any data is to put it in a seconary DOM and read that data. This data can be changed easily by exporting it out changing the data and importing it back in.&lt;br /&gt;&lt;br /&gt;About having a config file to have this data -&amp;gt; the App.Config file for a regular C# code is renamed as app.exe.config, For an Infopath solution the C# code is made into a dll. You can try by renaming the file to app.dll.config and checking if that works. This is just an idea to try out, I personally have not tried this and cannot say for sure that it will work.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>InfoPath and .NET</title><link>https://www.infopathdev.com:443/forums/thread/4614.aspx</link><pubDate>Thu, 07 Apr 2005 17:26:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4614</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4614.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4614</wfw:commentRss><description>I have an Infopath project in VS.NET, My solution contains the Form project and web reference to the web service. I defined in the web service-&amp;gt; properties -&amp;gt; URL Behavior=Dynamic. That's action create to me this line in the App.confige file:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;add key="MyWebService" value="http://MyServer/FolderName/service1.asmx" /&amp;gt;&lt;br /&gt;&lt;br /&gt;When I added the web reference I get file called reference.cs whitch contain this code:&lt;br /&gt;&lt;br /&gt;public Service1() {&lt;br /&gt;&lt;br /&gt;                  &lt;br /&gt;&lt;br /&gt;            string urlSetting =   System.Configuration.ConfigurationSettings.AppSettings["MyWebService"];&lt;br /&gt;&lt;br /&gt;            if ((urlSetting != null)) {&lt;br /&gt;&lt;br /&gt;                this.Url = string.Concat(urlSetting, "");&lt;br /&gt;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            else {&lt;br /&gt;&lt;br /&gt;                this.Url = "http://MyServer/FolderName/service1.asmx ";&lt;br /&gt;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;This code supposed to search the key "MyWebService" in the App.config and to get it's value. But it's not work. When I debug it I see that the "if" condition not happen and it's go to the "else" section. I want that the Web service URL will be taken from the key in the App.config!!!!!&lt;br /&gt;&lt;br /&gt;By the way this is the way I create the web service in my code&lt;br /&gt;&lt;br /&gt;WSname.Service1 s=new WSname.Service1();&lt;br /&gt;&lt;br /&gt;How to do it??&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>