® IBM Software Group © IBM Corporation WS-Policy Attachment- spec overview Maryann Hondo IBM.

Slides:



Advertisements
Similar presentations
Primer Maryann Hondo, IBM Umit Yalcinalp, SAP. Current Proposal Introduction The WS-Policy specification defines a policy to be a collection of policy.
Advertisements

On and use=document|rpc, style=literal|encoded A personal opinion Sanjiva Weerawarana IBM Research September 9-11, 2002.
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
WS-Policy Brian Garback. 2 Agenda  Introduction  Domain Terminology  Policy Expressions  Policy Assertions  Policy Attachments  Conclusion  Policy.
Claus von Riegen, SAP AG WS-Policy Overview W3C Workshop on Constraints and Capabilities for Web Services.
An Introduction to Web Services Sriram Krishnan, Ph.D.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
OASIS Service Oriented Architecture Reference Model Technical Committee (SOA-RM) BOOT CAMP April DRAFT: Not approved by the OASIS SOA RM TC.
1 An Introduction to Web Services. 2 Outline What is a Web service Background Standards –XML & XML Namespaces, XML Schema,WSDL, SOAP Tools & APIs –DOM/SAX,JAX-RPC/JAX-M.
Chapter 6 Methodology Logical Database Design for the Relational Model Transparencies © Pearson Education Limited 1995, 2005.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Introduction to XLink Transparency No. 1 XML Information Set W3C Recommendation 24 October 2001 (1stEdition) 4 February 2004 (2ndEdition) Cheng-Chia Chen.
8/2/ IETF, Pittsburgh Kutscher/Ott/Bormann SDPng Requirements draft-kutscher-mmusic-sdpng-req-00.txt Dirk Jörg
Grid Computing, B. Wilkinson, 20043a.1 WEB SERVICES Introduction.
Web Service Architecture Part I- Overview and Models (based on W3C Working Group Note Frank.
Secure Systems Research Group - FAU Web Services Standards Presented by Keiko Hashizume.
International Telecommunication Union ITU-T Study Group 17, Moscow, 30 March – 8 April 2005 New Recommendations on ODP Arve Meisingset Rapporteur Q15.
TMF - a tutorial TMF - Terminological Markup Framework Laurent Romary - Laboratoire Loria.
XP New Perspectives on XML Tutorial 3 1 DTD Tutorial – Carey ISBN
Overview of the Database Development Process
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
Selective and Authentic Third-Party distribution of XML Documents - Yashaswini Harsha Kumar - Netaji Mandava (Oct 16 th 2006)
BPMN By Hosein Bitaraf Software Engineering. Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
Methodology Conceptual Databases Design
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
XP 1 DECLARING A DTD A DTD can be used to: –Ensure all required elements are present in the document –Prevent undefined elements from being used –Enforce.
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
2005/08/31ACS WG - Data transport with SOAP message 1 Data transport with SOAP message There is a W3C note proposing the SOAP with attachment: –
Web services sub-team report CPPA June ’02 F2F Reston, Virginia.
1 Tutorial 13 Validating Documents with DTDs Working with Document Type Definitions.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
Team Dosen UMN Database Design Connolly Book Chapter
New Perspectives on XML, 2nd Edition
Web Services Standards. Introduction A web service is a type of component that is available on the web and can be incorporated in applications or used.
Methodology - Conceptual Database Design
1 WSDL Tutorial Heather Kreger (borrowed from Peter Brittenham) Web Services Architect IBM Emerging Technologies.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Petri Nets Invented by Carl Adam Petri in 1962 Concurrent systems with timing problems  Synchronization, race problem, deadlock A petri net consists of.
IETF 57, Vienna1 SDPng Update Dirk Jörg Carsten draft-ietf-mmusic-sdpng-06.txt.
Kemal Baykal Rasim Ismayilov
OASIS Service Oriented Architecture Reference Model Technical Committee (SOA-RM) BOOT CAMP May DRAFT: Not approved by the OASIS SOA RM TC.
Service Component Architecture (SCA) Policy TC … Face to Face Agenda – Jan 24,
Winter 2007SEG2101 Chapter 31 Chapter 3 Requirements Specifications.
Steve Graham WS-ResourceFramework Modeling Stateful Resources With Web services OASIS WSRF TC F2F Wednesday, April 28th, 2004.
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.
© 2004 IBM Corporation WS-ResourceFramework Service Groups Tom Maguire.
Methodology - Logical Database Design. 2 Step 2 Build and Validate Local Logical Data Model To build a local logical data model from a local conceptual.
© 2005 Global Grid Forum The information contained herein is subject to change without notice Leading the pervasive adoption of grid computing for research.
Service Description: Addressing & Policy COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 9 Web Services: JAX-RPC,
CITA 330 Section 2 DTD. Defining XML Dialects “Well-formedness” is the minimal requirement for an XML document; all XML parsers can check it Any useful.
Florida Atlantic University Department of Electrical and Computer Engineering &Computer Science ( ECECS ) &Computer Science ( ECECS ) Security Systems.
XML intro. What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display.
- The most common types of data models.
Methodology Conceptual Databases Design
Methodology Logical Database Design for the Relational Model
Inline Vs. External Policy Attachment SCA Policy Framework
Methodology Conceptual Database Design
WS-Policy Brian Garback Department of Computer Science
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Web Service Metadata Exchange
W3C Workshop WS-Policy in the Web Service Architecture
Analysis models and design models
Methodology Conceptual Databases Design
STF 454 TDL – Overview Last change:
Presentation transcript:

® IBM Software Group © IBM Corporation WS-Policy Attachment- spec overview Maryann Hondo IBM

IBM Software Group | WebSphere software Policy Attachment Terminology Policy Subject – A Policy Subject is an entity (e.g., an endpoint, message, resource, interaction) with which a Policy can be associated. Policy Scope – A Policy Scope is the collection of Policy Subjects to which a Policy may apply. Policy Attachment – A Policy Attachment is a mechanism for associating Policy with one or more Policy Scopes. Effective Policy – An Effective Policy, for a given Policy Subject, is the resultant combination of relevant policies. The relevant policies are those attached to Policy Scopes that contain the Policy Subject.

IBM Software Group | WebSphere software Two attachment models ( the first…in the definition) The first allows XML-based descriptions of resources (represented as XML elements) to associate Policy as part of their intrinsic definition. Two alternatives: 1.a global attribute that allows Policy Expressions to be attached to an arbitrary XML element. –The following is the schema definition for the wsp:PolicyURIs attribute: –The following is an example <MyElement wsp:PolicyURIs=" />

IBM Software Group | WebSphere software Attachment model 1 alternative 2 2.XML elements may use the wsp:Policy or wsp:PolicyReference elements directly as children, …an alternative way of attaching the policies in the above example, using child elements, would be as follows: <wsp:PolicyReference URI=" /> <wsp:PolicyReference URI=" />

IBM Software Group | WebSphere software Attachment model 2 (external attachment) The second attachment model, allows Policies to be associated with arbitrary Policy Subjects independently from their definition. This mechanism allows Policies to be associated with a Policy Subject independent of that subject's definition and/or representation through the use of a element. –This element has three components: –the Policy Scope of the attachment, –the Policy Expressions being bound, –and optional security information.

IBM Software Group | WebSphere software Attachment model 2 The following is the pseudo-schema for the element: + (... |... ) +... ?... Policy scope Policy expressions Security information Using XML expression Policies may be associated with subjects arbitrarily using a domain expression to describe the subjects e.g. A sequence of messages, a group of endpoints

IBM Software Group | WebSphere software Attachment Model 1 - WSDL WSDL attachment Policies may be embedded within a WSDL document And/or referenced from specific points in the WSDL to express specific constraints Four effective scope granularities – Service, Endpoint, Operation and Message

IBM Software Group | WebSphere software Clarifications The RECOMMENDED means of associating a Policy with a Policy Subject that has a WSDL 1.1 [WSDL 1.1] description is to attach a reference to the Policy within the WSDL component corresponding to the target Policy Subject.WSDL 1.1 WSDL/1.1 disallows the use of extensibility elements on certain elements and the use of extensibility attributes on others. However, the WS-I Basic Profile 1.1 [BP 1.1] overrules this restriction and allows element extensibility everywhere.BP 1.1 Therefore, the Policy reference SHOULD be attached using as child element unless it is absolutely necessary to maintain the original WSDL 1.1 restriction, in which case attribute should be used for those restricted cases. If it is necessary to include the actual Policy Expressions within the WSDL description itself, it is RECOMMENDED that their elements be included as children of the element, and referenced using the mechanisms just described. Alternatively, the Policy Expressions MAY be made available through some other means, such as WS- MetadataExchange [WS-MetadataExchange].WS-MetadataExchange To ensure that consumers of Policy-annotated WSDL elements are capable of processing such Policy Attachments, attachments using SHOULD be marked as a mandatory extension (e.g., with attribute).

IBM Software Group | WebSphere software WSDL 1.1

IBM Software Group | WebSphere software Example- stock quote (01) <wsdl:definitions name="StockQuote" ….. (10) (11) (12) (13) (14) (15) (16) (17) (18) (19) (20) (21) (22) (23) (24) (25) SecurityPolicy Assertions

IBM Software Group | WebSphere software (26)<wsdl:import namespace=" location=" /> (27) (28)<wsoap12:binding style="document" (29)transport=" /> (31) (32) (33) (34) (35) (36)<wsp:PolicyReference URI="#SecureMessagePolicy" wsdl:required="true" /> (37) (38) (39) (40)<wsp:PolicyReference URI="#SecureMessagePolicy" (41)wsdl:required="true" /> (42) (43) (44) (45) Attachment points

IBM Software Group | WebSphere software Effective policy for Message Subject The Effective Policy of a specific input message for a specific port would be the merge of the wsdl:message element defining the message type, the wsdl:portType/wsdl:operation/wsdl:input element, and the corresponding wsdl:binding/wsdl:operation/wsdl:input element for that message. Since a wsdl:message may be used by more than one wsdl:portType, it is RECOMMENDED that only policies containing abstract (i.e., binding independent) assertions should be attached to this type of element. Since wsdl:input, wsdl:output, and wsdl:fault elements in a wsdl:portType/wsdl:operation may be used by more than one binding, it is RECOMMENDED that only policies containing abstract (i.e., binding independent) assertions should be attached to these types of elements.

IBM Software Group | WebSphere software WS-Policy Attachment-UDDI V2 When attaching a Policy to a UDDI entity a Policy Scope is implied for that attachment. The Policy Scope only contains the Policy Subjects associated with that entity, and not those associated with the children of that entity. This Policy is the entity's Element Policy.

IBM Software Group | WebSphere software Service Policy Subject Endpoint Policy Subject Service Provider

IBM Software Group | WebSphere software Each Policy Assertion contained within a UDDI entity's Element Policy should have the correct semantic such that the subject for that assertion is that UDDI entity. For example, assertions that describe behaviours regarding a service provider should only be contained within policies attached to a businessEntity structure. For UDDI tModels that represent Web service types, the [Element Policy] is considered an intrinsic part of the tModel and applies to all uses of that tModel. In particular, it MUST be merged into the Effective Policy of every bindingTemplate that references that tModel. Policies that apply to deployed Web services (bindingTemplates) are only considered in the Effective Policy of that deployed resource itself WS-Policy Attachment-UDDI

IBM Software Group | WebSphere software Example of categoryBag use Using the Remote Policy Reference category system, one can then associate a Policy Expression with a businessEntity, a businessService, and a tModel using the entity's categoryBag. For example, associating the Policy Expression that is identified by the URI with a businessService is done as follows:... <keyedReference keyName="Policy Expression for example's Web services" keyValue=" tModelKey="uuid:a27078e4-fd38-320a-806f-6749e84f8005" />

IBM Software Group | WebSphere software Example for BindingTemplate A different approach has to be taken to associate a Policy Expression with a bindingTemplate, since bindingTemplates do not contain a categoryBag in UDDI Version 2. Therefore, the bindingTemplate's tModelInstanceInfo and instanceParms MUST be used as follows... <tModelInstanceInfo tModelKey="uuid:a27078e4-fd38-320a-806f-6749e84f8005" >

IBM Software Group | WebSphere software Service Policy Subject Message Policy Subject Operation Policy Subject Endpoint Policy Subject Service Provider WSDL

IBM Software Group | WebSphere software UDDI V3- enhancements tModelKeys of the pre-defined tModels are migrated to domain-based keys. (The migration is unique since the Version 2 keys introduced in this specification are already programmatically derived from the Version 3 keys given below) The tModelKey for the Remote Policy Reference tModel changes from "uuid:a27078e4-fd38-320a-806f-6749e84f8005" to "uddi:schemas.xmlsoap.org:remotepolicyreference:2003_03". The tModelKey for the WS-Policy Types tModel changes from "uuid:fa1d77dc-edf0-3a84-a99a-5972e434e993" to "uddi:schemas.xmlsoap.org:policytypes:2003_03". The tModelKey for the Local Policy Reference tModel changes from "uuid:a27f7d45-ec90-31f7-a655-efe c" to "uddi:schemas.xmlsoap.org:localpolicyreference:2003_03".

IBM Software Group | WebSphere software Binding Templates V3 Second, rather than putting Policy Expression references in a bindingTemplate's tModelInstanceInfo, they are added to the bindingTemplate's categoryBag, analogous to the mechanism described for other UDDI entities. For example, the example bindingTemplate from section 5.1 would be changed as follows:... <keyedReference keyName="Policy Expression for example's Web services" keyValue=" tModelKey="uddi:schemas.xmlsoap.org:remotepolicyreference:2003_03" />

IBM Software Group | WebSphere software Wildcards & Security inquiries for reusable Policy Expression tModels and UDDI entities that are associated with remote Policy Expression is enhanced by the wildcard mechanism for keyValues in keyedReferences. For example, searching for all Policy Expression tModels whose URI starts with the following find_tModel API call can be used: <keyedReference keyValue=" tModelKey="uddi:schemas.xmlsoap.org:remotepolicyreference:2003_03" /> Fourth, all UDDI entities may be digitally signed using XML digital signatures [XML-Signature]. Publishers who want to digitally sign their Policy Expression tModels or Policy Expression references in UDDI MUST use the Schema-centric canonicalization algorithm [SCC14N].XML-SignatureSCC14N