Presentation is loading. Please wait.

Presentation is loading. Please wait.

112/14/2015 Discovery of Composable Web Services Presented by: Duygu ÇELİK Submitted by: Duygu ÇELİK & Vassilya ABDULOVA Submitted to: Assoc.Prof.Dr.Atilla.

Similar presentations


Presentation on theme: "112/14/2015 Discovery of Composable Web Services Presented by: Duygu ÇELİK Submitted by: Duygu ÇELİK & Vassilya ABDULOVA Submitted to: Assoc.Prof.Dr.Atilla."— Presentation transcript:

1 112/14/2015 Discovery of Composable Web Services Presented by: Duygu ÇELİK Submitted by: Duygu ÇELİK & Vassilya ABDULOVA Submitted to: Assoc.Prof.Dr.Atilla ELÇI CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

2 212/14/2015 Project Goal and Implementation Goal: develop an application that could extract relationships between Web Services and decide on whether these services are composable. The project implementation consists of three parts: –Creating Web Services using OWL-S – writing Java code for extraction of relationships between Web Services –JSP (Java Server Pages)/HTML code development of user interface. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

3 312/14/2015 Load Distribution of the Project: Plan Duygu: –Development of Java code for extraction of relationships between Web Services –Defining composability of Web Services Vassilya: –Creating Web Service ontologies using OWL-S (BookPrice.owl, BookFinder.owl, CarPrice.owl, CarFinder.owl, CurrencyConverter.owl) and establishing relationships between them –Creating an example scenario –Development of a web application in JSP CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

4 412/14/2015 Created Web Services For Testing The program tries to find relationships chain A sequence for composability relation between different Web Services (WS). Create five choices of web services: –Book Finder WS, –Book Price WS, –Car Finder WS, –Car Price WS and –Currency Converter WS. OWL-S was used to develop ontologies for these services. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

5 512/14/2015  OWL-S is a set of ontologies for describing web services.  It has been developed to provide the building blocks for encoding rich semantic service descriptions based upon OWL the semantic web language recommended by W3C.  It consists of three main upper ontologies used to describe three features of the services:  The Profile facet is essentially used for describing the non- functional properties (service name, category, quality of service etc.)  The Process facet gives a detailed description of a service operation, its inputs and outputs and can even detail its internal processes.  The Grounding facet provides details on how to interoperate with a service via messages. OWL-S and Web Services CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

6 612/14/2015 Car Price WS Ontology Created This service takes information about the car as an input and returns the price of the car. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

7 712/14/2015 Car Price This service returns the price of a car. The service profile gives the information needed for an application to discover a service. Car Price WS Profile Information CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

8 812/14/2015 &xsd;#string Car Info &currency;#Price Car Price Car Price WS Process Information CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

9 912/14/2015 Composability of Web Services See next figure: Input/Output relationships between some services. Applied Logic: One of the outputs of one service should match one of the inputs in another service. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

10 1012/14/2015 I/O Relationships-Services’ Processes 1.Book Finder WS => Book Price WS => Currency Converter WS. 2.Car Finder WS => Car Price WS => Currency Converter WS. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

11 1112/14/2015 Example Scenario: Price Information WS. Provides book price information and car price information services to end users. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

12 1212/14/2015 Implementation The software is developed in Java platform. The system used some important and useful tools that are developed for semantic web technologies such as some APIs. Those tools were helpful for retrieving necessary information from OWL and OWL-S files. Those tools are imported in Java Net beans 5.5 which are Jena 2.0 OWL API and OWL-S API. Two JSP pages (user interface) and Java Classes (functions) were created. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

13 1312/14/2015 Extraction of Process I/O Info from OWL-S Ontology Files software opens the one of owls extract its all processes’ inputs and outputs terms we compare them and get relations between them Check if exists one service output is an input for another one. The system used OWL-S API to extracting each service’s processes I/O Terms. /********************************************************/ public List AllInputs() { InputList inputList=process.getInputs(); List allInputsList=new LinkedList(); for(int i=0;i<inputList.size();i++) { allInputsList.add(inputList.inputAt(i).getLocalName()); } return allInputsList; } /********************************************************/ public List AllOutputs() { OutputList outputList=process.getOutputs(); List allOutputsList=new LinkedList(); for(int i=0;i<outputList.size();i++) { allOutputsList.add(outputList.outputAt(i).getLocalName()); } return allOutputsList; } CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

14 1412/14/2015 System Working on Some Existing Ontologies Five different ontology files were taken into consideration for finding a relationship chain between them: SelOntFiles[0]="http://by.emu.edu.tr/ont/BookFinder.owl"; SelOntFiles[1]="http://by.emu.edu.tr/ont/BookPrice.owl"; SelOntFiles[2]="http://by.emu.edu.tr/ont/CurrencyConverter.owl"; SelOntFiles[3]="http://by.emu.edu.tr/ont/CarFinder.owl"; SelOntFiles[4]="http://by.emu.edu.tr/ont/CarPrice.owl"; CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

15 1512/14/2015 A Case Study for the System Testing Assume some web services’ are found relational by any discovery system/agent A system/agent may require a relation chain for those web services. Such software can catch relations to finding composable web services. If one service process produce an output which is a required input for performing by another service’s operation. Therefore we can say that those services are related each other and most probably both service needed by the client/agent. Next figure is showing a case study. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

16 1612/14/2015 Index.jsp CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

17 1712/14/2015 Result.jsp CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

18 1812/14/2015 Result.jsp (Cont) CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

19 1912/14/2015 CONCLUSION  We successfully implemented an application that extracts relationships between Web Services and decides on whether these services are composable.  Moreover, we developed five Web Services using OWL-S and tested their composability using the developed application, which was implemented in Java.  Finally, we developed a web application using JSPs, which allows users to select some Web Services and provides composability report to the user. CMPE 588 Project: Composable Web Services Duygu CELIK & Vassilya ABDULOVA

20 2012/14/2015 Running The Software… Then Questions?


Download ppt "112/14/2015 Discovery of Composable Web Services Presented by: Duygu ÇELİK Submitted by: Duygu ÇELİK & Vassilya ABDULOVA Submitted to: Assoc.Prof.Dr.Atilla."

Similar presentations


Ads by Google