开发者

WCF basicHttpBinding with Transport security specifying message credential type

开发者 https://www.devze.com 2023-02-22 18:03 出处:网络
I\'ve been 开发者_如何学JAVAgiven a wsdl for a service which VS2010 generated the following binding as part of it\'s configuration.

I've been 开发者_如何学JAVAgiven a wsdl for a service which VS2010 generated the following binding as part of it's configuration.

    <bindings>
      <basicHttpBinding>
        <binding name="NotificationHttpBinding">
          <security mode="Transport">
            <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>

I'm a little confused as what the message node will do given the mode is set to Transport?


Nothing. This will not be used at all. It is safe to remove it.

0

精彩评论

暂无评论...
验证码 换一张
取 消