Using Advanced Transaction and Workflow Models in Composing Web Services

J. Puustjärvi (Finland)


Web services, semantic web, Internet-based workflows, advanced transaction


A useful feature of Web services is that new and more complex Web services can be composed of other Web services. However, in many cases composed web services are useful only if they can be processed atomically. The (semantic) atomicity of composed Web services is ensured in a similar way as with advanced transaction models which use compensating transactions to undo the effects of successfully executed subtransactions. However, a problem of such compensation is that it has two contradicting semantics: from local point of view the subtransaction is like any single transaction while from global point of view it is a subtransaction of a distributed transaction having the mutual atomicity dependencies. As a result executing compensating transaction may cause problems, e.g., the cancellation of the hotel reservation may give rise for a special charge. In order to achieve shared understanding of transactions’ semantics we have developed a transaction ontology to be used in the Web. In this paper we explain how it should be used in information exchange between Web services. In addition we present our developed CWS-Transaction model (Composed Web Service Transaction model), which censures the atomicity of composed Web services but does not use compensating transactions at all. We also illustrate how CWS-transactions can be processed by a workflow engines based on BPEL4WS-code.

Important Links:

Go Back