Introduction
In the evolving landscape of on-demand business, companies must rapidly deploy new applications to maintain a competitive edge. Traditionally, service creation has been a manual, error-prone process. This paper addresses the disconnect between industry standards—focused on execution via WSDL and BPEL—and academic research, which leverages Semantic Web technologies and AI planning for automated reasoning. The authors propose an end-to-end framework that bridges this gap, automating the transition from high-level business requirements to deployable, executable workflows.
Methodology: Two-Stage Composition
The core of the proposed system is a "Service Creation Environment" that decouples the composition process into two distinct stages: Logical and Physical Composition.
Logical Composition
This stage focuses on service types rather than specific instances. By using a domain ontology managed by IBM’s SNOBASE, the system understands service capabilities semantically.
- Requirements Specification: Users define goals using Inputs, Outputs, Preconditions, and Effects (IOPE).
- AI Planning: The system utilizes Planner4J to treat composition as a planning problem, searching for a sequence of service types that achieve the desired goal state.
- Filtering: To ensure scalability, a filtering module prunes irrelevant service types before planning begins, drastically reducing the search space.
Physical Composition
Once an abstract workflow is established, the system binds it to real-world service instances.
- Matchmaking: The Web Services Matchmaking Engine (WSME) identifies active service instances that meet the abstract plan's requirements.
- QoS-Based Selection: When multiple instances are available, a greedy heuristic selects the optimal one based on non-functional metrics like cost and response time.
- BPEL Generation: The final output is a concrete Business Process Execution Language (BPEL) file, ready for deployment on standard enterprise middleware.
Case Study: The Helpline Service
The framework was evaluated using a complex "Helpline Service" scenario designed for a washing machine manufacturer. This scenario involves multiple steps, including problem reporting, classification, and agent assignment.
The evaluation utilized an ontology of approximately 100 terms and a registry of 25 distinct service types. To test scalability, the authors injected up to 100,000 irrelevant service types to measure the effectiveness of their filtering and planning algorithms.
Key Results and Insights
The separation of "type" and "instance" proved critical for scalability. By planning at the type level first, the system avoids the combinatorial explosion inherent in reasoning over every individual service instance.
- Performance: In a test case requiring a 7-step plan amidst 100,000 irrelevant types, the system returned a solution in 4 seconds with filtering enabled. Without filtering, the process exceeded an hour.
- Practicality: The system demonstrates that AI planning can serve as a "compiler" for business logic, producing industry-standard BPEL for immediate execution.
- Recursive Reuse: The authors successfully generated a "Location-based Agent Selector" (LAS) and reused it as a component in the larger Helpline workflow, proving the system's support for modular service design.
Conclusion and Future Work
While the framework successfully automates end-to-end service creation, some limitations remain. Future work includes improving data mapping to handle complex type transformations automatically and refining heuristics for better alignment with user intent. Additionally, the authors aim to enhance the execution environment's dynamic adaptation capabilities, allowing for real-time rebinding in response to network failures.
Summary updated