title: The binding at system.serviceModel/bindings/wsHttpBinding does not have... error
body: <p>I am trying to include two endpoints in my WCF web based service - wsHttp and netTcp.
  As shown in the <code>Web.config</code> below I have added them, but receive the following error when when I compile and click on Service.svc in my web browser: </p>
  
  <p><strong>Error page:</strong></p>
  
  <pre><code>Server Error in '/MyService' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
  
  Parser Error Message: The binding at system.serviceModel/bindings/wsHttpBinding does not have a configured binding named 'wsHttpBinding'. This is an invalid value for bindingConfiguration.
  
  Source Error:
  
  Line 16: &lt;/baseAddresses&gt; Line 17:         &lt;/host&gt;  Line 18:  &lt;endpoint address="http://localhost:8090/Services/MyService" Line 19:                   binding="wsHttpBinding" Line 20:                 bindingConfiguration="wsHttpBinding"
  
  
  Source File: C:\MyService\web.config    Line: 18
  
  Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
  </code></pre>
  
  <p><strong>Web.config:</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
    &lt;system.web&gt;
      &lt;compilation debug="false" targetFramework="4.0" /&gt;
    &lt;/system.web&gt;
    &lt;system.serviceModel&gt;
      &lt;protocolMapping&gt;
        &lt;add scheme="http" binding="wsHttpBinding"/&gt;
      &lt;/protocolMapping&gt;
      &lt;services&gt;
        &lt;service
          name="Microsoft.ServiceModel.Samples.MyService"&gt;
          &lt;host&gt;
            &lt;baseAddresses&gt;
              &lt;add baseAddress="net.tcp://localhost:9001/"/&gt;
            &lt;/baseAddresses&gt;
          &lt;/host&gt;
          &lt;endpoint address="http://localhost:8090/Services/MyService"
                    binding="wsHttpBinding"
                    bindingConfiguration="wsHttpBinding"
                    name="MyService_WsHttp"
                    contract="Microsoft.ServiceModel.Samples.IService" /&gt;
          &lt;endpoint address="net.tcp://localhost:9000/Services/MyService"
                    binding="netTcpBinding"
                    bindingConfiguration="tcpBinding"
                    name="MyService_Tcp"
                    contract="Microsoft.ServiceModel.Samples.IService" /&gt;    
        &lt;/service&gt;
      &lt;/services&gt;
      &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
          &lt;behavior&gt;
            &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
            &lt;serviceMetadata httpGetEnabled="true"/&gt;
            &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
            &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
      &lt;/behaviors&gt;
      &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt;
    &lt;/system.serviceModel&gt;
    &lt;system.webServer&gt;
      &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
    &lt;/system.webServer&gt;
  
  &lt;/configuration&gt;
  </code></pre>