Question Change the url of a web service

nismo

Member
Joined
Jun 30, 2006
Messages
18
Programming Experience
3-5
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?
 
Back
Top