The dll is used in two ways: Referenced by a .NET .exe application, and
via COM interop from a Foxpro application.
But it looks like Stoyan has identified the solution - thanks Stoyan!
Turns out the .NET-generated web service proxy exposes a writeable Url
property so you can just programmatically say something like
Service s = new Service(); // this is the web service proxy
s.Url = this.webServiceUrl; // webServiceUrl dynamically read in from a
//file
I was focussed to much on looking for a .config-based solution, instead of
looking at whether I could manipulate the URL from the C# code.
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com