title: CustomBinding lacks a TransportBindingElement when trying to add GZip compression to WCF
body: <p>I am trying to add GZip to the binding of my WCF service and i get the next error</p>
  
  <pre><code>The Scheme cannot be computed for this binding because this CustomBinding lacks a TransportBindingElement.  Every binding must have at least one binding element that derives from TransportBindingElement.
  </code></pre>
  
  <p>my web config contains the following:</p>
  
  <pre><code> &lt;bindings&gt;
        &lt;customBinding&gt;
          &lt;binding name="BinaryCompressionBinding"&gt;
            &lt;binaryMessageEncoding compressionFormat ="GZip"/&gt;
            &lt;httpTransport /&gt;
          &lt;/binding&gt;
        &lt;/customBinding&gt;
        &lt;webHttpBinding&gt;
          &lt;binding closeTimeout="00:10:00" transferMode="StreamedResponse" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"&gt;
            &lt;readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647"/&gt;
          &lt;/binding&gt;
        &lt;/webHttpBinding&gt;
      &lt;/bindings&gt;
      &lt;services&gt;
        &lt;service behaviorConfiguration="myServiceBehavior" name="SMS.Example.Service"&gt;
          &lt;endpoint address="" behaviorConfiguration="customBinding" binding="customBinding" name="customBinding" contract="SMS.Example.IService"/&gt;
          &lt;endpoint address="mex" binding="mexHttpBinding" name="mexHttpBinding" contract="IMetadataExchange"/&gt;
        &lt;/service&gt;
      &lt;/services&gt;
  </code></pre>
  
  <p>what could be causing this?</p>