Abstract
Instead of building self-contained silos, applications are being broken down in independent structures able to offer a scoped service using open communication standards and encoding. Nowadays there is no automatic environment for the construction of new mashups from these reusable services. At the same time the designer of the mashup needs to establish the actual locations for deployment of the different components. This paper introduces the development of a framework focusing on the dynamic creation and execution of service mashups. By enriching the available building blocks with semantic descriptions, new service mashups are automatically composed through the use of planning algorithms. The composed mashups are automatically deployed on the available resources making optimal use of bandwidth, storage and computing power of the network and server elements. The system is extended with dynamic recovery from resource and network failures. This enrichment of business components and services with semantics, reasoning, and distributed deployment is demonstrated by means of an e-shop use case.
Introduction
In the paradigm of Service-Oriented Architecture (SOA), applications are constructed from reusable building blocks known as web services. However, these services typically function as "silos" that describe their communication syntax but lack semantic descriptions of their actual functionality. Currently, creating a "mashup"—such as an e-commerce platform integrating a catalog, payment gateway, and shipping provider—requires manual integration, deployment, and maintenance. This process is rigid and brittle; if a service fails or a superior alternative emerges, manual intervention is required. This paper presents a framework designed to automate the entire lifecycle of service mashups: discovery, composition, deployment, and execution.
Framework Architecture and Methodology
The proposed framework leverages the Semantic Web and AI planning to move beyond manual integration. The technical foundation rests on several pillars:
- Semantic Annotation: Services are enriched with OWL-S (Web Ontology Language for Services) descriptions, defining their Inputs, Outputs, Preconditions, and Effects (IOPEs). This allows the system to reason about service compatibility.
- Two-Tier Planning Engine: The system separates logical workflow creation from physical mapping. A Workflow Reasoner uses backward chaining to create an abstract composition of service types. Subsequently, a Service Mapper maps these abstract types to concrete service instances based on real-time Quality of Service (QoS) constraints like cost and network load.
- Execution Environment: A central "blackboard" stores business logic rules and state information, enabling the system to be state-aware and handle dynamic data facts during runtime.
Key Insights and Dynamic Adaptation
A core innovation of this framework is the decoupling of workflow logic from physical instances. This allows the system to swap out failing or underperforming services at the last possible moment. Furthermore, the framework distinguishes between "information-providing" services (data retrieval) and "world-altering" services (e.g., processing a payment), ensuring that state-changing actions only occur when the plan is finalized.
By using Semantic Web Rule Language (SWRL), the system applies business logic at runtime to prune unnecessary workflow branches. For example, if a user selects a digital product, the system automatically removes physical shipping steps from the execution path.
Validation: The E-Shop Use Case
The framework was validated using a custom e-shop ontology and a suite of simulated web services. The system successfully generated complex workflows from high-level goals, such as "Product bought and delivered."
As shown in the use case, the framework handles decision points where multiple execution paths are possible. It correctly adapted the workflow based on product types (Digital vs. Physical) and user preferences. The Service Mapper optimized the selection of service instances to minimize execution time and cost, while the Execution Environment ensured resilience by allowing the system to recover from service failures without losing user progress.
Conclusion and Future Work
The presented framework demonstrates a robust approach to automated service composition. By combining semantic reasoning with a two-tier planning engine, it achieves a high degree of flexibility and resilience. Future research will focus on further distributing deployment components to optimize network bandwidth and incorporating machine learning to predict optimal compositions based on historical user behavior and resource performance trends.
Summary updated