如何控制OSB中两个Web服务之间的事务(WS-AT)? [英] How to control transactions (WS-AT) between two web services in OSB?

查看:96
本文介绍了如何控制OSB中两个Web服务之间的事务(WS-AT)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我,OSB是否可以拥有由独特交易控制的2个不同的Web服务吗?



例如:在OSB中有两个wsdl,每个wsdl一个有自己的业务服务和ProxyService。在我的vb.net应用程序中,我启动了一个事务,成功地称为第一个Web服务,从第二个Web服务我得到了一个例外。我期望第一个Web服务撤消其工作,因为vb.net aplication执行rollback命令。这可能吗?我能怎么做?任何样本或提示都会有所帮助。



如果我在没有OSB的情况下开发,我会依赖于WS-AT,如 6在WCF中启用事务的步骤 [ ^ ]用于两个Web服务点网或一个Web服务dot net和其他java, http://www.ibm.com/developerworks/websphere/ library / techarticles / 0707_lo / 0707_lo.html [ ^ ]。



我的问题基本上是:当多个Web服务调解时,仍然可以在多个Web服务之间保持单个事务OSB?如果有,是否有一个示例显示如何?

Could someone tell me if the OSB can have 2 diferents web services controlled by an unique transaction?

For instance: in the OSB there are two wsdl, each one with its own Business Service and ProxyService respectively. In my vb.net aplication I started a transaction, called the first web service succefully and from the second web service I got an exception. I expected the first web service undo its work because the vb.net aplication excute a rollback command. Is this possible? How can I do? Any sample or tip will be helpfull.

If I was developing without OSB, I would rely on WS-AT as shown in 6 Steps to Enable Transactions in WCF[^] for two web services dot net, or for one web service dot net and other java, http://www.ibm.com/developerworks/websphere/library/techarticles/0707_lo/0707_lo.html[^].

My question is basically: Is still possible to keep a single transaction between multiple web services when they are mediated by OSB? If so, is there a example showing how?

推荐答案

没有OSB 11g不支持WS-AT,但如果你想在一个AT中管弦乐2 DB适配器那么你可以做到。
no OSB 11g does not support WS-AT, But if you want to orchestra 2 DB adapter in a AT then you can do it.


这篇关于如何控制OSB中两个Web服务之间的事务(WS-AT)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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