蔡益坤臺灣大學:資訊管理學研究所許均揚Syu, Jyun-YangJyun-YangSyu2007-11-262018-06-292007-11-262018-06-292004http://ntur.lib.ntu.edu.tw//handle/246246/54324With XML-based standards for interface description and message exchange, Web services have become a widely accepted solution to the interoperatability problem between heterogenous and incompatible systems over the Internet. As Web Services become more and more popular, there may be more than one service providers that provide a similar service, and the user may want to find the best fit for him. Many researches use criteria such as QoS or desired contents to determine the Web Services that the requester actually needs. Most of these researches assume that all operations doing the same thing will use the same operation name and the same input and output parameters in the same order. This is not true in practice. The goal of Web service adaptation is to adapt the inputs and outputs of one operation to the inputs and outputs of another operation automatically at runtime. In this thesis, we provide an approach to Web service adaptation with the help of ontology definition languages such as OWL and OWL-S. We assume there exists a shared ontology between Web services in the same industry, and the input and output parameters have their types come from this shared ontology. With OWL-S and some extension added to annotate the Web services, we can adapt one operation to another automatically. Our research group have implemented a prototype system to help customer make a trip plan, where our Web service adaptation acts as one part of this system.1 Introduction 1.1 Background . . . . . . . . . . . . . . . . . . . . . 1 1.2 Motivations. . . . . . . . . . . . . . . . . . . . . 3 1.3 Problem Definitions and Objectives . . . . . . . . . 3 1.4 Thesis Outline . . . . . . . . . . . . . . . . . . . 5 2 Related Work 2.1 Web Services . . . . . . . . . . . . . . . . . . . . 6 2.1.1 SOAP . . . . . . . . . . . . . . . . . . . . . . . 6 2.1.2 WSDL . . . . . . . . . . . . . . . . . . . . . . . 7 2.1.3 BPEL4WS . . . . . . . . . . . . . . . . . . . . . 10 2.1.4 UDDI. . . . . . . . . . . . . . . . . . . . . . . 12 2.2 The Semantic Web. . . . . . . . . . . . . . . . . . 14 2.2.1 Ontology. . . . . . . . . . . . . . . . . . . . . 15 2.2.2 OWL . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.3 OWL-S . . . . . . . . . . . . . . . . . . . . . . 19 2.2.4 OWL Rule Language . . . . . . . . . . . . . . . . 21 2.3 Service Discovery and Matchmaking . . . . . . . . . 23 2.4 Service Adaptation. . . . . . . . . . . . . . . . . 24 3 Ontology-Based Adaptation 3.1 Overview. . . . . . . . . . . . . . . . . . . . . . 26 3.2 Formal Problem Definition . . . . . . . . . . . . . 27 3.3 Assumptions . . . . . . . . . . . . . . . . . . . . 29 3.4 Adapting Service Components . . . . . . . . . . . . 29 3.4.1 WSDL documents. . . . . . . . . . . . . . . . . . 29 3.4.2 OWL-S documents . . . . . . . . . . . . . . . . . 30 3.4.3 Adapting Algorithms . . . . . . . . . . . . . . . 36 3.4.4 Shared Ontologies . . . . . . . . . . . . . . . . 42 4 The Implementation 4.1 Application: The Trip Planner . . . . . . . . . . . 44 4.2 Implementation of Adaptation. . . . . . . . . . . . 45 4.3 Test Cases. . . . . . . . . . . . . . . . . . . . . 46 5 Conclusion 5.1 Contributions . . . . . . . . . . . . . . . . . . . 51 5.2 Future Work . . . . . . . . . . . . . . . . . . . . 52en-US網路服務網路服務探索網路服務接合SOAP語意化網路WSDLWeb Service AdaptationSemantic WebWeb ServiceWeb Service Discovery以知識本體為基礎之網路服務自動接合方法An Ontology-Based Approach to Automatic Adaptation of Web Servicesother