Download presentation
Presentation is loading. Please wait.
Published byAnnabella McLaughlin Modified over 8 years ago
1
Web Service Referencing And Resource Identification Anish Karmarkar Oracle Corp.
2
Overview Web Service Reference – What is it? – EPR – WSRef (part of WS-MessageDelivery) Identifying Resources – Implicit Resource Pattern l Using EPR l Using WSRef – Explicit Message Parts
3
Web service Reference: What? Identify and reference a Web service Allow passing of references in messages Must contain information to access and invoke a Web service – Format of messages – Operations – Protocol – Endpoint Must be WSDL centric URI is not a Web service Reference
4
EPR: cannot be used to reference a Web service URI is the only thing that is required Is not WSDL centric Invents new constructs Conflates referencing mechanism with reference properties
5
WS-MessageDelivery: WSRef New W3C Note located at – http://www.w3.org/Submission/2004/SUBM-ws- messagedelivery-20040426/ http://www.w3.org/Submission/2004/SUBM-ws- messagedelivery-20040426/ WSRef – WSDL centric – No new constructs – Very little change needed for the infrastructure/tools/runtime – Does not overload a reference with reference properties – In-line with WSDL 2.0
6
Identifying Resources WS-RF specs require that a resource be identified in a Web service interaction Three ways to do this – Implicit Resource Pattern using EPR – Implicit Resource Pattern using WSRef + a standard SOAP header block – Explicit message part (parameter)
7
Choice A: Implicit Resource Pattern (EPR) Tightly bound to EPR Resource identifiers sent as SOAP header blocks (but bound to reference properties) Identifiers not explicitly expressed in WSDL Cannot be composed/discovered
8
Choice B: Implicit Resource Pattern (WSRef) Replace EPR with WSRef Pass resource identifiers in a SOAP header block – Repurpose WS-Context OR – TC creates a new header block (for e.g., wsrf:ResourceIdentifier) Allows the infrastructure to deal with the header block Clients are not required to send every arbitrary header (not known in advance) that the Server chooses
9
Choice C: Explicit identification of the Resource in WSDL Expose the schema of the resource identifier Specify the resource identifier in the WSDL description as a message part Principle: If something can be described in WSDL – it should be Allows composition/discovery
10
Summary/Message WSDL centric Don’t invent new constructs unless needed WSRef – a Web service Reference is an ideal candidate to be used in WS-RF TC should discuss the merits of EPR and WSRef TC should discuss choices available for resource identification
11
Q&A
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.