WCF service not working when accessed over HTTPS and HTTP:
WCF service not working when accessed over HTTPS and HTTP
Possible solution using the web.config:
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehaviour">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<bindings>
<webHttpBinding>
<binding>
<security mode="Transport" />