First time I am hosting a WCF service on an internal UAT server (IIS 7).
This service should be accessible over web at a an address like https://abc.com/MyApp/MyService.svc
It should be accessible through http and https
- How do I define the endpoints in this case??
- When I enabled both http and https and kept address as blank address=”” SOAP location in the WSDL showed the address with name of the server (
https://servername/MyService.svc) instead ofhttps://abc.com/MyApp/MyService.svc.
When I load this address –https://abc.com/MyApp/MyService.svcin SOAP UI the endpoint address changes tohttps://servername/MyService.svc - Do I need to use host header? When and how to use host header?
- How to define relative address in this scenario?
Please advice.
I figured out that it was due to the SSL offloader which was infornt of the server. For noe we got rid of it and service works just fine.
http://blogs.msdn.com/b/distributedservices/archive/2010/05/13/wcf-and-intermediate-devices.aspx