We have two web servers running a few web services behind a load balancer (LB) and we recently decided to terminate incoming SSL requests at the LB level instead of the web server level so we have less load on the servers. The problem is now when the WSDL file is generated for the web services, they have http and not https as the SOAP ADDRESS LOCATION. Since we don't support http, it turns out to be a broken link when references are made to the web service. I read somewhere that if you make the directory in IIS requiring SSL, the WSDL will generate https for the SOAP ADDRESS LOCATION. This, of course, doesn't work in our situation since SSL has already been offloaded at the LB level. Requiring the directory to accept only SSL will return an error page.
I understand that we can, with code, override WSDL file generation. I also know about http 301/2 redirect. But can anyone think of a better way to have wsdl file placing the https for the endpoint url instead of http?
Thanks in advance for you help.
View Complete Post