Ahh.
You're right. When you change the URL behavior property from Static to
Dynamic, you'll find that the setting gets made for you automatically in
the appsettings section of your config file. The pattern for the key is
ProjectNamespace.ProxyNamespace.ServiceClassname.
You should be able to look in your myapplicationexename.config file and see
this setting. If you put this in a different file, it could explain the
issue.
SO where you have
>> >> ><appSettings>
>> >> > <add key="myApplication.myServer.Service1"
>> >> > value="http://myServer/myXmlWebService/Service1.asmx"/>
>> >> ></appSettings>
In your example:
>> >> ><appSettings>
>> >> > <add key="DMS.Laser.wsCommon.asmx"
>> >> >value="http://LASER/DMSDATA/wsCommon.asmx"/>
>> >> ></appSettings>
You have an extra .asmx in the key name. This could be the problem.
this means your applications namespace is myApplication, your proxy
namespace is "myServer", and the name of the service class is Service1.
--------------------
>Thread-Topic: Dynamic URL Failure
>thread-index: AcUkI+aYz8xNpjy3QNOfIYz/9YKiyQ==
>X-WBNR-Posting-Host: 65.27.6.160
>From: "=?Utf-8?B?V2hpc2t5Um9tZW8=?="
<WhiskyRomeo@discussions.microsoft.com>
>References: <CE83AEF7-F278-4481-9F1D-CAEFCB2A68ED@microsoft.com>
<88Kpgh3IFHA.2176@TK2MSFTNGXA02.phx.gbl>
<B0408286-35C0-4134-8AAC-5CABAB6C0C4F@microsoft.com>
<9V6mb9BJFHA.2156@TK2MSFTNGXA02.phx.gbl>
>Subject: RE: Dynamic URL Failure
>Date: Tue, 8 Mar 2005 13:15:06 -0800
[quoted text clipped - 13 lines]
>Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:28513
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 157 lines]
>> >> >value="http://LASER/DMSDATA/wsCommon.asmx"/>
>> >> ></appSettings>