I’ve a asp.net web solution which references a web service from another web site (also in our development environment). I want to know if I need to change the address of the web service (from production server) when deploying to production and how or if it is not necessary to make any changes?
Share
First off, make sure the WebService is set to Dynamic.
Then I suggest you put the URI in your web.config file as follows:
When you then instantiate the WebService, do the following:
The WebService will now use that URI in every WebService request it makes.