File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes SOA and ESB and the fly likes How to control transactions (WS-AT) between two web services in Oracle Service BUS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » SOA and ESB
Bookmark "How to control transactions (WS-AT) between two web services in Oracle Service BUS?" Watch "How to control transactions (WS-AT) between two web services in Oracle Service BUS?" New topic
Author

How to control transactions (WS-AT) between two web services in Oracle Service BUS?

Deme Carva
Greenhorn

Joined: Nov 01, 2012
Posts: 3
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 http://www.codeproject.com/Articles/38793/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?
Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

The goal and the reality are very different.

You are responsible for calling the first Web Service and causing the first Web Service to post compensating transactions to rollback the original transaction. Sometime this century, the maturity of the infrastructure might reach the goal. For now, we must deal with what the reality is.
 
 
subject: How to control transactions (WS-AT) between two web services in Oracle Service BUS?
 
Similar Threads
Can I control transactions using JBI?
soap-connection pooling
WS-AT: Across multiple servers in same cell, Across different platforms
Web services sending messages
Transaction in Webservices