我在使用 ESB 指导 1.0 的 biztalk 中使用 wcf basichttp 适配器我做了一个测试,没有 biztalk 涉及调用 asmx 服务,我最终得到了这个配置文件:
<behaviors>
<endpointBehaviors>
<behavior name="NtlmEndpointBehavior">
<clientCredentials>
<windows allowedImpersonationLevel="Impersonation" />
<httpDigest impersonationLevel="Impersonation" />
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
<client>
<endpoint address="http://address" behaviorConfiguration="NtlmEndpointBehavior"
binding="basicHttpBinding"
bindingConfiguration="ApiSoap"
contract="API.ApiSoap" name="ApiSoap" />
</client>
现在我必须在我创建的 wcf basichttp 动态端口中添加行为。根据我在尝试向 basichttp 发送端口添加行为时阅读的规范,这是无法完成的,但在我的 dot net 项目中,我将其设为 biztalk 的限制?