title: MTOM Encoding and Custom binding
body: <p>How do I configure custom binding and MTOM encoding? I have a custom binding like given below,</p>
  
  <pre><code> &lt;customBinding&gt;
          &lt;binding name="stsBinding"&gt;
            &lt;security authenticationMode="UserNameOverTransport" 
                      requireDerivedKeys="false"
                      keyEntropyMode="ServerEntropy" 
                      requireSecurityContextCancellation="false"
                      requireSignatureConfirmation="false"&gt;
            &lt;/security&gt;
            &lt;httpsTransport /&gt;
          &lt;/binding&gt;
        &lt;/customBinding&gt;
  </code></pre>
  
  <p>And my MTOM binding is like below, </p>
  
  <pre><code> &lt;basicHttpBinding&gt;
      &lt;binding name="HttpStreaming"
               maxReceivedMessageSize="2147483647"
               messageEncoding="Mtom"
               transferMode="Streamed"/&gt;
    &lt;/basicHttpBinding&gt;   
  </code></pre>
  
  <p>How do I combine this?</p>