Building Applications Using End to End Composition of Web Services

Vikas Agarwal, Girish Chafle, Koustuv Dasgupta, Neeran M. Karnik, Arun Kumar, Ashish Kundu, Anupam Mediratta, Sumit Mittal, Biplav Srivastava

Abstract

This paper presents a framework that bridges the gap between AI-driven semantic service planning and industrial-strength distributed execution. By decoupling logical service composition (the "what") from physical instance selection (the "how"), the authors enable rapid, scalable development of complex web applications, specifically targeting the high-pressure needs of the telecom sector.

Introduction

In the early 2000s, web services promised a revolution in business-to-business integration. However, a significant divide existed between industrial and academic approaches. Industry relied on a distributed systems approach (using WSDL, BPEL, and SOAP), which excelled at execution but lacked robust tools for capturing requirements or automating development. Conversely, academia championed an AI approach using ontologies and automated planning. While elegant, these academic models often produced "plans" that were difficult to deploy in real-world runtime environments.

The authors address this "piecemeal" reality, focusing on the telecom industry where service providers must launch new features—such as combining location-tracking with custom billing—in days rather than months. The challenge lies in automatically transforming high-level business requirements into deployable, scalable, and efficient workflows.

Methods: The Service Creation Environment

The proposed methodology is realized through a "Service Creation Environment" (SCE) that follows a four-step process to bridge the gap between specification and execution.

Architecture of the Service Creation Environment
  1. Logical Composition: Using generative AI planning and domain ontologies, the system reasons about service types. It takes a high-level "Service Specification" and produces an Abstract Workflow (Plan). This stage focuses on functional correctness—ensuring the logic of the application works.
  2. Physical Composition: The system then maps the abstract plan to specific service instances found in a registry. This selection is driven by non-functional requirements, such as Quality of Service (QoS), cost, or performance.
  3. Decentralized Execution: To avoid the bottlenecks of traditional centralized engines, the authors use a "Decentralizer tool." This tool performs static analysis to partition the workflow into smaller chunks that execute concurrently and in close network proximity to the services they invoke.
  4. End-to-End Integration: The framework connects these stages into a single pipeline, moving from a developer's requirement to a deployed, running service.

Key Insights

The framework's effectiveness stems from several core principles:

  • The Power of Decoupling: By strictly separating logical and physical composition, the system can explore qualitative logic independently of quantitative performance constraints.
  • Synergy over Silos: The paper argues that neither AI planning nor distributed programming is sufficient alone. The "best of both worlds" approach uses AI for the creative part of composition and distributed systems techniques for the heavy lifting of execution.
  • Scalability via Decentralization: Recognizing the high volumes handled by mobile service providers, the authors move away from a single orchestrator. Partitioning the workflow minimizes network latency and improves system throughput.

Results and Discussion

The authors developed a functional end-to-end prototype demonstrating:

  • Automated Workflow Generation: The ability to transform high-level specifications into deployable BPEL-like flows.
  • Decentralized Orchestration: Successful partitioning of flows to ensure data does not require unnecessary "round-trips" to a central engine.
  • Reduced Time-to-Market: The framework allows telecom providers to assemble applications from existing "building blocks" (e.g., address books, location services) without manual coding.

However, the system faces limitations. The Logical Composer relies heavily on a well-defined Domain Ontology; inaccuracies here can lead to planning failure. Additionally, while the framework handles deployment changes, managing the impact of runtime changes on goal-driven composition remains a challenge. Future work may focus on refining the "Decentralizer" tool for broader edge-case automation.

Conclusion

This research demonstrates that integrating AI-based planning with distributed execution environments provides a viable path for rapid service creation. By automating the transition from abstract requirements to physical deployment, the framework addresses critical industrial needs for agility and scalability.

Summary updated

BibTeX
@inproceedings{agarwal2005building,
  author = {Vikas Agarwal and Girish Chafle and Koustuv Dasgupta and Neeran M. Karnik and Arun Kumar and Ashish Kundu and Anupam Mediratta and Sumit Mittal and Biplav Srivastava},
  title = {{Building Applications Using End to End Composition of Web Services}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2005},
}
Figure