BizTalk - 用于SOAP 1.2的WCF-Custom绑定,具有基本身份验证

时间:2014-03-27 11:40:37

标签: wcf soap biztalk biztalk-2013

我有一个在BizTalk中使用的Web服务,它公开SOAP 1.1和1.2端点,并使用Basic Http Authentication进行保护。

我正在使用WCF-Custom适配器并尝试使用SOAP 1.2。

This comparison table shows that I cannot have the combination of basic Http authentication AND SOAP 1.2 and I'll have to use 1.1 and basicHttpBinding

任何其他WS- *绑定是否允许我按照自己的意愿行事?我更愿意使用SOAP 1.2,因为它大概会超过1.1。

*可能被误导了?

1 个答案:

答案 0 :(得分:1)

是的,我相信你被误导了。

该表和文章所说的是WCF协议要通过安全传输或加密消息有效负载来安全地发送凭证。

您可以将基本身份验证与WCF自定义和基本身份验证配合使用。 将Binding类型设置为wsHttpBinding,在WSHttpBidingElement,Security,Transport下,将clientCredentialType设置为Basic。