Let's say I add a web reference to a project), I would instantiate it like this:
MyWebService.MyClass myClass = new MyWebServive.MyClass();
Is there anyway to get the URL of this web service aside from checking the config file, e.g:
myClass.getURL();
at runtime? Does anybody have some ideas?