title: Could not find a base address that matches scheme http for the endpoint with binding WSHttpBinding
body: <p>I dida wcf username/password authentication  on my local computer, with self signed certificate, all works fine, but when i put my  application on IIS 7.5, and windows server 2008 R2, it gaves me the error:<br /><br />
  <strong>Could not find a base address that matches scheme http for the endpoint with binding WSHttpBinding. Registered base address schemes are [https].</strong> 
  My web service cfg:<br /></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
  &lt;system.serviceModel&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior name="ServiceCredentialsBehavior"&gt;
        &lt;serviceCredentials&gt;
          &lt;serviceCertificate findValue="cn=AmicCert" storeName="Root" storeLocation="LocalMachine" /&gt;
          &lt;userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="Util.CustomUserNameValidator, Util" /&gt;
        &lt;/serviceCredentials&gt;
        &lt;serviceMetadata httpGetEnabled="true" /&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;services&gt;
    &lt;service behaviorConfiguration="ServiceCredentialsBehavior" name="Service"&gt;
      &lt;endpoint address="" binding="wsHttpBinding" bindingConfiguration="MessageAndUserName" name="SecuredByTransportEndpoint" contract="IService" /&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  &lt;bindings&gt;
    &lt;wsHttpBinding&gt;
      &lt;binding name="MessageAndUserName"&gt;
        &lt;security mode="Message"&gt;
          &lt;message clientCredentialType="UserName" /&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
    &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
        &lt;client /&gt;
     &lt;/system.serviceModel&gt;
    &lt;system.web&gt;
  &lt;compilation debug="true" /&gt;
   &lt;/system.web&gt;
   &lt;/configuration&gt;
  </code></pre>