G
Guest
I have a eVb app that is using an XML web service. When I add the service to
the app in Visual Studio and run, it works fine. I would like to be able to
change the web service to another server when I distribute the program so my
customers. I need them to be able change to their server for the data. It
would always be the same web service code, just a different server with
different data. When I try to do the following I get errors. What is the best
way to be able to change the web reference to a different server?
I attempted this.
Dim myservice As New com.depotsystem.www.dsxml
myservice.Url = "http://192.168.2.3/dsxml/dsxml.wsdl"
the app in Visual Studio and run, it works fine. I would like to be able to
change the web service to another server when I distribute the program so my
customers. I need them to be able change to their server for the data. It
would always be the same web service code, just a different server with
different data. When I try to do the following I get errors. What is the best
way to be able to change the web reference to a different server?
I attempted this.
Dim myservice As New com.depotsystem.www.dsxml
myservice.Url = "http://192.168.2.3/dsxml/dsxml.wsdl"