I have a UI application that references business objects in Visual Studio on
two identical servers (ws1 & ws2). The business objects are the same so the
methods from each Web Service proxy are the same. I instantiate each Web
Service proxy in the application and call the methods but the methods are
always answered from ws1.
Is this a bug in Visual Studio or must each Web Service proxy contain
uniquely named methods?
The following is code from the application:
--
<applicationSettings>
<DataManager.Properties.Settings>
<setting name="DataManager_ws1_DataAdministrator" serializeAs="String">
<value>http://ws1.domainname.com/DataAdministrator.asmx</value>
</setting>
<setting name="DataManager_ws2_DataAdministrator" serializeAs="String">
<value>http://ws2.domainname.com/DataAdministrator.asmx</value>
</setting>
</DataManager.Properties.Settings>
</applicationSettings>
--
DataManager.ws1.DataAdministratorSoap admin1 =
new DataManager.ws1.DataAdministratorSoap();
DataManager.ws2.DataAdministratorSoap admin2 =
new DataManager.ws2.DataAdministratorSoap();
--
Regards,
Fred Chateau
fchateauAtComcastDotNet