When trying to configure a WCF service to run as both a HTTP and HTTPS endpoint there are some differences to consider:
- HTTP uses SOAP 1.1
- HTTPS uses SOAP 1.2
This can cause issues with how your XML packets need to be generated with different SOAP Headers.
On the IIS Manager under the website there is a tile titled “SSL Settings”.
To run both HTTP and HTTPS ensure “Require SSL” is unticked
If you want to allow people to generate a .wsdl file do not forget to set this in the web config in the service behaviours
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />