A K-Based Specification of Web Services CAL2014 Manel Amel - - PowerPoint PPT Presentation

a k based specification of web services
SMART_READER_LITE
LIVE PREVIEW

A K-Based Specification of Web Services CAL2014 Manel Amel - - PowerPoint PPT Presentation

A K-Based Specification of Web Services CAL2014 Manel Amel DJENOUHAT Laboratories : LIRE,team :GLSD ,UC2,Algeria,Cdric,team :VESPA CNAM-Paris ,France Pr.F.Belala , Pr.K.Barkaoui djenouhat.manel@gmail.com 1 Outline Problematic


slide-1
SLIDE 1

A K-Based Specification of

Web Services

CAL2014 Manel Amel DJENOUHAT

Laboratories : LIRE,team :GLSD ,UC2,Algeria,Cédric,team :VESPA

CNAM-Paris ,France Pr.F.Belala , Pr.K.Barkaoui djenouhat.manel@gmail.com

1

slide-2
SLIDE 2

Outline

Ø Problematic Ø Objectives Ø Overviews Ø Contributions Ø Conclusion and Perspectives

2

slide-3
SLIDE 3

SOA Conceptual Model

Problematic Objectives Overviews Contributions Conclusion& Perspectives

3

Standards : § Service discovery-UDDI

Universal Description Discrovery Intergration

§ Service Description-WSDL

Web Service Description Language

§ Service Invocation-SOAP

Simple Object Access Protocol

SAWSDL OWL

What about its semantics Did the protocol describe the results of invocation

slide-4
SLIDE 4

4

Intervene at each phase of the Web service development process to solve problems v Infer an operational semantic to service contracts written in WSDL v Formalize the Interactions between services v Optimize the Web services selection algorithm v Test the compatibility between services and try to adapt them to the context-aware v Verify and check the service properties

Problematic Objectives Overviews Contributions Conclusion& Perspectives

slide-5
SLIDE 5

5

Problematic Objectives Overviews Contributions Conclusion& Perspectives

WSDL Web Service Description Language

slide-6
SLIDE 6

6

Problematic Objectives Overviews Contributions Conclusion& Perspectives

The K-Tool

K module ≡ Maude module (meta-data ,K semantic ) K- syntax = syntax of the language in K K- semantic = (import) Ksyntax +Ksemantic ( Evaluation strategies,Configuration, Rules)

slide-7
SLIDE 7

7

Problematic Objectives Overviews Contributions Conclusion& Perspectives

The K-Tool

K- semantic = Ksyntax +Ksemantic ( Evaluation strategies , Configuration , Rules)

q Evaluation strategies :

Link between the syntax and the semantic. Gives the order in which the arguments of a construction must be evaluated.

q Configuration :

Represents the current state of execution.

q Rules :

Describe how a configuration evolve during the execution and which is susceptible to change states of the system.

slide-8
SLIDE 8

8

Problematic Objectives Overviews Contributions Conclusion& Perspectives

The K-Tool

A sound modeling methodology, to integrate WSDL into rewriting logic. A high level specification of Web service without any encoding or translation process is given.

K core K-WSDL syntax K modules Meta-data annotated Maude modules Executable Maude modules (K-WSDL) Intermediate representation K-Maude interface

slide-9
SLIDE 9

9

Problematic Objectives Overviews Contributions Conclusion& Perspectives

The K-Tool

Advantages

The main objective of K is to prove that a formal specification language can be at the same time : Simple,Comprehensive ,Analyzable ,Executable. v Extend the syntax of an existing language by the possibility of enriching it by adding new concepts and elements in answer to susceptible appearing needs . v Make a specification executable and consequently ,allow the concrete exploitation of the model. v Offer a high level of abstraction by the definition of a meta-model including all the language concepts . v Analyze and verify systems properties in a formal way by the use of the various mechanisms of analysis and check offered by the Maude language (K is implemented on the top of Maude).

slide-10
SLIDE 10

10

