In system.service / behaviours / servicebehaviours
I have the following behaviour:
<behavior name="pubajaxAspNetAjaxBehavior">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
With both these properties httpGetEnabled="true" and httpsGetEnabled="true" in place it means any requests to my webservice over http now throw the error:
Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http].
Is it possible to have a WCF service that accepts http and https requests?