web service wsdl
TRANSCRIPT
![Page 1: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/1.jpg)
Web Services - WSDLDr. Schahram Dustdar
![Page 2: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/2.jpg)
Overview
What is WSDL?WSDL alternatives?WSDL discussion: pro‘s & con‘sWSDL structure
![Page 3: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/3.jpg)
What is WSDL?
Web Services Description LanguageAn XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented informationBindings are described in conjunction with SOAP 1.1, HTTP GET/POST and MIME data and protocol formatsWSDL documents provide
documentation for distributed systems to communicateA recipe for automating the details involved in applications communication
WSDL documents don‘t provideSecurity informationQoS information
![Page 4: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/4.jpg)
What is WSDL?
WSDL 1.1 submitted to W3CDescribes
TypesMessagesPort Types (Groups of operations)
Bindings (port type associated with protocol)Ports (associations of bindings with network address)Services (groups of ports)
![Page 5: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/5.jpg)
WSDL alternatives?
e-speak (Hewlett Packard)Rosetta-netRDF
![Page 6: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/6.jpg)
WSDL pro‘s
Fits with SOAP (but not tied to it)Flexible and layered
![Page 7: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/7.jpg)
Example:WSDL & WebSphere Application Server
![Page 8: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/8.jpg)
WSDL Structure
WSDL identifies 4 elements of a service description
Reuseable DescriptionsType/Message DefinitionsAbstract Interface DescriptionsReuseable Protocol Bindings
Service DeploymentEndpoints of Deployed Services
![Page 9: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/9.jpg)
WSDL Dokumentaufbau
![Page 10: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/10.jpg)
Message Patterns - Overview
![Page 11: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/11.jpg)
Message Patterns One-Way
Analog zu Fire- and- ForgetDie Message wird vesendet; es wird keine Antwort erwartet.
Request/ResponseAnalog zu RPCDer Sender sendet eine Message der Receiver sendet eine Antwort darauf.
Solicit Response (noch offen)Ein Request ohne Daten für eine Response.Das Inverse einer One- Way Message
Notification (noch offen)Mehrere Empfänger für eine Message (broadcast ähnlich)Analog zu Publish/ Subscribe
![Page 12: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/12.jpg)
Message Patterns 1/2
![Page 13: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/13.jpg)
Message Patterns 2/2
![Page 14: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/14.jpg)
Scenario
![Page 15: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/15.jpg)
WSDL tags
![Page 16: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/16.jpg)
WSDL Structure
Abstract Description
ConcreteDescription
![Page 17: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/17.jpg)
Simple Web Service example
![Page 18: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/18.jpg)
WSDL for example 1/3
![Page 19: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/19.jpg)
WSDL for example 2/3
![Page 20: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/20.jpg)
WSDL for example 3/3
![Page 21: Web Service WSDL](https://reader034.vdocuments.net/reader034/viewer/2022042503/5528eacf4a7959c7158b456c/html5/thumbnails/21.jpg)
Reuseable WSDL Specs as tModels (WSDL und UDDI)
UDDI tModels provide a base for technical service descripionsWSDL provides an XML schema for defining reuseable technical specificationsA tModel that references a WSDL provides a mechanism (via UDDI) by which compliant services can be located and invoked