Claus von Riegen, SAP AG WS-Policy Overview W3C Workshop on Constraints and Capabilities for Web Services.

Slides:



Advertisements
Similar presentations
Bringing Grid & Web Services Together
Advertisements

Cross-Enterprise Document Sharing-b (XDS.b)
Putting the Pieces Together Grace Agnew Slide User Description Rights Holder Authentication Rights Video Object Permission Administration.
Cultural Heritage in REGional NETworks REGNET T1.4: Development of the system specification.
Primer Maryann Hondo, IBM Umit Yalcinalp, SAP. Current Proposal Introduction The WS-Policy specification defines a policy to be a collection of policy.
On and use=document|rpc, style=literal|encoded A personal opinion Sanjiva Weerawarana IBM Research September 9-11, 2002.
Jeff Mischkinsky Nickolas Kavantzas Goran Olsson Web Services Choreography.
WS-Policy F2F Austin, TX July 2006 Report on WS-Policy Interop Workshop of April 2006 (Round 3) Toufic Boubez Layer 7 Technologies.
® IBM Software Group © IBM Corporation WS-Policy Attachment- spec overview Maryann Hondo IBM.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
System Wide Information Management (SWIM)
Presented to: By: Date: Federal Aviation Administration Registry/Repository in a SOA Environment SOA Brown Bag #5 SWIM Team March 9, 2011.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
UKOLN, University of Bath
1 WSDL: Web Service Description Language Gary Sharp Mike Breakiron.
Chapter 2: Basic Standards for Web Services Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Web Service Architecture
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering.
Chapter 19 – Service-oriented Architecture
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Web Services Components of the Transactional Web James Snell
IONA Technologies Position Paper Constraints and Capabilities for Web Services
WS-Policy Brian Garback. 2 Agenda  Introduction  Domain Terminology  Policy Expressions  Policy Assertions  Policy Attachments  Conclusion  Policy.
An Introduction to Web Services Sriram Krishnan, Ph.D.
31242/32549 Advanced Internet Programming Advanced Java Programming
WS – Security Policy Prabath Siriwardena Director, Security Architecture.
25 seconds left…...
Presentation 7 part 2: SOAP & WSDL.
Week 1.
1 Web Services Based partially on Sun Java Tutorial at Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering 1.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
UDDI v3.0 (Universal Description, Discovery and Integration)
1 Understanding Web Services Presented By: Woodas Lai.
Web Services Seminar: Service Description Languages
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Realisation of SOA using Web Services Adomas Svirskas Vilnius University December 2005.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
CSE 636 Data Integration Web Services.
Web Service Architecture Part I- Overview and Models (based on W3C Working Group Note Frank.
WSDL Web Services Description Language Neet Wadhwani University of Colorado 3 rd October, 2001.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Web Services Experience Language Web Services eXperience Language Technical Overview Ravi Konuru e-Business Tools and Frameworks,
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
Web Services (SOAP, WSDL, and UDDI)
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
Web Services Description Language CS409 Application Services Even Semester 2007.
Dodick Zulaimi Sudirman Lecture 14 Introduction to Web Service Pengantar Teknologi Internet Introduction to Internet Technology.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
1 Web Services Web and Database Management System.
Kemal Baykal Rasim Ismayilov
Service Component Architecture Policy TC Issue 33 Capabilities.
AMI -ENT Service Definition Team Step-by-Step Modeling and Artifacts Generation Process.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
1 WS-Policy. 2 What’s the Problem? To use a web service a client needs more information than is provided in WSDL file. Examples: –Does service support.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
1 G52IWS: Web Services Description Language (WSDL) Chris Greenhalgh
Florida Atlantic University Department of Computer and Electrical Engineering &Computer Science ( CEECS ) Secure Systems Research Group Fall 2009 “A Pattern.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 9 Web Services.
Service Description: Addressing & Policy COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Florida Atlantic University Department of Electrical and Computer Engineering &Computer Science ( ECECS ) &Computer Science ( ECECS ) Security Systems.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
WS-Policy Brian Garback Department of Computer Science
Service-centric Software Engineering 1
W3C Workshop WS-Policy in the Web Service Architecture
Presentation transcript:

Claus von Riegen, SAP AG WS-Policy Overview W3C Workshop on Constraints and Capabilities for Web Services

WS-PolicyAttachment Outlook Where we are coming from WS-Policy

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 3 Web Services Model CreatePurchaseOrderRequest CreatePurchaseOrderResponse Provider Consumer Broker (UDDI) Create Purchase Order SOAP/HTTP PublishService FindService PublishServiceMetadata (e.g. WSDL location) FindServiceResponse FindServiceRequest

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 4 Requirements for a Web services policy language Expressiveness Describe any Web service constraint and capability Carry parameters Provide mechanism to specify compositions and alternatives Robustness Don‘t change whenever new Web service constraints and capabilities are developed Composeability Attach policy to WSDL elements and UDDI entities Associate policy with WS-Addressing Endpoint References Non-Goals Domain-specific policy attributes Policy exchange model

WS-PolicyAttachment Outlook Where we are coming from WS-Policy

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / „Policy Normal Form“ WS-Policy Information Model Policy Expression Collection of alternatives („pick one“) Policy Alternative Collection of assertions („do all“) Policy Assertion Domain-specific behavior

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 7 Compact Form – Nested Operators and operators can be nested arbitrarily Transformation to normal form using set theory (commutativity, associativity, idempotency, distributivity) Example distributes over  Is equivalent to

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 8 Compact Form – Optional Attribute Assertions may carry the wsp:Optional attribute An alternative with and an alternative without the assertion Simplification of prior wsp:Usage attribute Example...  Is equivalent to

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 9 Compact Form – Reference Mechanism URI-based policy identification mechanism wsu:ID attribute is used to specify a fragment identifier element to reuse common expressions Included as is where referenced wsse:X509v3

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 10 Intersection Do two Web service endpoints have compatible policy? At design time to “wire together” compatible services At runtime to select compatible options (see next slide) Compatibility of alternatives It is necessary that alternatives at least have the same assertion types Assertion-specific intersection needs to be determined per assertion type ? ?

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 11 Runtime Intersection RequesterProvider Get Metadata (To: P)' To: P R out P in Intersect Alternative Apply Validate Policy used by R to send messages out Policy used by P to receive messages in

WS-PolicyAttachment Outlook Where we are coming from WS-Policy

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 13 Web Services Policy Attachment (WS-PolicyAttachment) Association of policies with Web service subjects Subject type Arbitrary XML elements WSDL elements UDDI entities Association type Internal association (see next slide) External association  PolicyAttachment associates policy to domain expressions (identified by URI)  Domain expression can be WS-Addressing endpoint ref. + ( | ) +

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 14 Attaching Policy to WSDL and UDDI WSDL Policy references are made via global attributes or PolicyReference element as defined in WS-Policy Policy references can be made to policy expressions defined inline, e.g. in wsdl:definitions section UDDI Policy references are made via UDDI categorization mechanism Policy expressions are always remote to UDDI entities Reusable policy expressions can be registered as distinct tModels Policy-based discovery is limited to policy expression URIs Policy WSDL P UDDI Policy UDDI Policy

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 15 Effective Policy Calculation WSDL Policy is merged from abstract to concrete levels Policy mergedServicePolicySubjectEndpointPolicySubjectOperationPolicySubjectMessagePolicySubject

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 16 Merging Example... StockQuoteSoapBinding Policy = "RM" & "AUDIT" GetLastTradePriceRequest Input Binding Policy = "DSIG" & "TOK"

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 17 Policy Subject Types Message Policy CreatePurchaseOrderRequest CreatePurchaseOrderResponse CreatePurchaseOrder GetProductCatalogRequest GetProductCatalogResponse GetProductCatalog SOAP/HTTP SMTP SOAP/HTTP Provider Policy Service Policy Endpoint Policy Operation Policy ProviderRequester

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 18 Policy Assertions Policy assertions are domain-specific Strongly typed  Separate XML schema (syntax) and specification (semantics) Arbitrary nested structure of XML elements and attributes  Allows modeling of domain-specific complexity Separate namespace Assertion complexity Simple assertions Parameterized assertions Consequence for policy processors Support WS-Policy syntax directly Delegate policy assertion processing to assertion-specific handlers  Assertion-specific intersection, merge, and validation

WS-PolicyAttachment Outlook Where we are coming from WS-Policy

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 20 Policy Exchange Peer-to-peer Consumer retrieves policy from provider (e.g. WS-MetadataExchange) Brokered approach Provider publishes policy to broker (e.g. UDDI) Consumers subscribe to Web services used Broker notifies consumers in case changes occur ProviderConsumer P Broker Consumer P'

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 21 WS-Policy Roadmap Republished September 2004 WS-Policy & WS-PolicyAttachments Initial Interoperability Testing  Merging, Intersection, Normalization, Effective Policy Calculation  Live endpoints available Next steps Demonstrate Interoperability enabled by WS-Policy  Using domain-specific scenario Co-authors will develop a standardization plan  WS-Policy is already published with royalty-free licensing terms  WS-Policy will be submitted to a standards body

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 22 Q&A

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 23 Appendix

 SAP AG 2004, WS-Policy Overview / C. v. Riegen / 24 A Business Scenario CPG manufacturers and retailers agree to implement a VMI scenario VMI (Vendor Managed Inventory) means that The manufacturer is responsible for the retailer‘s stock replenishment The retailer has to send sales figures and stock levels regularly to the manufacturer The manufacturer can only guarantee appropriate replenishment, if the retailer sends sales figures and stock levels at a certain frequency The frequency depends on the merchandise category a given product belongs to: Eggs: daily Sugar: weekly