【发布时间】:2012-04-16 07:00:19
【问题描述】:
我正在尝试将带有wsHttpBinding 的 WCF 服务添加到soapUI。
我正在使用消息安全性,它适用于测试客户端,但 SoapUI 返回
验证消息的安全性时出错
这里是服务配置:
<wsHttpBinding>
<binding name="wsHttpSecure">
<security mode="Message">
<message clientCredentialType="UserName" negotiateServiceCredential="true"
establishSecurityContext="false" algorithmSuite="Default" />
</security>
</binding>
</wsHttpBinding>
这里 http://www.soapui.org/SOAP-and-WSDL/applying-ws-security.html 是一个文件,但他们说我需要 .jks 文件。我只在测试客户端配置文件中编码了 SvcUtil 生成的公钥值。
【问题讨论】:
-
在stackoverflow.com/a/13989176/52277 上查看我的回答如何在 SoapUI 项目中为 wsHttpBinding 服务设置 WS-A 选项卡