Changing path of web service?

  • Thread starter Thread starter Smokey Grindle
  • Start date Start date
S

Smokey Grindle

I have 2 report services servers one for development and one for live, I
need to add a reference to the web service in my app, but during development
it has to refernce development server, during deployment it has to reference
what ever the end user calls their server, can you change the reference url
of a web service at run time? if so how? thanks! the web services will all
have the same definition at all times. I'm also doing this in VB.NET
 
Smokey said:
I have 2 report services servers one for development and one for live, I
need to add a reference to the web service in my app, but during development
it has to refernce development server, during deployment it has to reference
what ever the end user calls their server, can you change the reference url
of a web service at run time? if so how? thanks! the web services will all
have the same definition at all times. I'm also doing this in VB.NET

IIRC, when you declare an instance of the web service, you can set it's
URL property to the correct one.
 
Back
Top