处理BizTalk动态WCF

处理BizTalk动态WCF

本文介绍了处理BizTalk动态WCF-WebHttp端口挂起的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建Biztalk动态端口WCF-WebHttp.

当我以HTTP 404的形式返回响应时,端口将挂起显示以下错误

I have tried to add an exception handler to the BizTalk orchestration. It handles the error but I still see a suspended instance.

I wish to handle the 404 error and to stop the port from suspending.

解决方案

In Transport Advance Options on your Send Port Properties, switch on Enable routing for failed messages.Have something subscribing to the Error Report from that send port, e.g. we use a custom Null Adapter with the rule ErrorReport.SendPortName == NameOfSendPort

这篇关于处理BizTalk动态WCF-WebHttp端口挂起的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-20 19:52