60 likes | 142 Views
W3C Workshop WS-Policy in the Web Service Architecture. October 2004. Broker (UDDI). FindService. PublishService. FindServiceRequest. PublishServiceMetadata (e.g. WSDL location). FindServiceResponse. Create Purchase Order. CreatePurchaseOrderRequest. CreatePurchaseOrderResponse.
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)