0

我想增加绑定的 MaxClockSkew,但我不知道如何将绑定转换为自定义绑定以添加 MaxClockSkew 元素。

如果有人可以帮助我转换它,我真的很感激。

  <wsHttpBinding>
    <binding name="MyBinding" maxReceivedMessageSize="102400">
      <readerQuotas  maxArrayLength="51200" maxStringContentLength="102400" maxNameTableCharCount="2147483647" />
      <security mode="TransportWithMessageCredential">
        <transport clientCredentialType="None" />
        <message clientCredentialType="UserName" />
      </security>
    </binding>
  </wsHttpBinding>

谢谢

4

1 回答 1

0

使用在线WCF 绑定转换器

尝试这个:

<customBinding>
  <binding name="NewBinding0">    
      <security authenticationMode="UserNameOverTransport" messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10" />

    <textMessageEncoding />
    <httpsTransport maxBufferSize="102400" maxReceivedMessageSize="102400" />
  </binding>
</customBinding>
于 2013-03-04T19:17:24.760 回答