Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Services Seminar: Service Description Languages Andrei Manuel Dub Yuan Liu.

Similar presentations


Presentation on theme: "Web Services Seminar: Service Description Languages Andrei Manuel Dub Yuan Liu."— Presentation transcript:

1 Web Services Seminar: Service Description Languages Andrei Manuel Dub Yuan Liu

2 Service Description Language From Microsoft Describing network services(general) Abstract functionality Concrete details Conformance criteria for documents 2 Web + SDL = WSDL

3 What is 3 SOAP WSDL UDDI WSDL stands for Web Services Description Language WSDL is written in XML WSDL is an XML document WSDL is used to describe Web services WSDL is also used to locate Web services WSDL is a W3C recommendation

4 Structure 4 Src: wikipedia ? [ | ]* ? [ | | ]*

5 5 Src: Web Services Description Language (WSDL) Version 2.0 Part 0: Primer:Figure 2-1. WSDL 2.0 Infoset Diagram

6 namespace 6 Namespace in the description label: Decide on a WSDL 2.0 target namespace URI and other namespaces

7 types 7 Message types: A good start point is to describe the types of messages that our services will use. Not limited in XML Schema

8 interface 8 Define the operations to be performed by Web Services and the messages it used This operation returns a list of books.

9 binding 9 It specifies the format of the concrete message and the details of the transmission protocol. (SOAP 1.2 and HTTP) Each interface construct has a binding counterpart.

10 service 10 Where the service can be accessed. Note that one service is to one interface!

11 More On WSDL 11 If you are interested in… import/include mechanisms namespaces Mapping to RDF and Semantic Web extensibility

12 An overview 12

13 SOAP Encoding 13 WSDL describes Services SOAP transports messages SOAP WSDL How can we define the mapping?

14 SOAP Encoding 14 SOAP WSDL Literal Concrete

15 15

16 An overview 16

17 17 From 1.1 to 2.0 message is integrated in interface Interfaindicativece is more clear than portType A binding is now reusable. Adequate HTTP binding

18 An overview 18

19 19 WADL Binding occurs only with the HTTP protocol Major in Resource oriented web services Components: application – root element resources – resources provided by the application method– defines the HTTP to be called + parameters response– an HTTP status code

20 An overview 20

21 21 Why not to RESTful… Why& Why Not? Does WSDL always have to describe SOAP-based web services? Can it describe RESTful web services? Why not: SOAP,SMTP, or plain HTTP. In WSDL 2.0, it can even describe RESTful web services

22 22

23 Why? 23 SOAP WSDL UDDI SOAP+WSDL+UDDI vs RESTful Web Services Universal Description, Discovery, and Integration

24 24 WS- Src: Web Information Systems Lecture Slides: Web 2.0 Patterns,Beat Signer

25 Why? SOAP+WSDL+UDDI XML,XML,XML no mechanism for the caching of results complexity RESTful stateless cacheability layering simple CRUD better integrated with HTTP and web browsers 25

26 26


Download ppt "Web Services Seminar: Service Description Languages Andrei Manuel Dub Yuan Liu."

Similar presentations


Ads by Google