60 likes | 144 Views
Explore WS-Policy within WS-* architecture to describe, secure, and enhance web service contracts, applying to endpoints, protocols, and more. Learn its use in provider and consumer configurations, validation, and UDDI discovery.
E N D
W3C WorkshopWS-Policy in theWeb Service Architecture October 2004
Broker (UDDI) FindService PublishService FindServiceRequest PublishServiceMetadata(e.g. WSDL location) FindServiceResponse CreatePurchaseOrder CreatePurchaseOrderRequest CreatePurchaseOrderResponse Consumer Web Services Model SOAP/HTTP Provider
Web Service Architecture Constraints • Described Interfaces • Design by contract • “Describe the messages, not the code” • Message-oriented • Messages exchanged in a platform independent way • Loosely Coupled Services • Decentralized authorities for developing, deploying, extending, versioning and discovering services • Loosely Coupled Protocol Specifications • Modular and composable • Services use any combination of protocol specifications • “mix and match”
WS-* Specification Architecture Security Reliable Messaging Transactions Messaging Metadata WS-Policy,… XML Protocols
WS-Policy within WS-*architecture • Framework for expressing Web service capabilities and requirements • WSDL is limited in its ability to do this • Increases the fidelity of the contract • For describing • Security • Reliable Messaging • Transactions • …. • Applies to everything in the architecture • Endpoints • Protocols • Protocol specifications • WS-Policy scope bounded by the architecture Contract WSDL MEPs XML Schema MessageFormats Domain Policies WS-Policy Constraints & Capabilities
WS-Policy Usage Scenarios • Used by Provider • Provider Configuration • Validation • Used outside of Provider • Consumer Configuration • Validation • Discovery (UDDI)