title: Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http]
body: <p>I know already Many of them getting this same error. I tried all the possible answers given here but i am still getting this error.</p>
  
  <p>My Web.config for the service.</p>
  
  <pre><code>    &lt;serviceBehaviors&gt;
          &lt;behavior name="AjaxServiceHttpsBehavior"&gt;
            &lt;serviceMetadata httpsGetEnabled ="true"/&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;endpointBehaviors&gt;
          &lt;behavior name="AjaxServiceAspNetAjaxBehavior"&gt;
          &lt;enableWebScript /&gt;
          &lt;/behavior&gt;
      &lt;/endpointBehaviors&gt;
      &lt;/behaviors&gt;
      &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" /&gt;
      &lt;services&gt;
        &lt;service name="AjaxService"  behaviorConfiguration="AjaxServiceHttpsBehavior"&gt;
          &lt;host&gt;
            &lt;baseAddresses&gt;
              &lt;add baseAddress="https://servername/websitefolder" /&gt;
            &lt;/baseAddresses&gt;
          &lt;/host&gt;
      &lt;endpoint address="" behaviorConfiguration="AjaxServiceAspNetAjaxBehavior"  binding="webHttpBinding" bindingConfiguration="webHttpsBinding" contract="AjaxService" /&gt;
          &lt;/service&gt;
      &lt;/services&gt;
          &lt;bindings&gt;
     &lt;webHttpBinding&gt;
        &lt;binding name="webHttpsBinding"&gt;
          &lt;security mode="Transport"&gt;&lt;/security&gt;
        &lt;/binding&gt;
      &lt;/webHttpBinding&gt;
     &lt;basicHttpBinding&gt;
  </code></pre>
  
  <p>The service is located at "https://servername/websitefolder/AjaxService.svc" and ssl is configured correctly. </p>
  
  <p>is my Base Address is wrong? I have only one End point for this service. I tried all the possible combinations but still I am getting this error. </p>