I have a webservice that works locally but when I publish it to our web server the auto-generated WSDL uses the server's name rather than the host name.
I have searched the internet but only found complex answers. There should be a simple web.config change or class attribute setting to change the target location.
Basically the auto-generated WSDL uses this location (host name) "http://servername.domain.com" rather than "http://services.desireddomain.com"
I even tried saving the auto-generated copy and manually changing the target locations. But that didn't work either for some reason; it seems that it should have.
Thanks for you help!