Open Access Open Access  Restricted Access Subscription or Fee Access

Dynamic Web Services Composition - An Aspect Oriented Approach

Abdelrahman M. ElSayed, Hesham A. Hassan


Service Oriented Architecture (SOA) has gained considerable interest in recent years, mostly due to the advent of standards-based Web services that simplify interoperability, loose-coupling and realization of SOA, one of the basic business motivations for implementing SOA today is achieving business agility, as SOA can help businesses respond more quickly and cost-effectively to changing market-conditions. It can also simplify interconnection to existing IT (legacy) assets as well as reconfiguring loosely coupled business services in a simple, fast and low cost manner. For SOA to succeed in that, it is a key issue to provide a dynamic Web service composition approach to facilitate business innovation and adapt IT to today's fast changing markets. Currently the industry standard web services composition language is BPEL (Business Process Execution Language) which has gained a large support from the industry since its start, however the lack of support for dynamic composition of services during runtime in BPEL is a major issue that motivated many researchers to overcome this deficiency, one of the successful solutions that approached this problem is AO4BPEL(Aspect Oriented for BPEL) which proposed using Aspect Oriented Programming techniques (AOP) to achieve dynamism in BPEL. In this paper, we propose an extension to BPEL (Business Process Execution Language) to achieve dynamic web services composition based on a dynamic approach for AO4BPEL. First, a dynamic approach for AO4BPEL is introduced, in that approach we propose an extension to AO4BPEL in order to allow it to dynamically generate aspects during runtime. then a BPEL container that makes use of AOP by implementing Dynamic AO4BPEL engine is created. Following that an enhancement is introduced to the BPEL language by the introduction of <extendedInvoke> tag which replaces the normal <invoke> tag in BPEL. The engine makes use of the <extendedInvoke> tag to determine which web service to be chosen during runtime. Finally, by performing BAM (Business Activity Monitoring) on the business process and web services, the qualified web services can be dynamically selected and bound into the business process. A prototype system has been developed and is also delivered to demonstrate the effectiveness of that approach.


Aspect Oriented Programming, Business Process Execution Language, Dynamic Web Services Composition, Service Oriented Architecture

Full Text:



Anis charifi, Mira Mezini: AO4BPEL: An Aspect-oriented Extension to BPEL: published in journal World Wide Web Volume 10 Issue 3, September 2007.

Ethan Cerami O’Reilly Press: Web Services Essentials 2002 ch. 1.

Norbert Bieberstein; Robert G. Laird; Dr. Keith Jones; Tilak Mitra : IBM Press: Executing SOA: A Practical Guide for the Service-Oriented Architect 2008; 12:26.

Assaf Arkin., Business Process Modeling Language- BPML 1.0, 2002:,

T. Andres et al., Business Process Execution Language for web services 1.1, Specifications, BEA Systems, IBM Corp., Microsoft Corp., SAP AG, Siebel Systems, May 2003.

R. Laddad. AspectJ in Action. Manning Publications, 2003.

Chenting Zhao, Zhenhua Duan, Man Zhang: A model driven approach for dynamic webservices composition 2009.

W3C, Web Service Description Language (WSDL), http://www.w3. org/TR/wsdl.

Michael Kay: Wrox press Xpath 2.0 programmers reference: 2004.

Anis charifi, mira mezini: Using Aspects for Security Engineering of Web Service Compositions, ICWS 2005. Proceedings. 2005 IEEE International Conference on web services.

Anis charifi, mira mezini: Hybrid Web Service Composition, Software Technology Group, Proceedings of the 2nd international conference on Service oriented computing 2004 ICSOC '04.

Anis Charfi, Benjamin Schmeling, Andreas Heizenreder, Mira Mezini: Reliable, Secure, and Transacted Web Service Compositions with AO4BPEL, ECOWS ’06 Proceedings of the European Conference on Web Services.

Anis charifi, mira mezini: An Aspect based Process Container for BPEL, AOMD’05 Proceedings of the 1st workshop on Aspect Oriented Middleware.

R Aggarwal, K. Verma, J. Miller, and W. Milnor. Constraint Driven Web Service Composition in METEOR-S, Proc. the IEEE International Conference on Service Computing, 2004, pp. 23-30.

Zhile Zou, Zhenhua Duan, Jianli Wang, A Comprehensive Framework for Dynamic Web Services Integration. Proc. The European Conference on Web Services, 2006, pp. 138-147.

Keita Fuji, Tatsuya, Semantics-Based Dynamic Service Composition, IEEE journal, December 2005.


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.