2012-04-16 52 views
3

我试图在soapUI中添加WCF服务wsHttpBindingWCF在SoapUI中的wsHttpBinding

我使用的邮件安全,并与测试客户端工作,但了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生成的公钥值。

+0

见我的答案在http://stackoverflow.com/a/13989176/52277如何 设置 WS-A在了SoapUI项目选项卡中的wsHttpBinding服务 – 2012-12-21 17:39:11

回答

2

此设置是不能互通与soapUI的:

negotiateServiceCredential="true" 

其更改为假

+0

你有一个源确认的soapUI不支持该设置? – VoodooChild 2012-11-16 20:34:43

+1

http://www.soapui.org/forum/viewtopic.php?f=2&t=15153 – 2012-11-17 12:49:07

+0

感谢您的链接。然而,他们有关于这个主题的整个部分http://www.soapui.org/SOAP-and-WSDL/applying-ws-security.html - 那是什么? – VoodooChild 2012-11-17 21:56:04