Problematic Objectives Overviews Contributions Conclusion& Perspectives

Full proposed grammar of WSDL in K :

slide-11
SLIDE 11

11

Problematic Objectives Overviews Contributions Conclusion& Perspectives

The K-WSDL-SYNTAX Module

slide-12
SLIDE 12

12

Problematic Objectives Overviews Contributions Conclusion& Perspectives

The K-WSDL Configuration

slide-13
SLIDE 13

13

Problematic Objectives Overviews Contributions Conclusion& Perspectives

The K-Rules

Semantics of Syntactic Declarations

Operational Semantics

slide-14
SLIDE 14

14

Problematic Objectives Overviews Contributions Conclusion& Perspectives

slide-15
SLIDE 15

15

Problematic Objectives Overviews Contributions Conclusion& Perspectives User ¡ Request UDDI

WSDL

Service ¡discovery Service ¡descrip6on

K-­‑Tool

WSDL

K-­‑WSDL

Add ¡ ¡seman6cs

slide-16
SLIDE 16

16

Problematic Objectives Overviews Contributions Conclusion& Perspectives Service ¡selec6on ¡

K-­‑WSDL K-­‑WSDL

¡ ¡Messages

SOAP

¡ ¡Messages

K-­‑Tool K-­‑WSDL

Service ¡invoca6on ¡

SImilarity ¡ algorithm ¡ If…. ¡ else…

Mesure ¡syntax ¡and ¡seman6c ¡similari6es ¡ ¡

slide-17
SLIDE 17

17

Problematic Objectives Overviews Contributions Conclusion& Perspectives

Example : Student registration

slide-18
SLIDE 18

18

Problematic Objectives Overviews Contributions Conclusion& Perspectives

WSDL Service Name Student: {definitions Service Name = Student: {TargeNameSpace Tns = "http://www.UC2.dz/kwsdl/Student.kwsdl" DefaultNameSpace Dns ="http://schemas.xmlsoap.org/kwsdl" message NumCardSearch request : "NumCardStudentRequest" message NumCardFound response :"NumCardStudentresponse" port StudentPort = Input request : "NumCardStudentRequest" port StudentPort = Output response :"NumCardStudentresponse" binding StudBinding StudentPort SOAP rpc = EncodingStyle = "http://schemas.xmlsoap.org/soap/encoding/" Tns = "http://www.UC2.dz/kwsdl/wiki.kwsdl" use = encoded service Student StudBinding StudentPort ServiceLocation :"http://www.UC2.dz/" exchange UC2 . Studentport to StudBinding . SendnumCardStudentRequest exchange Student .receiveNumCardStudentResponse to StudBinding .Studentport } }

The K-WSDL description of the student service and its execution in K

slide-19
SLIDE 19

19

Problematic Objectives Overviews Contributions Conclusion& Perspectives Service ¡composi6on ¡

User ¡ Request Select ¡service WS1,WS2,WS3 ¡…WSn Check-­‑compa6bility Resolve ¡mismatch Compose ¡ ¡ ¡ ¡ ¡ services TRUE FALSE

Service composition process

slide-20
SLIDE 20

20

Contributions :

v Defining a generic syntax for Web service

v Integrating WSDL in Maude using K technique . v Defining a complete formal execution framework for Web service v K represents the overall SOA architecture in a formal semantic framework

Problematic Objectives Overviews Contributions Conclusion& Perspectives

slide-21
SLIDE 21

21

Future Work : v Enrich the K-WSDL specification based on various related work v Exploiting the result model for executing more complex systems v Describe formally the web service behavior ( rewrite rules..) v Check the compatibility and similarities between services to compose them v Verifying the correctness of some properties :QoS, dynamic reconfiguration …etc. v Extending the proposed syntax of K-WSDL to deal with some others aspects (composition..) v Exploiting the K2-tool (last release of K).

Problematic Objectives Overviews Contributions Conclusion& Perspectives

slide-22
SLIDE 22

22

Thank you for your attention !