使用out orchestration进行异常处理 - Web服务JSON - Biztalk 2013 R2 [英] Exception handling with out orchestration - Web services JSON - Biztalk 2013 R2

查看:64
本文介绍了使用out orchestration进行异常处理 - Web服务JSON - Biztalk 2013 R2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有在任何实施的Web服务(REST)中进行编排。如何处理异常并向用户发回一些自定义错误消息。我需要处理端口,管道中的500,404,400个错误和错误。根据我的知识,
管道将会这样做。任何人都可以分享一些如何实现以及在管道中实现这一点的样本。

I do not have orchestrations in any of the web services(REST) implemented. How can I handle exceptions and send back some custom error message to user. I need to handle 500, 404, 400 errors and errors in ports, pipelines as well. According to my knowledge pipelines will do this. Can any one share some samples of how to implement and where to implement this in pipelines.

任何输入都受到高度赞赏。

Any inputs are highly appreciated.

提前致谢!

推荐答案

您好Sindhu91,

Hi Sindhu91,

对于端口级别,您可以在biztalk中启用失败的路由消息功能或者在接收端口/发送端口。

For port level you can enable Failed Routing Message feature in biztalk either at receive port / send port.

这样你就会得到带有错误描述的msg作为上下文属性,这样你就可以提取msg并做任何你想对这个错误做的事情。

by this you ll get msg with error description as context property so that you can extract msg and do whatever you want to do with this error.

异常处理端口级别

您可以查看以下链接以验证您的请求消息。

and you can check below link to validate your request message.

验证管道中的传入消息


这篇关于使用out orchestration进行异常处理 - Web服务JSON - Biztalk 2013 R2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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