title: Use wshttpBinding with SSL and wsHttpBinding without SSL in single service
body: <p>I want to use wshttpbinding (with SSL and without SSL) in single service but it not works, anybody had implemented it. So please guide how can i achieve that?</p>
  
  <pre><code>&lt;system.serviceModel&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior name="CommonBehaviour"&gt;
        &lt;dataContractSerializer maxItemsInObjectGraph="2147483647" /&gt;
        &lt;serviceCredentials&gt;
          &lt;serviceCertificate findValue="AzilenTechnology" x509FindType="FindBySubjectName" /&gt;
        &lt;/serviceCredentials&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt;
        &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;bindings&gt;
    &lt;basicHttpBinding&gt;
      &lt;binding name="basicHttpBindingConfig" closeTimeout="00:10:00"
        openTimeout="00:10:00" sendTimeout="00:10:00" maxBufferSize="2147483647"
        maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
        messageEncoding="Mtom"&gt;
        &lt;readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
          maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /&gt;
      &lt;/binding&gt;
    &lt;/basicHttpBinding&gt;
    &lt;wsHttpBinding&gt;
      &lt;binding name="wsHttpBindingConfig" closeTimeout="00:10:00" openTimeout="00:10:00"
        sendTimeout="00:10:00" bypassProxyOnLocal="true" maxBufferPoolSize="2147483647"
        maxReceivedMessageSize="2147483647" messageEncoding="Mtom"&gt;
        &lt;readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
          maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /&gt;
        &lt;security mode="None" /&gt;
      &lt;/binding&gt;
    &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;services&gt;
    &lt;service behaviorConfiguration="CommonBehaviour" name="wcfAllInOne.wcfFileIO"&gt;
      &lt;endpoint binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" /&gt;
      &lt;endpoint address="http://localhost:82/WCFAllInOne/wcfFileIO.svc/basicHttpEndPoint" binding="basicHttpBinding"
        bindingConfiguration="basicHttpBindingConfig" name="BasicHttp"
        contract="wcfAllInOne.IwcfFileIO" /&gt;
      &lt;endpoint address="http://localhost:82/WCFAllInOne/wcfFileIO.svc/wsHttpBindingEndPoint" binding="wsHttpBinding"
        bindingConfiguration="wsHttpBindingConfig" name="wsHttp" contract="wcfAllInOne.IwcfFileIO" /&gt;
      &lt;endpoint address="https://localhost:444/WCFAllInOne/wcfFileIO.svc/wsHttpSslEndPoint" binding="wsHttpBinding"
        bindingConfiguration="wsHttpBindingConfig" name="wsHttpSsl"
        contract="wcfAllInOne.IwcfFileIO" /&gt;
      &lt;endpoint binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" /&gt;
           &lt;/service&gt;
  &lt;/services&gt;
  </code></pre>
  
  <p></p>