R085: Describing Messages That Refer to Other Web Services W3C WSD WG F2F Rennes, 2003-05-13 Arthur Ryman.

Slides:



Advertisements
Similar presentations
Andrea Maurino Web Service Design Methodology Batini, De Paoli, Maurino, Grega, Comerio WP2-WP3 Roma 24/11/2005.
Advertisements

On and use=document|rpc, style=literal|encoded A personal opinion Sanjiva Weerawarana IBM Research September 9-11, 2002.
Attributes Task Force Progress Report WSD Attributes Task Force November 4 th, 2003 WSDL F2F.
Modeling Elements of Web Service State in WSDL May 12, 2003 Global Grid Forum.
Jeff Mischkinsky Nickolas Kavantzas Goran Olsson Web Services Choreography.
W3C SML F2F XML Schema 1.1 Sandy Gao, IBM.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
EGEE is a project funded by the European Union under contract IST WSDL Web Service Description Language
Introduction to Web Services Protocols. Talk titledate2 Communication and standards Efficient (or indeed any) communication is dependent on a shared vocabulary.
REST - Representational State Transfer
1 WSDL: Web Service Description Language Gary Sharp Mike Breakiron.
Siebel Web Services Siebel Web Services March, From
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
CSE 6331 © Leonidas Fegaras Web Services1 Web Services (adapted from Erdogan Dogdu's presentation) Leonidas Fegaras.
An Introduction to Web Services Sriram Krishnan, Ph.D.
31242/32549 Advanced Internet Programming Advanced Java Programming
XML: Extensible Markup Language
1 Web Services Based partially on Sun Java Tutorial at Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL.
WSDL 2.0 Marlon Pierce Community Grids Lab Indiana University.
Introduction to WSDL presented by Xiang Fu. Source WSDL 1.1 specification WSDL 1.1 specification – WSDL 1.2 working draft WSDL.
SOAP SOAP is a protocol for accessing a Web Service. SOAP stands for Simple Object Access Protocol * SOAP is a communication protocol * SOAP is for communication.
OpenSG Service Definition, Feb 2010 RESTful Service Discussions Shawn Hu.
Web Services Seminar: Service Description Languages
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
An Introduction to XML Based on the W3C XML Recommendations.
XML 6.7 XForms 6. Motivation HTML forms deliver the interactive WWW Forms are what make electronic transactions possible HTML forms are long overdue for.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
WSDL Park, Hyunho 2005/07/28. Introduction Web services have been around for a long time in primitive form. Limitation of the primitive form:
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.
Windows Communication Foundation and Web Services.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
WSDL Web Services Description Language Neet Wadhwani University of Colorado 3 rd October, 2001.
A Use Case for SAML Extensibility Ashish Patel, France Telecom Paul Madsen, NTT.
Aalborg University – Department of Production XML Extensible Markup Language Kaj A. Jørgensen Aalborg University, Department of Production XML – Extensible.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
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 Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
WEB SERVICE DESCRIPTION LANGUAGE ( WSDL) -SIVA SAGAR TELLA.
Web Services Description Language CS409 Application Services Even Semester 2007.
An OO schema language for XML SOX W3C Note 30 July 1999.
Grid Services I - Concepts
1 Web Services Web and Database Management System.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
Working with XML Schemas ©NIITeXtensible Markup Language/Lesson 3/Slide 1 of 36 Objectives In this lesson, you will learn to: * Declare attributes in an.
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
WSDL – Web Service Definition Language  WSDL is used to describe, locate and define Web services.  A web service is described by: message format simple.
University of Nottingham School of Computer Science & Information Technology Introduction to XML 2. XSLT Tim Brailsford.
Web services. Introduction to WSDL. February 23, 2006.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Agenda 1.WSDL & XML Schema Astronomicko-geofyzikálne observatórium, Modra An Order.
Evaluation Biztalk Table of Contents Introduction to XML. Anatomy of an XML document. What is an XML Schema? What is SOAP? XML Web Services overview.
1 WSDL Web Services Description Language. 2 Goals of WSDL Describes the formats and protocols of a Web Service in a standard way –The operations the service.
© 2004 IBM Corporation WS-ResourceFramework Service Groups Tom Maguire.
Web services. The SOAP Data Model, Schema Validation, and Introduction to WSDL. February 16, 2006.
RESTFul SOAP Stéphane Nyombayire WHIM April 10, 2007.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
A Semi-Automated Digital Preservation System based on Semantic Web Services Jane Hunter Sharmin Choudhury DSTC PTY LTD, Brisbane, Australia Slides by Ananta.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Windows Communication Foundation and Web Services
XML: Extensible Markup Language
Jun Tatemura NEC Laboratories Amercia GGF10, March 2004
WEB SERVICES From Chapter 19 of Distributed Systems Concepts and Design,4th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published by Addison.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Web Ontology Language for Service (OWL-S)
Windows Communication Foundation and Web Services
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Semantic Markup for Semantic Web Tools:
WEB SERVICES From Chapter 19, Distributed Systems
Presentation transcript:

R085: Describing Messages That Refer to Other Web Services W3C WSD WG F2F Rennes, Arthur Ryman

Outline Introduction Example Details

R085 The description language SHOULD allow describing Messages that include references (URIs) to strongly-typed referents, both values and Services.

Assumptions Strongly-typed references WSDL must specify binding, and hence interface, of references contained in messages Reference formats Required simple URI, i.e. xsd:anyURI Optional other complex formats, e.g. WS- Addressings

Applications REST shared information hyperspace XML analog of HTML hrefs Composition by aggregation Reference component Web services Factory services Dynamically create new service instances, c.f. Grid Callbacks e.g. simple event notification

REST Example Taken from Building Web Services the REST Way by Roger Costello Request part list Request part detail Place part order, etc. – not covered

GET XML Response using XLink

GET XML Response Widget-A This part is used within the frap assembly <Specification xlink:href="

Part Interface WSDL No change

Part Binding WSDL No change

Part List Interface WSDL Describe endpoint reference interface [1] <wsdl:endpoint name="partURI" part="return" interface="tns:partInterface"/>

Part List Binding WSDL Describe endpoint reference binding [2]

Part List Service WSDL No change

GET XML Reponse with WS-Addressing …

Part List Interface WSDL With WS-Addressing [1] <wsdl:endpoint name="partURI" part="return" xpath="/p:Parts/Part/wsa:EndpointReference" interface="tns:partInterface"/>

Aggregation Example Inheritance enables some types of composition, e.g. a combination VCR/DVD player can inherit from VCR and DVD player Aggregation is required for others, e.g. a Picture In Picture (PIP) TV has two tuners

Inheritance vs Aggregation VCR/DVD Player VCR DVD Player PIP TV Tuner tuner1tuner2 Inheritance Aggregation

PIPTVInterface GET XML Response SONY 29" PIP STEREO WEGA MULTISYSTEM TV 746-ABG-554-XVC

PIPTVInterface WSDL Or, we could have simply getTuner1 and getTuner2 operations …

Callback Example Amex Travel Agent Flight AC setStatusListener flightStatusChanged

POST The travel agent sends the following message to register interest in a flight:

POST The Air Canada flight Web service sends the following when the status of flight AC501 on changes: delayed

FlightInterface WSDL

AgentInterface WSDL

Endpoint Reference Interface Description An endpoint reference interface description may appear as an immediate child of,, or within a element. The parent of the element associates a element with it. The element has the following a required NCName which must be unique among all endpoint reference interface descriptions within the scope of the enclosing,, or. The name attribute identifies the endpoint reference interface a required NCName which must match a element in the associated.

Endpoint Reference Interface Description an optional XPath expression that is evaluated on the content of the specified. The XPath expression should evaluate to one or more nodes of type xsd:anyURI or some other type such as xsa:EndpointReferenceType. The default value of this attribute is ".". A conforming WSDL processor MUST understand xsd:anyURI and MAY understand other types such as a required QName which must match some element either in the current WSDL document or in an imported or included WSDL document.

Endpoint Reference Binding Description An endpoint reference binding description may appear as an immediate child of,, or within a element. The element has the following a required NCName which must match a corresponding element in the element of the interface that is bound by the enclosing element.

Endpoint Reference Binding Description a required QName which must match some element either in the current WSDL document or in an imported or included WSDL document, and that binds the identified by the endpoint reference interface description.

Design Rationale Why not annotate XSD with interface and binding? Makes message formats non-reusable, e.g. xsd:anyURI must be extended for every binding Couples interface with binding, e.g. suppose protocol used by component services is the same as the protocol of the aggregate service Couples XSD with WSDL, e.g. messages may be defined before services Inconsistent with current WSDL message/interface/binding layering

Design Rationale contd Why not use XML Schema Component Designators (SCD) instead of XPath? XPath allows used of instance data, e.g. XPath is well-understood, mature, and supported by processors and tools SCD is under current development SCD may expose incidental structure of schema, e.g. use of

Open Questions Should we to a subset of XPath? (no) Do we need to add anything to WSDL to describe the use of XML Base with XLink? (no) Should we allow binding to a derived interface? (yes)

Conclusion Endpoint references have many valid uses in Web services Proposal satisfies R085 Proposal is consistent with WSDL layering of interface and binding Proposal adds a small number of new concepts to WSDL: endpoint reference interface description endpoint reference binding description