自定义行为将覆盖SOAP操作 [英] A Custom Behavior Overwrites SOAP Action

查看:79
本文介绍了自定义行为将覆盖SOAP操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI那里,

我们在BT 2013-R2中创建了一个自定义行为,以便在TLS1.2安全性下访问Web服务。为此,我们只是在ApplyClientBehavior方法中重载安全协议。

We have created a custom behavior inside BT 2013-R2 to access a web service under TLS1.2 security. For that, we just overload security protocol inside the ApplyClientBehavior method.

添加并使用此行为后,虽然我们能够进入目标Web服务,但我们在BtsActionMapping中指定的SoapAction不是发送到目的地。

After adding and using this behavior, though we are able to get into the destination web service but our SoapAction specified inside BtsActionMapping is not sent over to destination.

我想知道我们的自定义行为是否已覆盖它?有没有办法避免这种情况?

I m wondering if our custom behavior has overwritten it? Is there a way to avoid this?

谢谢。

推荐答案

如果您的自定义行为不会改变soapaction http标头,则答案为否。

If you're custom behavior doesn't alter the soapaction http header, the answer is no.

如果省略btsactionmapping并给它一个固定值,例如:  http:// MyService / IMyContract / MyAction1,它仍然不起作用吗?

If you omit the btsactionmapping and give it a fixed value for example: http://MyService/IMyContract/MyAction1, does it still not work?

除此之外,对于使用TLS1.2,没有必要使用自定义行为。见:

Besides that, for using TLS1.2 it is not necessary to use a custom behavior. see:

https://www.codit.eu/blog/2016/04/21/biztalk-server-2010-and-support-for-tls-12/


这篇关于自定义行为将覆盖SOAP操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