Vous êtes sur la page 1sur 4

Semantic Web Services and Service Composition

Eakan Gopalakrishnan
School of Electronics and Computer
Science, University of Southampton,
Southampton, Hampshire, SO17 1BJ
+4407760912219
eg5g09@ecs.soton.ac.uk

ABSTRACT exchange. After XML became the next big thing, many other
Semantic Web is the evolution of the existing machine readable languages were created based on XML to overcome its
World Wide Web into a machine intelligible information space. limitations. Resource Description Framework, DARPA Agent
Web Services could create a network of programs that produce Markup Language, DAML + Ontology Interface Language which
and consume this information autonomously, thereby later evolved into OWL (Web Ontology Language) are some of
revolutionizing the way we use the Web today. The future of the the languages developed for Knowledge representation purpose.
web is highly promising, where our queries would be answered by OWL has now matured into OWL 2.0, which is a W3C
agents communicating with each other using the most appropriate Recommendation and is supported by many ontology editors and
web services required to fulfil our queries by automatically reasoners.
composing web services when required. This would be possible Meanwhile Service Oriented Architecture, a key technology for
only when the existing web is completely machine- the development of loosely coupled services over the internet, that
understandable. This paper reviews some of the research done in uses messages as the basic unit of communication between
automating computer to computer interactions and web service processes became widely used in the form of Web Services [2]
invocation based on ontologies and different web service [3]. The Web Services standards are developed based on XML
composition methods that have been proposed so far. and some of them are: Simple Object Access Protocol [4], Web
Services Description Language, Universal Description Discovery
Categories and Subject Descriptors and Integration [3]. Concurrently AI research had been focused
C.2 [Computer Systems Organization]: Computer on the exploration of the science of agent systems in both
Communication Networks; C.2.4 [Distributed Systems] – theoretical and experimental results [5]. Agent Based systems
[Distributed Applications]; D.2.12 [Interoperability] – Interface were developed because of rapid changes in the requirements of
Definition Languages. the software market, to reduce the maintenance cost of developed
software [6]. An agent can be described as “a computer system
that is situated in some environment and that is capable of
General Terms autonomous action in that environment in order to meet its design
Automated Semantic Web Service Composition. objectives” [7].
Enabling agents to automatically use web services based on
Keywords semantics in its description is a challenging task. Web services are
Semantic Web, intelligent agents, web services, automated independent components; to fulfil a complex user requirement
composition. several of them must be invoked in a particular sequence. There is
no pre-defined execution plan for this purpose, because it would
1. INTRODUCTION depend completely on the user requirement. In other words, to
The Semantic Web was Sir Tim Berners-Lee’s vision of the web create a composite web service using simple atomic web services
being a universal medium of information and knowledge is called web service composition. Thus in the next section the
exchange, in machine readable and intelligible format which paper focuses on web service composition, the issues in
would enable computers to analyze all the data in the web by itself composition and research so far.
and change the way computers solve problems by a series
machine to machine interactions [1]. Some parts of the Semantic 2. WEB SERVICE COMPOSITION
Web specification are yet to be implemented, but some of them Web Services are platform independent software components that
have been formally accepted and recommended by the W3C. The are available in a distributed system, usually the internet. Soon
web initially, just a set of linked documents, later evolved into a applications will be assembled from a set of web services
collection of all sorts of information including multimedia integrated seamlessly. This process is called Web Service
content. The earlier documents on the web were basically in Composition. In other words it can be seen as a software synthesis
Hyper Text Markup Language that mainly focuses on the format problem or a planning and execution problem. There are two
of displaying the documents on the web. This did not provide the approaches to web service composition at present. One way is to
capability for machines to interpret it. After the development of manual composition using low level process modeling and
Extensible Markup Language, description of the represented execution languages like BPEL4WS [8]. The other approach is
information started to be used between computers for information
what is being researched in the Semantic Web Community, using execute the internal processes. The work was mainly an
a top-down description of the capabilities of the web services application of [20] in web service composition.
using standardized languages for specifying semantics like
During the emerging standards of the semantic web, [21]
DAML-S [9] or OWL-S [10]. The first approach requires a
demonstrated a conversational model of the clients and web
programmer to do all the work, whereas the second approach
services without imposing any explicit conversational context.
enables automated reasoning of the web services using the
The work is based on the assumption that service matching and
semantic information provided by the languages used for their
identification has already been completed, thus focused mainly on
description [11].
the execution of the web service.
2.1 Problems in Web Service Composition Another similar endeavour, that avoided low level programming
[12] describes the various issues in automating web service and use ontology for semantic representation was [22]. Ontology
composition. Some of them are: Co-ordination, Transaction, in simple terms would be a shared conceptualization of some term
Context of the service, the model of conversation between the based on semantic proximity of terms in a specific domain of
services, monitoring the execution and the infrastructure based on interest [22]. The authors focussed on two important aspects:
which service composition is done. Standards have been emerging composability model of the web service and automatic generation
to address these issues by different vendors. of the composition; where the former emphasizes on checking if
The interaction between web services is highly important for the web services to be composed can actually interact with each
automated composition; WS Coordination [27] and WS-CF [28] other and the latter focuses on generating composite services
are some of the attempts of standardizations to simplify web automatically. The approach defines message, purpose, category,
service development. quality, operation and web service as tuples; then checks for
composability based on several rules and further checks if the
To add reliability to transactions, transaction protocols like WS- composition is sound. The paper also comes up with a
Transaction [29] were standardized; they define protocols for matchmaking algorithm. The authors have combined the research
centralized and peer to peer transactions, both required for going on in automatic service composition, service matching and
coordination. some of the standardizations at that time to develop their method.
In web services terminology context means information utilized Waldinger’s approach in [23] is based on automated deduction
by the services to adjust execution and output to provide the client and program synthesis which is based on his earlier work [25].
with customized and personalized behaviour [30]. Similarly for Available services are first described in first-order logic and
other issues other standards like WS-Conversation Language, constructive proof generation is done using SNARK theorem
Web Service Choreography Interface, etc came up. prover from which service composition descriptions are extracted.

