15 May 2007 IVOA Beijing: Grid & Web Services 21 Matthew J. Graham (Caltech, NVO) T HE US N ATIONAL V IRTUAL O BSERVATORY vs.

Slides:



Advertisements
Similar presentations
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Advertisements

A PPARC funded project Asynchronous Activities in SOAP services Guy Rixon IVOA Interoperability Meeting Cambridge MA, May 2004.
8 Sep 2008NVOSS Web Services1 T HE US N ATIONAL V IRTUAL O BSERVATORY Introduction to Web Services Matthew J. Graham Caltech.
14 Sep 2004 NVO Summer School1 Introduction to Web Services Technology Matthew J. Graham CACR/Caltech T HE US N ATIONAL V IRTUAL O BSERVATORY.
7 Sep 2006NVO Summer School T HE US N ATIONAL V IRTUAL O BSERVATORY Building Web Services Matthew J. Graham CACR/Caltech.
Jeff Mischkinsky Nickolas Kavantzas Goran Olsson Web Services Choreography.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
System Wide Information Management (SWIM)
cetis SWNI: Implementation & Testing By Scott Wilson, CETIS.
Service Oriented Architecture
Server Access The REST of the Story David Cleary
Chapter 2: Basic Standards for Web Services Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Siebel Web Services Siebel Web Services March, From
cetis Really Complex Web Service Specifications Scott Wilson.
31242/32549 Advanced Internet Programming Advanced Java Programming
Web Services Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Presentation 7 part 2: SOAP & WSDL.
Chapter 10: Execution Models Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
General introduction to Web services and an implementation example
Building RESTful Interfaces
SOAP.
Web Services Seminar: Service Description Languages
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
Environmental Council of States Network Authentication and Authorization Services The Shared Security Component February 28, 2005.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
ΗΛΕΚΤΡΟΝΙΚΟ ΕΜΠΟΡΙΟ Web Services Overview Mary Grammatikou 9/06/2009.
Peoplesoft: Building and Consuming Web Services
Web Services CS Web Services Internet-available services using XML messaging, for computer-computer interaction Not tied to any OS or language Self-describing:
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.
Service-Oriented Programming
1 Core Web Services Standards. 2 (Simplified) Web Service Architecture Registry 1. Service Registers PUBLISH 3. Client calls Service BIND 2. Client Request.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Prepared By : Monika Darji Web Services using REST & JAX-WS.
Web Services (SOAP, WSDL, and UDDI)
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
W3C Web Services Architecture Security Discussion Kick-Off Abbie Barbir, Ph.D. Nortel Networks.
Semantic Web Technologies Research Topics and Projects discussion Brief Readings Discussion Research Presentations.
Web Services Presented By : Noam Ben Haim. Agenda Introduction What is a web service Basic Architecture Extended Architecture WS Stacks.
1 Seminar on Service Oriented Architecture Principles of REST.
XML and Web Services (II/2546)
BEA Confidential. | 1 Web of Services for Enterprise Computing David Orchard BEA Systems.
Kemal Baykal Rasim Ismayilov
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
RESTful Web Services What is RESTful?
Web Services Martin Nečaský, Ph.D. Faculty of Mathematics and Physics Charles University in Prague, Czech Republic Summer 2014.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Introduction to Web Services
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Unit – 5 JAVA Web Services
Representational State Transfer
Ashish Pandit IT Architect, Middleware & Integration Services
WEB API.
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
Introduction to Web Services
Distributed System using Web Services
WEB SERVICES From Chapter 19, Distributed Systems
Distributed System using Web Services
Techniques to Invoke Web Services from SAS
WCF Data Services and Silverlight
Chengyu Sun California State University, Los Angeles
Presentation transcript:

15 May 2007 IVOA Beijing: Grid & Web Services 21 Matthew J. Graham (Caltech, NVO) T HE US N ATIONAL V IRTUAL O BSERVATORY vs

15 May 2007 IVOA Beijing: Grid & Web Services 22 What is REST? Representational State Transfer (Fielding 2000) A resource-oriented architectural style for web services based on the WWW architecture: –Each resource has a unique identifier (URI) –Resource representations are exchanged in XML over HTTP –Agents employ the HTTP methods as a standard API to ensure uniform interface semantics REST is about exposing resources through URIs and not services through messaging interfaces REST is possible with SOAP and WSDL 2.0

