title: Basic HTTP Binding isn't configured properly
body: <p>i have configured a WCF service with wsHTTPBinding but even then i get the error </p>
  
  <blockquote>
  <pre><code>Contract requires Session, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it.
  </code></pre>
  </blockquote>
  
  <p>here is the service contract definition</p>
  
  <pre><code>&lt;ServiceContract(SessionMode:=SessionMode.Required)&gt;
  Public Interface IPrivateService
  </code></pre>
  
  <p>Here is the service implementation definition </p>
  
  <pre><code>&lt;ServiceBehavior(InstanceContextMode:=InstanceContextMode.PerSession)&gt;
  Public Class PrivateService
      Implements IPrivateService
  </code></pre>
  
  <p>Here is the config settings</p>
  
  <pre><code>&lt;services&gt;
      &lt;service behaviorConfiguration="behaviorAction" name="Viking.Service.PrivateService"&gt;
              &lt;endpoint address="RequiredService" binding="wsHttpBinding" bindingConfiguration="bindingAction" contract="Viking.Service.IPrivateService"&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;
  &lt;/services&gt;
  &lt;bindings&gt;
            &lt;wsHttpBinding&gt;
              &lt;binding name="bindingAction" transactionFlow="false" sendTimeout="00:30:00" receiveTimeout="00:30:00"&gt;
                &lt;reliableSession enabled="true"/&gt;
              &lt;/binding&gt;
            &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  </code></pre>
  
  <p>truly appreciate any advise on the issue.</p>