如何从行程编排服务发送回客户端故障异常 [英] How to Send Back to client Fault Exception from itinerary orchestration Service

查看:119
本文介绍了如何从行程编排服务发送回客户端故障异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个行程编排服务,当orch失败时我想发回客户端故障消息(客户等待WCF响应在斜坡上的响应)

tnx,

tal

Hi,

i have an itinerary orchestration service, when the orch fails  i whant to send back  to the client fault message(the clien wait to a response from the WCF response on ramp)

tnx,

tal

推荐答案

如果您正在使用行程来指导响应,则需要使用双向业务流程,它使用双向接收端口,通过业务流程,自定义管道或行程缓存进行某种形式的关联,以发回响应,然后对业务流程进行建模以发送响应和错误响应回到原来的来电者。
这篇博文并不完全是你想要的,但它有助于解释一些步骤。
http://dgoins.wordpress.com/2010/02/21/routing-2 -way-synchronous-response-to-endpoint-other-than-the-initiator-5 /

为了让你到达你需要的地方 - 看看ESB样本中的方法和文件。

HTH
If you're using itineraries to direct the response, you'll need to use a 2-way orchestration, which uses a 2-way Receive Port, some form of correlation either through Orchestration, custom Pipelines, or the Itinerary Cache, to send the response back, and then model the orchestration to send responses, and error responses back to the original caller.
This blog posting is not exactly what you're looking for, however it will help explain some of the steps.
http://dgoins.wordpress.com/2010/02/21/routing-2-way-synchronous-response-to-endpoints-other-than-the-initiator-5/

To get you to where you need to be- look at the How-To's inside the ESB samples and documentation.

HTH


这篇关于如何从行程编排服务发送回客户端故障异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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