Кодировка MTOM и пользовательская привязка

Как настроить пользовательскую привязку и кодировку MTOM? У меня есть пользовательская привязка, как указано ниже,

 <customBinding>
        <binding name="stsBinding">
          <security authenticationMode="UserNameOverTransport" 
                    requireDerivedKeys="false"
                    keyEntropyMode="ServerEntropy" 
                    requireSecurityContextCancellation="false"
                    requireSignatureConfirmation="false">
          </security>
          <httpsTransport />
        </binding>
      </customBinding>

И моя привязка MTOM, как показано ниже,

 <basicHttpBinding>
    <binding name="HttpStreaming"
             maxReceivedMessageSize="2147483647"
             messageEncoding="Mtom"
             transferMode="Streamed"/>
  </basicHttpBinding>   

Как мне это скомбинировать?

6
задан blue 3 September 2010 в 18:29
поделиться