Changing Web Reference

  • Thread starter Thread starter Guest
  • Start date Start date
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"
 
That my be it. I cound'nt get to the link directly, I will it test again.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top