2.2 Previous Research Structural Synthesis of Programs, a deductive approach for


J Rao and X Su in [13] did a detailed survey on different types of program synthesis from structural properties using intuitional
web service composition techniques in the past. They suggest a 5 propositional logic is elaborated in [24]. Classical logic
step model for web service composition: service presentation, disjunctions are used to describe exceptions thrown during service
translation, process generation, evaluation and execution. They composition using this method.
classify composition techniques into two main categories:
Composition using workflow techniques, composition using AI 3. CONCLUSION
planning. Various methods used for service composition within Several different standards and a variety of approaches have been
the AI planning technique are also classified as: those methods proposed to create a service composition platform. New software
using situational calculus, using Planning Domain Definition applications are being built mostly on web services, thus research
Language which is demonstrated in [14], rule based planning [21] on web service composition has a huge impact on several other
and theorem proving [23] [24]. areas of research. And service composition if made completely
In [15], which is one of the earliest attempts at automating the automated would reduce development time of services, integration
composition problem, the authors present an agent technology and testing. The different approaches of dealing with web service
based on a logic programming language Golog [16], which is a composition are for different contexts. For example the workflow
situation calculus based programming language, a customized model is used in cases where the request already has a pre-defined
Golog interpreter made possible with the help of DAML-S, and process model, where as AI planning methods are used when
succeeded in implementing and testing a simple service that was there is a lack of process models but there are a specific set of
generic, customizable and usable. The aim of the method was to constraints and preferences.
enable software agents to reason about web services. Due to the complexity of the web services environment, it is quite
difficult to generate them automatically. But an ideal web service
M. Pistore et.al [17] attempts something similar by using Business
composition should provide ontology addition for planning
Process Execution Language for Web Services and “Planning as
problem, web services indexing which would make web services
Model Checking” Framework [18]. They attempt to deal with the
searchable and accessible, should use intelligent algorithms to do
three main challenges that arise during planning under
service composition; the user should be given the flexibility to
uncertainty: Non-determinism, Partial observability and extended
change the execution plan if required [31]. A web service
goals. The protocol specification for the problem is represented as
composition method that combines all these features is yet to be
a finite state machine and requirements are expressed in EaGLe
implemented. Probably with the growth of research in AI many of
[19], in order to search the domain and synthesize a plan to
these issues will be addressed.
4. REFERENCES domains. Journal of Logic Programming, 31(1-3):pp. 59–84,
[1] Sir Lee, T.B., Fischetti, M. 1999. Weaving the Web - The April-June 1997.
past, present and future of the Web by its Inventor. Orion [17] Pistore, M., Bertoli, P., Barbon, F., Shaparau, D., and
Business Publishing, 1999. Traverso, P. Planning and Monitoring Web Service
[2] Richardson, L., Ruby, S. 2007. RESTful web services. Composition. In International Conference on Automated
O'Reilly Media, Inc. p. 299 ISBN 9780596529260. Planning and Scheduling '04 Workshop on Planning and
Scheduling for Web and Grid Services, 2004.
[3] Ort, E. 2005. Service-Oriented architecture and web services:
Concepts, technologies and tools. [18] Bertoli, P., Cimatti, A., Pistore, M., and Traverso, P. 2003. A
http://java.sun.com/developer/technicalArticles/WebServices Framework for Planning with Extended Goals under Partial
/soa2/index.html, Sun Developer Network. Observability. In Proceedings of International Conference
on Automated Planning and Scheduling'03, pp. 215-224.
[4] Mitra, N. Ed. 2003. SOAP Version1.2 Part0: Primer.
http://www.w3.org/TR/soap12-part0/, W3C. [19] Dal Lago, U., Pistore, M. and Traverso, P. 2002. Planning
with a language for extended goals. In AAAI, 447–454.
[5] Wooldridge, M., & Jennings, N. R. 1998. Pitfalls of agent- Edmonton, Alberta, Canada: AAAI-Press/TheMITPress.
oriented development. In Proceedings of the Second
International Conference on Autonomous Agents, [20] Ardissono, L., Goy, A., Petrone, G. (2003), "Enabling
Minneapolis, MN, pp.385–391. conversations with web services", Proceedings of the Second
International Joint Conference on Autonomous Agents &
[6] Lander, S. E. 1997. Issues in multi-agent design systems. Multi-Agent Systems (AAMAS' 2003), ACM, Melbourne,
IEEExpert, 12(2),8–26. Australia, pp.819-26.
[7] Wooldridge, M. (1999), "Intelligent agents", in Weiss, G. [21] Medjahed, B., Bouguettaya, A., Elmagarmid, A. K. 2003.
(Eds), Multiagent Systems: A Modern Approach to Composing Web services on the Semantic Web, The VLDB
Distributed Artificial Intelligence, MIT Press, Cambridge, Journal — The International Journal on Very Large Data
MA, pp.27-77. Bases, v.12 n.4, p.333-351, November 2003
[8] Andrews, T., Curbera, F., Dholakia, H., Goland, Y., Klein, [22] McIlraith, S., Son, T., and Zeng, H. 2001. Semantic Web
J., Leymann, F., Liu, K., Roller, D., Smith, D., Thatte, S., Services. IEEE Intelligent Systems. Special Issue on the
Trickovic, I. and Weerawarana, S. Business Process Semantic Web, 16(2):46-53, March/April.
Execution Language for Web Services, Version 1.1.
Specification, BEA Systems, IBM Corp., Microsoft Corp., [23] Waldinger, R. Web agents cooperating deductively. In
SAPAG, Siebel Systems, 2003. Proceedings of FAABS 2000, Greenbelt, MD, USA, April 5–
7, 2000, volume 1871 of Lecture Notes in Computer Science,
[9] Ankolekar, A. 2002. DAML-S: Web Service Description for pages 250–262. Springer-Verlag, 2001.
the Semantic Web. In Proceedings of the 1st International
Semantic Web Conference (ISWC 02), 2002. [24] Lämmermann, S. (2002) Runtime Service Composition via
Logic-Based Program Synthesis, PhD Thesis, Department of
[10] The OWL Services Coalition. OWL-S: Semantic Markup for Microelectronics and Information Technology, Royal
Web Services. In Technical White paper (OWL-S version Institute of Technology, Stockholm.
1.0), 2003.
[25] Manna, Z., Waldinger, R. A Deductive Approach to Program
[11] Traverso, P., Pistore, M . 2004. Automated Composition of Synthesis, ACM Transactions on Programming Languages
Semantic Web. Services into Executable Processes– and Systems (TOPLAS), v.2 n.1, p.90-121, Jan. 1980
International Semantic Web Conference, 2004, Springer. [doi>10.1145/357084.357090]
[12] Dustdar, S. and Schreiner, W. 2005. ‘A survey on web [26] Hull, R., Benedikt, M., Christophides, V., Su, J. E-services: a
services Composition’, In International Journal of Web and look behind the curtain, Proceedings of the twenty-second
Grid Services, Vol. 1, No. 1, pp.1–30. ACM SIGMOD-SIGACT-SIGART symposium on Principles
[13] Rao, J., Su, X. A survey of automated web service of database systems, p.1-14, June 09-11, 2003, San Diego,
composition – In Semantic Web Services and Web Process California [doi>10.1145/773153.773154]
Composition, Springer Berlin, 2005, Volume 3387/2005 - . [27] Cabrera, L. F. et al.: Web Services Coordination (WS-
pp. 43-54. Coordination). In:
[14] McDermott, D. Estimated-regression planning for http://www6.software.ibm.com/software/developer/library/w
interactions with Web services. In proceedings of the 6th s-coordination.pdf
International Conference on AI Planning and Scheduling, [28] Bunting, D., Chapman, M., Hurley, O., Little, M.,
Toulouse, France, 2002. AAAI Press. Mischkinsky, J., Newcomer, E., Webber, J. & Swenson, K.
[15] McIlraith, S., and Son, T. 2001. Adapting Golog for Web Services Coordination Framework (WS-CF) Ver1.0. In:
Programming the Semantic Web. In Proceedings of the Fifth http://developers.sun.com/techtopics/webservices/wscaf/wscf
Symposium on Logical Formalizations of Commonsense .pdf. July 28, 2003
Reasoning (Common Sense 2001), 195-202, New York, NY, [29] Freund, T. & Story, T. Transactions in the world of Web
USA, May 20-22. Services, Part 1. An over-view of WS-Transaction and WS-
[16] Levesque, H., Reiter, R., Lesperance, Y., Lin, F., and Scherl, Coordination. In: http://www-
R. GOLOG: A logic programming language for dynamic 106.ibm.com/developerworks/webservices/library/ws-wstx1/
[30] Keidl, M., Kemper, A. Towards context-aware adaptable web [31] Durcik. Z. Automated web service composition, Workhop on
services, Proceedings of the 13th international World Wide Data Analysis Proceedings of the 9th International Student
Web conference on Alternate track papers & posters, May Workshop, Certovica, Slovakia, July 2nd-4th, 2009.
19-21, 2004, New York, NY, USA

Vous aimerez peut-être aussi