2013-10-10 84 views
1

我希望有人能幫助我。我正在嘗試使用SoapUI來調用WsHttpBinding的WCF服務。該服務要求我通過客戶端證書。我怎麼能通過肥皂用戶界面這個?我可以輕鬆創建客戶端並調用服務,但我希望能夠在SoapUI中完成此操作。WCF SoapUI WsHttpBinding

這是可能的,如果是的話,將不勝感激獲得指示。

回答

2

您可能想檢查幾件事情。

1)設置negotiateServiceCredential = 「假」

<wsHttpBinding> 
    <binding name="wsHttpSecure"> 
     <security mode="Message"> 
     <message clientCredentialType="UserName" negotiateServiceCredential="false"  
        establishSecurityContext="false" algorithmSuite="Default" /> 
     </security> 
    </binding> 
</wsHttpBinding> 

2)另外,還要確保在SOAP UI你對號 「添加默認WSA要」

檢查此鏈接 http://ddkonline.blogspot.com.br/2012/10/wcf-45-host-unreachable-when-calling.html

3 )通過客戶證書檢查以下鏈接

http://www.soapui.org/SOAP-and-WSDL/applying-ws-security.html

我希望有幫助。