BizTalk 中不理解操作轮询

Action Polling is not understood in BizTalk

我使用 BizTalk 中的 Consume SQL 适配器设置了一个业务流程。如 Orchestration 所示,我有一个 Request/Response 发送端口。我已经在我的 SQL 适配器上设置了入站流程:

发送端口

编排

在Send WDF-Custom sql-bindings上,我没有设置Action文本框,而是在绑定配置上设置入站属性,对于Send Request/Response端口,一样作为接收端口。当我启动它并将我的消息请求文件移动到接收目录时,出现以下错误:

The adapter failed to transmit message going to send port "SNDPortTwoWay" with URL "mssql://DESKTOP-T2G7B3A//AFBizTalkTest?InboundId=MyID". It will be retransmitted after the retry interval specified for this Send Port. Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: The action "Polling" was not understood.

不确定这是从哪里来的?

您应该使用单向接收位置进行轮询,而不是双向发送端口。

如果您想要请求响应发送端口,您必须使用 table 操作或存储过程调用,在这种情况下,您必须使用 WCF Consume Adapter Service 来创建适当的模式,并且它还会为您创建端口绑定,您可以将其导入 BizTalk 管理控制台,然后给它起一个更好听的名称。