BizTalk-用于带有基本身份验证的SOAP 1.2的WCF-Custom绑定 [英] BizTalk - WCF-Custom binding to use for SOAP 1.2 with basic authentication
问题描述
我有一个要在BizTalk中使用的Web服务,该服务公开了SOAP 1.1和1.2端点,并通过基本Http身份验证进行了保护.
I have a web service to consume in BizTalk which exposes both SOAP 1.1 and 1.2 endpoints and is secured with Basic Http Authentication.
我正在使用WCF-Custom适配器并尝试使用SOAP 1.2.
I'm using the WCF-Custom adapter and trying to use SOAP 1.2.
此比较表显示我无法将基本Http身份验证和SOAP 1.2,我将不得不使用1.1和basicHttpBinding
其他WS- *绑定是否允许我做我想做的事情?我更喜欢使用SOAP 1.2,因为它大概比1.1长.
Will any of the other WS-* bindings allow me to do what I want? I would prefer to use SOAP 1.2 because it will, presumably*, be around longer than 1.1.
*可能会被误导?
推荐答案
是的,我认为您被误导了.
Yes, I believe you are misguided.
该表和文章的意思是WCF协议希望通过安全传输或加密消息有效负载来安全地发送凭据.
What that table and article is saying is that the WCF protocal wants to send the credentials securely either by having a secure transport or encrypting the message payload.
您可以将基本身份验证与WCF自定义和基本身份验证一起使用. 将绑定类型设置为wsHttpBinding,在WSHttpBidingElement,安全性",传输"下,将clientCredentialType设置为基本".
You can use basic authentication with WCF-Custom and Basic Authentication. Set the Binding type to wsHttpBinding, under WSHttpBidingElement, Security, Transport, set the clientCredentialType to Basic.
这篇关于BizTalk-用于带有基本身份验证的SOAP 1.2的WCF-Custom绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!