260 likes | 447 Views
Web Service Composition to Facilitate Grid and Distributed Computing: Current Approaches and Future Framework. Muhammad Ahtisham Aslam Sören Auer Jun Shen Michael Herrman. Agenda. Introduction Syntax Based Composition of Web Services Limitations Semantic Web and Semantic Web Services
E N D
Web Service Composition to Facilitate Grid and Distributed Computing: Current Approaches and Future Framework Muhammad Ahtisham Aslam Sören Auer Jun Shen Michael Herrman Muhammad Ahtisham Aslam
Agenda • Introduction • Syntax Based Composition of Web Services • Limitations • Semantic Web and Semantic Web Services • Existing Approaches and Their Limitations • A Framework for Dynamic and Automated Composition of Web Services Muhammad Ahtisham Aslam
Introduction • Web services provide syntax based interfaces • These services can be manually discovered and composed by using different workflow languages (e.g. BPEL4WS) • Exporting such a BPEL process as WSDL service has same syntactical limitations • Business processes are statically bound with other business partners due to these syntatical limitations • Web services should expose semantic interface • The semantically enriched services should be dynamically composed on the basis of matching semantics • Semantic based dynamic discovery and composition of Web services can result in reliability, flexibility and scalability of Distributed and Grid computing integration scenarios Muhammad Ahtisham Aslam
Agenda • Introduction • Syntax Based Composition of Web Services • Limitations • Semantic Web Semantic Web Services • Existing Approaches and Their Limitations • A Framework for Dynamic and Automated Composition of Web Services Muhammad Ahtisham Aslam
Web Services and BPEL4WS Web Services • Self-Contained and Self-Describing Applications • Platform Independent • Loosely Coupled • Reusable Applications • BPEL4WS Process Model • Composes Web services in a static way • Define data flow between Web services • Implement business rules • Can export and import functionality by using Web service interfaces • Interoperable integration model • Enable integration in both intera-corporate and B2B level Muhammad Ahtisham Aslam
An Example Scenario We have two services • Language Translation Service Desc: Translates string from one language to other Input Parameters: inputString (string to be translated) inputLanguage (input language) outputLanguage (output language) • Dictionary Service • Desc: Returns meaning of an input string (eng 2 eng) • Input Parameters: • inputString (input word) What if a German user wants to get meaning of a German word in German? Muhammad Ahtisham Aslam
Language Translation Service Dictionary Service Language Translation Service Modeling Web Services Composition Compose these web services by using BPEL Muhammad Ahtisham Aslam
Agenda • Introduction • Syntax Based Composition of Web Services • Limitations • Semantic Web Semantic Web Services • Existing Approaches and Their Limitations • A Framework for Dynamic and Automated Composition of Web Services Muhammad Ahtisham Aslam
Translater Web service example <wsdl:definitions targetNamespace="http://www.mindswap.org....."> .................... <wsdl:message name="getTranslationRequest"> <wsdl:part name="inputString" type="xsd:string"/> <wsdl:part name="inputLanguage" type="xsd:string"/> <wsdl:part name="outputLanguage" type="xsd:string"/> </wsdl:message> ....................... </wsdl:definitions> What computers can predict about ? Limitations • inputString(A book or student or location or what) • inputLanguage(A book or student or location or what) • outputLanguage(A book or student or location or what) Muhammad Ahtisham Aslam
Limitations (Cont.) • With growing number of services, manual discovery and composition is an inefficient and non-flexible approach. • Design time composition is not able to handle services, which change on the fly. • Static binding of Web services result in failure of composition task, even if a single service within composition is not accessible on the network. • Syntax based composition restricts to dynamically discover and compose alternate services, which perform same task. Muhammad Ahtisham Aslam
Agenda • Introduction • Syntax Based Composition of Web Services • Limitations • Semantic Web Semantic Web Services • Existing Approaches and Their Limitations • A Framework for Dynamic and Automated Composition of Web Services Muhammad Ahtisham Aslam
Semantic Web & Semantic Web Vision Semantic Web is an extention to the current Web (WWW) to present data more efficiently which is easily processable for machines. • Semantic Web Vision is to: • Make the Web machine-readable • Provide shared meanings of terms between different computer systems • Allow computers to integrate information from disparate sources • Describing Web contents so that it can be reasoned about it • Rich description of Web services to automate Web services discovery and composition Muhammad Ahtisham Aslam
How Semantic Web Provides Machine Understandable Data? University Student <class ID=“Student“> <property ID=“name“/> <property ID=“studiesAt“/> <property ID=“livesIn“/> </class> <class ID=“GradStudent“> <subclassOf ID=“Student“/> <property ID=“interestedIn“/> </class> <class ID=“PhDStudent“> <subclassOf ID=“GradStudent“/> </class> <class ID=“MsStudent“> <subclassOf ID=“GradStudent“/> </class> <class ID=“University“> <property ID=“name“/> <property ID=“location“/> </class> Address <class ID=“Address“> <property ID=“street“/> <property ID=“city“/> <property ID=“zipCode“/> </class> Postal Information Geography Research <class ID=“ZipCode“> <class ID=“Research“> <Thing Id=“AI“/> <Thing Id=“Network“/> <Thing Id=“Graphics“/> </class> <class ID=“Country“> <property ID=“capital“/> </class> <class ID=“State“> <class ID=“City“> Slide from Evren‘s talk “Using Web Ontologies for Web Services Composition“ Muhammad Ahtisham Aslam
Web Services Semantics with Ontologies <!DOCTYPE uridef [ <!ENTITY factbook "http://www.daml.org/2003/09/factbook/languages"> <!ENTITY this "http://www.mindswap.org/2004/owl/1.1/BabelFishTranslator.owl"> ..................... ]> <profile:hasInput rdf:resource="#inputString"/> <profile:hasInput rdf:resource="#inputLanguage"/> <profile:hasInput rdf:resource="#outputLanguage"/> <profile:hasOutput rdf:resource="#outputString"/> • <process:Input rdf:ID="InputLanguage"> • <process:parameterType • rdf:datatype="&xsd;#anyURI">&this;#SupportedLanguage • </process:parameterType> • <rdfs:label>Input Language</rdfs:label> • </process:Input> Muhammad Ahtisham Aslam
Agenda • Introduction • Syntax Based Composition of Web Services • Limitations • Semantic Web Semantic Web Services • Existing Approaches and Their Limitations • A Framework for Dynamic and Automated Composition of Web Services Muhammad Ahtisham Aslam
Existig Composition Approach • METEOR-S project • Bottom-up approach • Template based composition • Semi-automatic composition using OWL-S • WSMO approach • Composition by using AI planner (SHOP 2) • SWORD • Plængine Muhammad Ahtisham Aslam
Dynamic Composition Issues • Service Discovery and Selection on the basis of matching Functional and Non-Functional Semantics • Service Binding & Referencing • Composition Strategy • Execution • Semantic Web Technology Muhammad Ahtisham Aslam
Comparison of Existing Approaches Muhammad Ahtisham Aslam
Agenda • Introduction • Syntax Based Composition of Web Services • Limitations • Semantic Web Semantic Web Services • Existing Approaches and Their Limitations • A Framework for Dynamic and Automated Composition of Web Services Muhammad Ahtisham Aslam
SWSs Integration Life Cycle Muhammad Ahtisham Aslam
Dynamic Composition Framework Muhammad Ahtisham Aslam
Related Publications • M. A. Aslam, S. Auer, J. Shen, M. Herrmann: An Integration Life Cycle for Semantic Web Services Composition. (Under review process) The 11th International Conference on Computer Supported Cooperative Work in Design (CSCWD 07), April 26-28, 2007, Melbourne, Australia. • M. A. Aslam, S. Auer: Bridging Semantic Gap Between Business Processes and Semantic Web Services. (Under review process in Computer Science Journal). • M. A. Aslam, S. Auer, J. Shen, M. Herrmann: Web Services Composition to Facilitate Grid and Distributed Computing: Current Approaches and Future Framework: Proceedings of 4th International Workshop on Frontiers of Information Technology (FIT 2006), December 20-21, 2006, Islamabad, Pakistan. • M. A. Aslam, M. Herrmann, S. Auer, R. Golden: Real-life SOA experiences and an Approach Towards Semantic SOA. Proceedings of 4th International Workshop on SOA and Web Services in conjunction with ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA 2006), October 22-26, Portland, Oregon, USA, ISBN 82–997428–0-3, pp. 72–81. Muhammad Ahtisham Aslam
Related Publications (cont.) • M. Herrman, M. A. Aslam : Mercedes Car Group (MCG) Enterprise Architektur – Ein Ansatz zur semantischen Modellierung der Services in einer SOA. In: Fähnrich, K.-P., Kühne, S. Speck, A. Wagner, J. (Hrsg.): Integration betrieblicher Informationssysteme: Problemanalysen und Lösungsansätze des Model-Driven Integration Engineering, Leipziger Beiträge zur Informatik: Band IV. Leipzig, Germany: 2006, S. 145–151, ISBN-10: 3–934178-66–9, ISBN-13: 978–3-934178–66-3.(German Paper). • M.A. Aslam, S. Auer, J. Shen, M. Herrmann: Expressing Business Process Model as OWL-S Ontologies. Proceedings of the 2nd International Workshop on Grid and Peer-to-Peer based Workflows (GPWW 2006) in conjunction with the 4th International Conference on Business Process Management (BPM 2006), Vienna, Austria, LNCS 4103 , Sept. 4, 2006, pp.400-415. • M. A. Aslam, S. Auer, J. Shen: From BPEL4WS Process Model to Full OWL-S Ontology. In proceedings of Posters and Demos 3rd European Semantic Web Conference (ESWC 2006), Budva,Montenegro, June 11-14, 2006, pp. 61-62. Muhammad Ahtisham Aslam
Related Work • BPEL4WS 2 OWL-S Mapping Tool V1.1.2 Download: http://bpel4ws2owls.sourceforge.net/ • pOWL Download: http://powl.sourceforge.net/ Muhammad Ahtisham Aslam
Muhammad Ahtisham Aslam PhD Candidate Business Information Systems Group Institute of Computer Science University of Leipzig Germany aslam@informatik.uni-leipzig.de Acknowledgement: This work is partially supported by the Higher Education Commission (HEC) of Pakistan. Homepage:www.hec.gov.pk Muhammad Ahtisham Aslam
Questions & Open Discussion Muhammad Ahtisham Aslam