<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>XML Web Services</title><link>http://forums.asp.net/28.aspx</link><description>All about building XML Web Services with ASP.NET - SOAP, WSDL, WCF, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=66&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Dynamic Web Service address</title><link>http://forums.asp.net/thread/3274687.aspx</link><pubDate>Sat, 04 Jul 2009 13:17:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274687</guid><dc:creator>johnwsaunders3</dc:creator><author>johnwsaunders3</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274687.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3274687</wfw:commentRss><description>&lt;p&gt;What I meant is that only one of those URLs matters. Here&amp;#39;s an experiment to try: one at a time, change each of those URLs to point to a host that does not exist. Change them to point to http://NOWHERE/. Then build and run the application.&lt;/p&gt;&lt;p&gt;Tell us which of those changes resulted in a change in your application.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Dynamic Web Service address</title><link>http://forums.asp.net/thread/3274494.aspx</link><pubDate>Sat, 04 Jul 2009 09:05:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274494</guid><dc:creator>rfm8</dc:creator><author>rfm8</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274494.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3274494</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;For example, this url is used in the web.config:&lt;/p&gt;&lt;p&gt;&amp;lt;add key=&amp;quot;Service1&amp;quot; value=&amp;quot;http://www.hoster.com/Ron/WS/Service1.asmx&amp;quot;/&amp;gt;&lt;/p&gt;&lt;p&gt;this in the *.discomap file:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;DiscoveryClientResult referenceType=&amp;quot;System.Web.Services.Discovery.DiscoveryDocumentReference&amp;quot; url=&amp;quot;http://misasp.hevra.haifa.ac.il/ronetgar/AnswerService.asmx?disco&amp;quot; filename=&amp;quot;Service1.disco&amp;quot; /&amp;gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;DiscoveryClientResult referenceType=&amp;quot;System.Web.Services.Discovery.ContractReference&amp;quot; url=&amp;quot;http://misasp.hevra.haifa.ac.il/ronetgar/AnswerService.asmx?wsdl&amp;quot; filename=&amp;quot;AnswerService.wsdl&amp;quot; /&amp;gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;DiscoveryClientResult referenceType=&amp;quot;System.Web.Services.Discovery.DiscoveryDocumentReference&amp;quot; url=&amp;quot;http://www.hoster.com/Ron/WS/Service1.asmx?disco&amp;quot; filename=&amp;quot;Service1.disco&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;DiscoveryClientResult referenceType=&amp;quot;System.Web.Services.Discovery.ContractReference&amp;quot; url=&amp;quot;http://www.hoster.com/Ron/WS/Service1.asmx?wsdl&amp;quot; filename=&amp;quot;Service1.wsdl&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;and this is in the *.wsdl file:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;wsdl:service name=&amp;quot;Service1&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;wsdl:port name=&amp;quot;Service1Soap&amp;quot; binding=&amp;quot;tns:Service1Soap&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;soap:address location=&amp;quot;http://www.hoster.com/Ron/WS/Service1.asmx&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/wsdl:port&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;wsdl:port name=&amp;quot;Service1Soap12&amp;quot; binding=&amp;quot;tns:Service1Soap12&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;soap12:address location=&amp;quot;http://www.hoster.com/Ron/WS/Service1.asmx&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/wsdl:port&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;wsdl:port name=&amp;quot;Service1HttpGet&amp;quot; binding=&amp;quot;tns:Service1HttpGet&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;http:address location=&amp;quot;http://www.hoster.com/Ron/WS/Service1.asmx&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/wsdl:port&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;wsdl:port name=&amp;quot;Service1HttpPost&amp;quot; binding=&amp;quot;tns:Service1HttpPost&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;http:address location=&amp;quot;http://www.hoster.com/Ron/WS/Service1.asmx&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/wsdl:port&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/wsdl:service&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This site should be disigned for every server and not for the specific one.&lt;/p&gt;&lt;p&gt;I want that in the future, each person will can take all the files of the site with the WS directory andf put it in every server he wants. In this situation, the site sould recognize by himself the current directory that he is located in, and to use the Web Service that is located in the ~/WS directory.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Dynamic Web Service address</title><link>http://forums.asp.net/thread/3274466.aspx</link><pubDate>Sat, 04 Jul 2009 08:32:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274466</guid><dc:creator>johnwsaunders3</dc:creator><author>johnwsaunders3</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274466.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3274466</wfw:commentRss><description>&lt;p&gt;Please be specific. Which URL is being used from somewhere other than web.config, and how do you know?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Dynamic Web Service address</title><link>http://forums.asp.net/thread/3268672.aspx</link><pubDate>Wed, 01 Jul 2009 11:02:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3268672</guid><dc:creator>rfm8</dc:creator><author>rfm8</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3268672.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3268672</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve checked and unfortunatly it&amp;#39;s not...&lt;/p&gt;</description></item><item><title>Re: Dynamic Web Service address</title><link>http://forums.asp.net/thread/3267705.aspx</link><pubDate>Wed, 01 Jul 2009 01:11:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267705</guid><dc:creator>johnwsaunders3</dc:creator><author>johnwsaunders3</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267705.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3267705</wfw:commentRss><description>&lt;p&gt;I believe that, at runtime, only the URL in the web.config will be used.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Dynamic Web Service address</title><link>http://forums.asp.net/thread/3267457.aspx</link><pubDate>Tue, 30 Jun 2009 20:51:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267457</guid><dc:creator>rfm8</dc:creator><author>rfm8</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267457.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3267457</wfw:commentRss><description>&lt;p&gt;What should I do if I want that the web server address that configured in the XML of the wsdl and the discomap will be taken from the web.config?&lt;/p&gt;&lt;p&gt;The situation now is that the address copied serval times: to the discomap, to the wsdl and to the web.config.&lt;/p&gt;&lt;p&gt;I want that the configuration will be only at the web.config file.&lt;/p&gt;</description></item><item><title>Re: Dynamic Web Service address</title><link>http://forums.asp.net/thread/3267132.aspx</link><pubDate>Tue, 30 Jun 2009 17:23:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267132</guid><dc:creator>MetalAsp.Net</dc:creator><author>MetalAsp.Net</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267132.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3267132</wfw:commentRss><description>&lt;p&gt;I &lt;em&gt;believe&lt;/em&gt; you can set the Url property of the webservice location programmatically.&amp;nbsp; So if you have a key in your web.config, which points to the locaiton of your webservice, then all you wuold have to do is update this key and you&amp;#39;ll be good to go.&lt;/p&gt;</description></item><item><title>Dynamic Web Service address</title><link>http://forums.asp.net/thread/3266913.aspx</link><pubDate>Tue, 30 Jun 2009 15:25:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266913</guid><dc:creator>rfm8</dc:creator><author>rfm8</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266913.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3266913</wfw:commentRss><description>&lt;p&gt;Hello all!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I need your kindly help for the next issue:&lt;/p&gt;&lt;p&gt;I have a site. let&amp;#39;s consider it&amp;#39;s address as: http://wwww.hoster.com/Ron/&lt;/p&gt;&lt;p&gt;all the site forms are in this directory.&lt;/p&gt;&lt;p&gt;The site should use a Web Service.&lt;/p&gt;&lt;p&gt;The web service located in the directory: http://wwww.hoster.com/Ron/WS/&lt;/p&gt;&lt;p&gt;In the future I&amp;#39;ll want to move the site to another server. the new address will be for example: http://www.newhoster.com/Kevin/&lt;/p&gt;&lt;p&gt;And the Web Service will be in http://www.newhoster.com/Kevin/WS/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;How can i configure the web.config keys and all the soap address location at the discomap file and the wsdl file, so they will be changed without changing all those files manually.&lt;/p&gt;&lt;p&gt;the option of http://localhost:80/Ron/WS/ is helpless because the &amp;quot;Ron&amp;quot; directory should be also dynamic.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;What should I do?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you all.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>