15 May 2007 IVOA Beijing: Grid & Web Services 23 RESTful interfaces HTTP method DescriptionHTTP status codes GETView resource representation200, 301, 400 PUTCreate/Modify client-identified resource 200, 301, 400, 410 POSTCreate/Modify server-identified resource 201, 400 DELETEDelete resource200, 204 GET is safe: it has no side effects and is purely for retrieval GET, PUT, and DELETE are idempotent: the side-effect of N > 0 identical requests is the same as for a single request Atom Publishing Protocol is the canonical REST interface WebDAV is not RESTful: URLs are inherently hierarchical and not opaque properties and locks are not separate resources PROPPATCH, PROPFIND, LOCK and UNLOCK methods manipulate metadata attached to a resource 207 (Multi-Status) response code for bundled operations

15 May 2007 IVOA Beijing: Grid & Web Services 24 WS-* (18 months ago) WS-I Basic Profile WS-I Basic Security Profile WS-Manageability WS-Management WS-MetadataExchange WS-Notification WS-Policy WS-PolicyAssertions WS-PolicyAttachment WS-PolicyFramework WS-Polling WS-Provisioning WS-Reliability WS-ReliableMessaging WS-RemotePortals WS-ResourceFramework WS-ResourceLifetime WS-ResourceProperties WS-Routing WS-SecureConversation WS-Security WS-SecurityPolicy WS-Addressing WS-AtomicTransaction WS-Attachments WS-BaseNotification WS-BPEL WS-BrokeredNotification WS-BusinessActivity WS-CAF WS-Choreography WS-CDL WS-Context WS-Coordination WS- CoordinationFramework WS-Discovery WS- DistributedManagement WS-Enumeration WS-Eventing WS-ExperienceLanguage WS-Federation WS-GAF WS-Inspection WSIL WS-Semantics WS-Topic WS-Transaction WS-Transaction Management WS-Transfer WS-Trust ASAP ebXML MTOM SAML SOAP SwA UBL UDDI WSDL XACML XML Encryption XML Signature XKMS + others incl. WS- KitchenSink

15 May 2007 IVOA Beijing: Grid & Web Services 25 Description languages - I WSDL: –Complicated –Difficult to describe protocols that use SOAP headers so not straightforward for WS-* –Operation-centric –Web service versioning is difficult (better in WSDL 2.0) –Limited modelling of interaction patterns (no more than two messages within a single exchange) –No choreographic information so cannot specify ordering constraints between operations –WSDL is immutable so no dynamic endpoints

15 May 2007 IVOA Beijing: Grid & Web Services 26 Description languages - II WSDL 1.1: –Supports HTTP GET and POST –Cannot use GET with no parameters –Cannot mix multiple HTTP methods on one port WSDL 2.0: –Supports HTTP GET/PUT/POST/DELETE –No support for JSON or binary format (need to write specification for binding rules on how to serialize) –Authentication limited to HTTP Basic and Digest –No support for links: cannot write WSDL for Atom Publishing Protocol WADL: –Backed by Sun (wadl.java.dev.net - wadl2java) – –REST Describe (

15 May 2007 IVOA Beijing: Grid & Web Services 27 Sample WADL file <application xmlns=" xmlns:xsi=" xmlns:xsd=" xmlns:vot=" xsi:schemaLocation=" wadl.xsd">

15 May 2007 IVOA Beijing: Grid & Web Services 28 Security WS-Security: –provides message level, end-to-end security –really requires WS-SecurityPolicy –interoperable implementations? HTTP Basic: –Base64-encoded username/password HTTP Digest: –MD5 hashes of username, password, authentication realm, etc. SSL/TLS: –provides transport level, point-to-point security Message authentication: –AWS approach using HMAC with SHA-1 hash code HTTPSec for full message level security

15 May 2007 IVOA Beijing: Grid & Web Services 29 Addressing + state WS-Addressing: –SOAP lacks a standard way to specify where a message is going, how to return a response or where to report an error –provides SOAP header keywords such as: To, ReplyTo, FaultsTo, Anonymous, and MessageId/RelatesTo. –SAF (Store-and-forward) service is a use case that REST cannot address WSRF: –framework for handling state –separates web service and state information (resource) –a resource has a unique key and message exchanges with the service are used to interact with the resource –basically equivalent to REST