Compensation of Adapted Service Orchestration Logic in BPEL’n’Aspects

  • Mirko Sonntag
  • Dimka Karastoyanova
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6896)


BPEL’n’Aspects is a non-intrusive mechanism for adaptation of control flow of BPEL processes based on the AOP paradigm. It relies on Web service standards to weave process activities in terms of aspects into BPEL processes. This paper is a logical continuation of the BPEL’n’Aspects approach. Its main objective is to enable compensation of weaved-in Web service invocations (activities) in a straightforward manner. We present (1) requirements on a mechanism for compensation of weaved-in process activities; (2) the corresponding concepts and mechanisms to meet these requirements; (3) an example scenario to show the applicability of the approach; and (4) a prototypical implementation to prove the feasibility of the solution. This work represents an improvement in the applicability of this particular adaptation approach since processes in production need the means to compensate actions that are included into processes as result of an adaptation step, too. The concept is generic and hence can also be used by other approaches that adapt control flow.


Workflow Service Composition BPEL Compensation Aspect-orientation Adaptability 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    OASIS: Web Services Business Process Execution Language Version 2.0. OASIS Standard (2007),
  2. 2.
    Weerawarana, S., Curbera, F., Leymann, F., Storey, T., Ferguson, D.F.: Web Services Platform Architecture: SOAP, WSDL, WS-Policy, WS-Addressing, WS-BPEL, WS-Reliable Messaging, and More. Prentice Hall, Englewood Cliffs (2005)Google Scholar
  3. 3.
    Leymann, F., Roller, D.: Production Workflow: Concepts and Techniques. Prentice Hall, Englewood Cliffs (2000)zbMATHGoogle Scholar
  4. 4.
    Karastoyanova, D., Leymann, F.: BPEL’n’Aspects: Adapting Service Orchestration Logic. In: Proceedings of the 7th International Conference on Web Services, ICWS (2009)Google Scholar
  5. 5.
    Schroth, R.: Konzeption und Entwicklung einer AOP-fähigen BPEL Engine und eines Aspect-Weavers für BPEL Prozesse. Diploma Thesis No. 2523, University of Stuttgart (2006)Google Scholar
  6. 6.
    Reichert, M., Dadam, P.: Adeptflex – Supporting Dynamic Changes of Workflows Without Losing Control. Journal of Intelligent Information Systems 10(2) (1998)Google Scholar
  7. 7.
    Charfi, A., Mezini, M.: Aspect-Oriented Web Service Composition. In (LJ) Zhang, L.-J., Jeckle, M. (eds.) ECOWS 2004. LNCS, vol. 3250, pp. 168–182. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  8. 8.
    Kiczales, G.: Aspect-Oriented Programming. In: Aksit, M., Auletta, V. (eds.) ECOOP 1997. LNCS, vol. 1241, Springer, Heidelberg (1997)Google Scholar
  9. 9.
    W3C: Web Services Policy 1.5 – Framework. W3C Recommendation (2007),
  10. 10.
    W3C: Web Services Policy 1.5 – Attachment. W3C Recommendation (2007),
  11. 11.
    Khalaf, R., Karastoyanova, D., Leymann, F.: Pluggable Framework for Enabling the Execution of Extended BPEL Behavior. In: Proceedings of the 3rd International Workshop on Engineering Service-Oriented Application, WESOA (2007)Google Scholar
  12. 12.
    Wiselka, M.: Erweiterung einer AOP-fähigen BPEL Engine um die Kompensation von eingewobenen Aktivitäten. Diploma Thesis No. 2905, University of Stuttgart (2009)Google Scholar
  13. 13.
    Sonntag, M., Karastoyanova, D.: BPEL’n’Aspects And Compensation: Adapted Service Orchestration Logic and its Compensation Using Aspects. In: Weske, M., Yang, J., Maglio, P., Fantinato, M. (eds.) ICSOC 2010. LNCS, vol. 6470, pp. 724–725. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  14. 14.
    Charfi, A.: Aspect-Oriented Workflow Languages: AO4BPEL and Applications, Fachbereich Informatik, TU Darmstadt, PhD Thesis (2007)Google Scholar
  15. 15.
    Niemöller, J., Levenshteyn, R., Freiter, E., Vandikas, K., Quinet, R., Fikouras, I.: Aspect Orientation for Composite Services in the Telecommunication Domain. In: Baresi, L., Chi, C.-H., Suzuki, J. (eds.) ICSOC-ServiceWave 2009. LNCS, vol. 5900, pp. 19–33. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  16. 16.
    Courbis, C., Finkelstein, A.: Towards Aspect Weaving Applications. In: Proceedings of ICSE (2005)Google Scholar
  17. 17.
    Baresi, L., Guinea, S.: Towards Dynamic Monitoring of WS-BPEL Processes. In: Benatallah, B., Casati, F., Traverso, P. (eds.) ICSOC 2005. LNCS, vol. 3826, pp. 269–282. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  18. 18.
    Baresi, L., Guinea, S.: A Dynamic and Reactive Approach to the Supervision of BPEL Processes. In: Proceedings of the 1st India Software Engineering Conference, ISEC (2008)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Mirko Sonntag
    • 1
  • Dimka Karastoyanova
    • 1
  1. 1.Institute of Architecture of Application SystemsUniversity of StuttgartStuttgartGermany

Personalised recommendations