title: The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via
body: <p>I am trying to make a WCF service over basicHttpBinding to be used over https. Here's my web.config:</p>
  
  <pre><code>&lt;!-- language: xml --&gt;
  &lt;service behaviorConfiguration="MyServices.PingResultServiceBehavior"
           name="MyServices.PingResultService"&gt;
      &lt;endpoint address="" 
                binding="basicHttpBinding" 
                bindingConfiguration="defaultBasicHttpBinding"
                contract="MyServices.IPingResultService"&gt;
          &lt;identity&gt;
              &lt;dns value="localhost" /&gt;
          &lt;/identity&gt;
      &lt;/endpoint&gt;
      &lt;endpoint address="mex" 
                binding="mexHttpBinding" 
                contract="IMetadataExchange" /&gt;
  &lt;/service&gt;
  ...
  </code></pre>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;bindings&gt;
    &lt;basicHttpBinding&gt;
      &lt;binding name="defaultBasicHttpBinding"&gt;
        &lt;security mode="Transport"&gt;
          &lt;transport clientCredentialType="None"/&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
    &lt;/basicHttpBinding&gt;
  &lt;/bindings&gt;
  ...
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior name="MyServices.UpdateServiceBehavior"&gt;
        &lt;serviceMetadata httpsGetEnabled="true" /&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  </code></pre>
  
  <p>I am connecting using WCFStorm which is able to retrieve all the meta data properly, but when I call the actual method I get:</p>
  
  <blockquote>
    <p>The provided URI scheme 'https' is invalid; expected 'http'. Parameter
    name: via</p>
  </blockquote>