处理BizTalk动态WCF-WebHttp端口挂起的消息 [英] Handling BizTalk dynamic WCF-WebHttp ports suspended messages

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

问题描述

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

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

System.Net.WebException:没有端点在

I am creating a Biztalk dynamic port WCF-WebHttp.

When I get a response back in the form of a HTTP 404, the port suspends the following error is shown

System.Net.WebException: There was no endpoint listening at https://test.xxx.com/xxxx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. {"type":"availability.not_found","message":"No availability was found for the properties requested."}

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端口挂起的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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