Konvertieren wsHttpBinding zu customBinding

Wie konvertiere ich die folgenden wsHttpBinding auf ein customBinding? Ich muss also diese, also kann ich erhöhen der clock-skew. Dies ist für http.

 <wsHttpBinding>
    <binding name="wsHttpSecurityOptions" maxReceivedMessageSize="10485760" maxBufferPoolSize="524288">
      <security mode="Message">
        <message clientCredentialType="UserName" establishSecurityContext="true" negotiateServiceCredential="true"/>
        <transport clientCredentialType="Certificate" proxyCredentialType="None"/>
      </security>
      <readerQuotas maxStringContentLength="500000"/>
    </binding>
  </wsHttpBinding>

Mein Versuch (wie folgt) schlägt fehl mit der Fehlermeldung "Konnte nicht gefunden werden, eine Basisadresse entspricht Schema https für den Endpunkt mit Bindung CustomBinding" aber ich kann nicht sehen wie sonst konfigurieren Benutzername Message-Modus Sicherheit.

  <customBinding>
    <binding name="wsHttpSecurityOptions">
      <transactionFlow />
      <security authenticationMode="UserNameForSslNegotiated">
        <secureConversationBootstrap authenticationMode="UserNameForSslNegotiated">
          <localServiceSettings maxClockSkew="00:10:00" />
        </secureConversationBootstrap>
        <localServiceSettings maxClockSkew="00:10:00" />
      </security>
      <textMessageEncoding>
        <readerQuotas maxStringContentLength="500000"/>
      </textMessageEncoding>
      <httpsTransport maxReceivedMessageSize="10485760" maxBufferPoolSize="524288" />
    </binding>
  </customBinding>

InformationsquelleAutor Keith K | 2010-11-18

Schreibe einen Kommentar