Presentation is loading. Please wait.

Presentation is loading. Please wait.

WSDL Specification WSDL = Web Service Description Language Similar to ASN.1 – describes the abstract on the wire data structures Multiple bindings to on.

Similar presentations


Presentation on theme: "WSDL Specification WSDL = Web Service Description Language Similar to ASN.1 – describes the abstract on the wire data structures Multiple bindings to on."— Presentation transcript:

1 WSDL Specification WSDL = Web Service Description Language Similar to ASN.1 – describes the abstract on the wire data structures Multiple bindings to on the wire representations (not just SOAP) Tool Kits can build client and server stub code from WSDL

2 Messages Note: Query – CQL, Result Set Name, empty for Explain

3 PortTypes

4 HTTP GET Binding

5 HTTP GET Example http://www.server.com/search?query=author%3aSmith &startRecord=0&maximumRecords=10 &responseSchema=zng:RS1&recordSchema=DC

6 SOAP/HTTP POST Binding <soap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/http://schemas.xmlsoap.org/soap/encoding/ namespace="urn:z3950:zng_prototype1" use="literal"/> <soap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/http://schemas.xmlsoap.org/soap/encoding/ namespace="urn:z3950:zng_prototype1" use="literal"/>

7 SOAP/HTTP Example <SOAP-ENV:Envelope xmlns:SOAP- ENV=http://schemas.xmlsoap.org/soap/envelope/http://schemas.xmlsoap.org/soap/envelope/ xmlns:zng="urn:z3950:zng_prototype1“ SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/e ncoding/">http://schemas.xmlsoap.org/soap/e ncoding/ Author:Smith 0 10 zng:RS1 ONIX

8 Misc. Encryption (if required) via https (SSL) Authentication via HTTP Authentication

9 Response Actual Response Schema specified in request Schema either requests an XML document (for browser clients) or a SOAP wrapped XML document Default is “RS1”

10 Response Schema RS1 Overview

11 Response Schema RS1 Result Set Reference Note – result set name server generated

12 Response Schema RS1 Records

13 Response Schema RS1 Status

14 Response Schema RS1 Diagnostic Used as non-surrogate in Status structure Used as surrogate in Record structure

15 Response Schema RS1 - Example (SOAP Wrapped) <SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/http://schemas.xmlsoap.org/soap/envelope/ xmlns:zng="urn:z3950:zng_prototype1“ SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">http://schemas.xmlsoap.org/soap/encoding/ SERVER-GENERATED-NAME 16 Oct 2001 15:00:00 GMT 2 DC Smith A Book zng:diagnostic 2 Record withheld due to Access Control 1 2 Records withheld due to Access Control


Download ppt "WSDL Specification WSDL = Web Service Description Language Similar to ASN.1 – describes the abstract on the wire data structures Multiple bindings to on."

Similar presentations


Ads by Google