【问题标题】:how can i use wsHttpBinding in wcf without using any certificate如何在不使用任何证书的情况下在 wcf 中使用 wsHttpBinding
【发布时间】:2012-10-25 12:33:16
【问题描述】:

我想在 wcf 服务中使用 wsHttpBinding,出于安全问题,证书需要 wsHttpBinding,但我想使用没有安全性的 wsHttpBinding,这适用吗?

【问题讨论】:

    标签: wcf wshttpbinding


    【解决方案1】:

    是的,您可以将Message 安全与Windows 身份验证一起使用:

    <security mode="Message">
         <message clientCredentialType="Windows" />
    </security>
    

    【讨论】:

      【解决方案2】:

      我不知道你为什么要使用 wsHttpBinding 而不是 basicHttpBinding,但也许 Difference between BasicHttpBinding and WsHttpBindingUse wsHttpBinding with Windows Authentication 对你有用。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-11-29
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-09-06
        • 1970-01-01
        相关资源
        最近更新 更多