23

W3C XP Activity

  • Upload
    starr

  • View
    55

  • Download
    2

Embed Size (px)

DESCRIPTION

W3C XP Activity. Ray Denenberg, Library of Congress December 2000 ZIG Meeting. The goal of XML Protocol. Develop technologies allowing peers to communicate…. ...in a distributed environment... ...using XML as encapsulation language. Extensible and simple messaging format. - PowerPoint PPT Presentation

Citation preview

Page 1: W3C XP Activity
Page 2: W3C XP Activity

The goal of XML Protocol

• Develop technologies allowing peers to communicate….

• ...in a distributed environment...

• ...using XML as encapsulation language.

• Extensible and simple messaging format.

• Layered architecture.

Page 3: W3C XP Activity

Layering

• “XP supports applications layered on top

• as well as the capability of XP to be layered on top of (or bound to) a variety of underlying protocols.”

Page 4: W3C XP Activity

Application Protocols over XP….

XP

P3P CIRC Z39.50Dienst/

OAI

Page 5: W3C XP Activity

…and XP over lower layer protocols

Application Protocol

XP

HTTP

TCP

Page 6: W3C XP Activity

Without HTTP

Application Protocol

XP

TCP

Page 7: W3C XP Activity

Over SMTP instead of TCP

Application Protocol

XP

SMTP

Page 8: W3C XP Activity

XP Alternatives

XP SOAPXML-RPC

XMIEb

XML

Page 9: W3C XP Activity

Components of XP

• Envelope

• Serialization

• RPC

• Binding

Page 10: W3C XP Activity

Envelope

• Outermost syntactical construct within which all other syntactical elements of the message are enclosed.

• Described via XML Schema.

• Processing Model.

Page 11: W3C XP Activity

Processing Model

• Defines what it means to properly process an XP envelope or produce a fault.

• Independent of any extensions carried within the envelope.

• Applies both to intermediaries as well as ultimate destinations of an XP envelope.

• Extensible.

Page 12: W3C XP Activity

Extensibility

– Application specific payloads inside the XP envelope.

– Reference to application specific payloads outside the XP envelope.

– Nested XP envelopes as application specific data within the XP envelope.

– Reference to XP envelopes as application specific data outside the XP envelope.

– Semantics to indicate to an XP processor which extensions are optional and which are mandatory.

Page 13: W3C XP Activity

RPC

• A convention for the content of the envelope when used for RPC (Remote Procedure Call) applications.

• RPC is explicitly supported, but arbitrary messaging patterns and scenarios are implicitly supported. – (e.g one way)

Page 14: W3C XP Activity

RPC Conventions

• Unique specification of the program or object and procedure or method to be called based on URI

• Provisions for matching response messages to request messages for cases in which matching is not provided by the underlying transport protocol

Page 15: W3C XP Activity

RPC Conventions (continued)

• The ability to specify the parameters to a call in a request message and the results of a call in a reply messages

• Provisions for specifying errors in a reply message

Page 16: W3C XP Activity

Messaging patterns

• RPC

• One way

• Publish-subscribe

• multicast

• permanently and intermittently connected scenarios

Page 17: W3C XP Activity

Serialization

• mechanism for serializing data based on data models not directly representable by XML Schema types. – object graphs and directed labeled graphs– subordinate relationships known from

attachments and manifests.

Page 18: W3C XP Activity

HTTP Binding

“A mechanism for using HTTP transport in the context of an XML Protocol. This does not mean that HTTP is the only transport mechanism ..., nor that support for HTTP transport is mandatory. … merely addresses the fact that HTTP transport is expected to be widely used, …..”

Page 19: W3C XP Activity

Intermediaries

• proxies,

• caches,

• store-and-forward hops,

• gateways

Page 20: W3C XP Activity

Not Supported

• Binary

• compression

• transport

• application semantics

• metadata

Page 21: W3C XP Activity

XP should provide facilities (e.g. optional header elements) to encourage a common approach to:

• authentication,

• encryption,

• reliable delivery,

• sessions,

• transactions

Page 22: W3C XP Activity

Caution: Fictitious ExampleOST /StockQuote HTTP/1.1 Host: www.stockquoteserver.com Content-Type: text/xml; charset="utf-8" Content-Length: nnnn XPAction: "Some-URI"

<XP-ENV:Envelope <XP-ENV:Body> <m:GetLastTradePrice xmlns:m="Some-URI"> <symbol>DIS</symbol> </m:GetLastTradePrice> </XP-ENV:Body></XP-ENV:Envelope>

Page 23: W3C XP Activity

Schedule

• September 2000: Working Group formed • October 2000: requirements Working Draft • January 2001: Initial Working Draft for XP• April 2001: Candidate Recommendation• August 2001: Proposed Recommendation

September 2001: Recommendation