This sound easy, just set the .Url property, but its not that easy.
Dim WSInst As New FareService.FareServices
In order to change the .Url property, i need an instance of the web service. Upon instantiation of the web service, it tries to connect to it, which may cause a runtime error if the url is invalid (hence why i want to change it!).
So the other question could be, how do you create an instance of a web service without connecting to it?
Dim WSInst As New FareService.FareServices
In order to change the .Url property, i need an instance of the web service. Upon instantiation of the web service, it tries to connect to it, which may cause a runtime error if the url is invalid (hence why i want to change it!).
So the other question could be, how do you create an instance of a web service without connecting to it?