类别:程序开发
日期:2024-08-06 浏览:1501 评论:0
若采用HTTPS协议,security mode=Transport
XML Code:
<!--HTTP协议-->
<!--<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" />
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
</security>-->
<!--HTTPS协议-->
<security mode="Transport">
<transport clientCredentialType="Windows" proxyCredentialType="None" />
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
</security>
<!--<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" />
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
</security>-->
<!--HTTPS协议-->
<security mode="Transport">
<transport clientCredentialType="Windows" proxyCredentialType="None" />
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
</security>
本文标题:提供的URI方案http无效,应为https,参数名via - WCF服务采用HTTPS协议
本文链接:https://vtzw.com/post/1138.html
版权声明:本文不使用任何协议授权,您可以任何形式自由转载或使用。
发表评论 / 取消回复