Engineering Compensations in Web Service Environment

  • Michael Schäfer
  • Peter Dolog
  • Wolfgang Nejdl
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4607)


Business to business integration has recently been performed by employing Web service environments. Moreover, such environments are being provided by major players on the technology markets. Those environments are based on open specifications for transaction coordination. When a failure in such an environment occurs, a compensation can be initiated to recover from the failure. However, current environments have only limited capabilities for compensations, and are usually based on backward recovery. In this paper, we introduce an engineering approach and an environment to deal with advanced compensations based on forward recovery principles. We extend the existing Web service transaction coordination architecture and infrastructure in order to support flexible compensation operations. A contract-based approach is being used, which allows the specification of permitted compensations at runtime. We introduce the abstract service and adapter components which allow us to separate the compensation logic from the coordination logic. In this way, we can easily plug in or plug out different compensation strategies based on a specification language defined on top of basic compensation activities and complex compensation types. Experiments with our approach and environment show that such an approach to compensation is feasible and beneficial.


Business Process Abstract Service Concrete Service Compensation Rule Advanced Compensation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Alonso, G., Casati, F., Kuno, H., Machiraju, V.: Web Services - Concepts, Architectures and Applications. Springer, Heidelberg (November 2003)Google Scholar
  2. 2.
    Alrifai, M., Dolog, P., Nejdl, W.: Transactions Concurrency Control in Web Service Environment. In: ECOWS ’06. Proceedings of the European Conference on Web Services, Zurich, Switzerland, pp. 109–118. IEEE Computer Society Press, Los Alamitos, CA, USA (2006)Google Scholar
  3. 3.
    Chappell, D.A.: Enterprise Service Bus. O’Reilly Media, Inc., (2004)Google Scholar
  4. 4.
    Christensen, E., Curbera, F., Meredith, G., Weerawarana, S.: Web Services Description Language (WSDL) 1.1. W3C note, W3C (March 2001)Google Scholar
  5. 5.
    Dobson, G.: Using ws-bpel to implement software fault tolerance for web services. In: EUROMICRO ’06. Proceedings of the 32nd EUROMICRO Conference on Software Engineering and Advanced Applications, pp. 126–133. IEEE Computer Society Press, Los Alamitos (2006)Google Scholar
  6. 6.
    Alves, A., et al.: Web Services Business Process Execution Language Version 2.0 (Published online 2007)
  7. 7.
    Gray, J.: The transaction concept: Virtues and limitations. In: VLDB 1981: Intl. Conference on Very Large Data Bases (1981)Google Scholar
  8. 8.
    Greenfield, P., Fekete, A., Jang, J., Kuo, D.: Compensation is not enough. In: EDOC 2003. 7th International Enterprise Distributed Object Computing Conference, Brisbane, Australia, pp. 232–239. IEEE Computer Society Press, Los Alamitos (2003)Google Scholar
  9. 9.
    Karastoyanova, D., Houspanossian, A., Cilia, M., Leymann, F., Buchmann, A.P.: Extending bpel for run time adaptability. In: Ninth IEEE International Enterprise Distributed Object Computing Conference EDOC, Enschede, The Netherlands (2005)Google Scholar
  10. 10.
    Lin, L., Liu, F.: Compensation with dependency in web services composition. In: NWeSP 2005. International Conference on Next Generation Web Services Practices, Seoul, Korea, August 2005, pp. 183–188. IEEE Press, New York (2005)Google Scholar
  11. 11.
    Arjuna Technologies Ltd., BEA Systems, Hitachi Ltd., IBM Corporation, IONA Technologies, and Microsoft Corporation. Web Services Business Activity Framework (Published online 2005)
  12. 12.
    Arjuna Technologies Ltd., BEA Systems, Hitachi Ltd., International Business Machines Corporation, IONA Technologies, and Microsoft Corporation. Web Services Coordination (Published online 2005)
  13. 13.
    Arjuna Technologies Ltd., BEA Systems, Hitachi Ltd., International Business Machines Corporation, IONA Technologies, and Microsoft Corporation Inc. Web Services Atomic Transaction (Published online 2005)
  14. 14.
    Meyer, B.: Applying ”Design by Contract”. IEEE Computer 25(10), 40–51 (1992)Google Scholar
  15. 15.
    Nielsen, H.F., Mendelsohn, N., Moreau, J.J., Gudgin, M., Hadley, M.: SOAP version 1.2 part 1: Messaging framework. W3C recommendation, W3C (June 2003)Google Scholar
  16. 16.
    Pires, P.F., Benevides, M.R.F., Mattoso, M.: Building reliable web services compositions. In: Aksit, M., Mezini, M., Unland, R. (eds.) NODe 2002. LNCS, vol. 2591, pp. 7–10. Springer, Heidelberg (2003)Google Scholar
  17. 17.
    Reichert, M., Dadam, P.: ADEPTflex: Supporting Dynamic Changes of Workflow without Loosing Control. Journal of Intelligent Information Systems 10(2), 93–129 (1998)CrossRefGoogle Scholar
  18. 18.
    Reichert, M., Rinderle, S., Kreher, U., Dadam, P.: Adaptive Process Management with ADEPT2. In: ICDE, pp. 1113–1114. IEEE Press, New York (2005)Google Scholar
  19. 19.
    Rinderle, S., Bassil, S., Reichert, M.: A Framework for Semantic Recovery Strategies in Case of Process Activity Failures. In: Manolopoulos, Y., Filipe, J., Constantopoulos, P., Cordeiro, J. (eds.) ICEIS, pp. 136–143 (2006)Google Scholar
  20. 20.
    Yang, Z., Liu, C.: Implementing a flexible compensation mechanism for business processes in web service environment. In: ICWS ’06. Intl. Conference on Web Services (2006)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Michael Schäfer
    • 1
  • Peter Dolog
    • 2
  • Wolfgang Nejdl
    • 1
  1. 1.L3S Research Center, University of Hannover, Appelstr. 9a, D-30167 HannoverGermany
  2. 2.Aalborg University, Department of Computer Science, Fredrik Bajers Vej 7E,DK-9220 Aalborg EastDenmark

Personalised recommendations