title: Using wsHttpBinding, WCF is ignoring my web.config
body: <p>I am trying to create a WCF service that requires session support so I added a section in my web.config to enable wsHttpBinding. But when I test the service in the WCF Test Client and check the config it seems to have taken the default auto generated config instead of my own.</p>
  
  <p>See my config : </p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  &lt;system.web&gt;
  
  &lt;compilation debug="true" targetFramework="4.0" /&gt;
  &lt;/system.web&gt;
    &lt;system.serviceModel&gt;
  
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
  
      &lt;behavior&gt;
        &lt;serviceMetadata httpGetEnabled="true"/&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
      &lt;/behavior&gt;    
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  
  &lt;services&gt;
    &lt;service name="UserService"&gt;
      &lt;endpoint address="" binding="wsHttpBinding" contract="ICenterPlaceUserService" /&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  
  &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt;
  </code></pre>
  
  <p>
   
      
      
      
    </p>
  
  <p></p>
  
  <p>And the result : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
  &lt;system.serviceModel&gt;
      &lt;bindings&gt;
          &lt;basicHttpBinding&gt;
              &lt;binding name="BasicHttpBinding_ICenterPlaceUserService" sendTimeout="00:05:00" /&gt;
          &lt;/basicHttpBinding&gt;
      &lt;/bindings&gt;
      &lt;client&gt;
          &lt;endpoint address="http://localhost:57418/L1.WCF/CenterPlaceUserService.svc"
              binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICenterPlaceUserService"
              contract="ICenterPlaceUserService" name="BasicHttpBinding_ICenterPlaceUserService" /&gt;
      &lt;/client&gt;
  &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p></p>
  
  <p>What am I missing ?</p>