Transaction Processing CS409 Application Services Even Semester 2007.

Slides:



Advertisements
Similar presentations
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Advertisements

TSpaces Services Suite: Automating the Development and Management of Web Services Presenter: Kevin McCurley IBM Almaden Research Center Contact: Marcus.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
WS-Resource Framework Adam Belloum Computer Architecture & Parallel Systems group University of Amsterdam
7-2.1 Additional Features of WSRF/GT4 Services A brief outline © 2011 B. Wilkinson/Clayton Ferner. Fall 2011 Grid computing course. Modification date:
4a.1 Grid Computing Standards ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson, slides 4a.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
Building services in WSRF Ben Clifford Draft For GGF summer school, July 2004.
Peoplesoft: Building and Consuming Web Services
Secure Systems Research Group - FAU Web Services Standards Presented by Keiko Hashizume.
Processing of structured documents Spring 2003, Part 6 Helena Ahonen-Myka.
SOAP, WSDL, UDDI. Service Broker Basic SOAP Message Exchange Service Consumer Service Provider http transport SOAP message WSDL describing service SOAP.
1 Modeling Stateful Resources with Web Services ICE Ph.D lecture Byung-sang Kim.
THE NEXT STEP IN WEB SERVICES By Francisco Curbera,… Memtimin MAHMUT 2012.
Grid Computing Grid computing is all about achieving greater performance and throughput by pooling resources on a local, national, or international level.
WEB SERVICES ADDRESSING, RESOURCES, NOTIFICATION, EVENTING Chirita Stefan, Michaël Waumans INFO-H-511.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
I hereby declare that this document is based on my project experience. To the best of my knowledge, this document does not contain any material that infringes.
Data Management Kelly Clynes Caitlin Minteer. Agenda Globus Toolkit Basic Data Management Systems Overview of Data Management Data Movement Grid FTP Reliable.
OASIS ebXML Registry Standard Open Forum 2003 on Metadata Registries 10:30 – 11:15 January 20, 2003 Kathryn Breininger The Boeing Company Chair, OASIS.
Web Services (SOAP, WSDL, and UDDI)
WSRF & WSRF’s Application in VO-DAS Haijun Tian ChinaVO
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Information breakout. Things what we did What is the difference between a registry and a catalog? What do we mean by naming? What does OGSA define? Using.
WEB SERVICE DESCRIPTION LANGUAGE ( WSDL) -SIVA SAGAR TELLA.
Web Services Description Language CS409 Application Services Even Semester 2007.
(Business) Process Centric Exchanges
Web Services Management Framework by Umut Bultan & Gül Hünerkar.
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.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
The Anatomy of the Grid Introduction The Nature of Grid Architecture Grid Architecture Description Grid Architecture in Practice Relationships with Other.
1 Web Service Description Language (WSDL) 大葉大學資工系.
OGSA Hauptseminar: Data Grid Thema 2: Open Grid Service Architecture
Grid Services I - Concepts
1 Web Services Web and Database Management System.
CONNECT EVERYTHING. ACHIEVE ANYTHING. ™ WS-Brokered Notification Dave Chappell Sonic Software.
Prof S.Ramachandram Dept of CSE,UCE Osmania University
Jini Architecture Introduction System Overview An Example.
Kemal Baykal Rasim Ismayilov
Web Service Resource Framework WSMO Presentation Jos de Bruijn Digital Enterprise Research Institute http ://
1 1 ECHO Extended Services February 15, Agenda Review of Extended Services Policy and Governance ECHO’s Service Domain Model How to…
Session 7: JMS, JCA, JSF Dr. Nipat Jongsawat.
Enabling Grids for E-sciencE PPARC Summer School, May 2005 Web Services Resource Framework– WSRF Richard Hopkins National e-Science Centre,
Web services. Introduction to WSDL. February 23, 2006.
WS-CIM mapping using WSDM Igor Sedukhin Heather Kreger Andreas Maier
On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Presented by Onyeka Ezenwoye CIS Advanced Topics in Software.
Steve Graham WS-ResourceFramework Technical Overview OASIS Tutorial Sunday, April 26th, 2004.
Advanced Messaging CS409 Application Services Even Semester 2007.
Steve Graham WS-Notification Technical Overview OASIS WS-Notification TC F2F Thursday, April 29th, 2004.
Steve Graham WS-ResourceFramework Modeling Stateful Resources With Web services OASIS WSRF TC F2F Wednesday, April 28th, 2004.
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.
Manchester Computing Supercomputing, Visualization & e-Science Mark Mc Keown WSRF::Lite developer Formerly UK Grid Support Center
© 2004 IBM Corporation WS-ResourceFramework Service Groups Tom Maguire.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
Web Service Definition Language. Web Services: WSDL2 Web Service Definition Language ( WSDL ) What is a web service? [ F. Leymann 2003 ] A piece of code.
1 G52IWS: Web Services Description Language (WSDL) Chris Greenhalgh
Copyright © 2004, Keith D Swenson, All Rights Reserved. OASIS Asynchronous Service Access Protocol (ASAP) Tutorial Overview, OASIS ASAP TC May 4, 2004.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Module 5: Managing Content. Overview Publishing Content Executing Reports Creating Cached Instances Creating Snapshots and Report History Creating Subscriptions.
Publish Subscribe for XDS-b Vassil Peytchev Epic Systems Corporation.
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Net-centric Computing Web Services. Lecture Outline  What is Web Service  Web Service Architecture  Creating and using Java Web Services  Apache Axis.
© 2005 Global Grid Forum The information contained herein is subject to change without notice Leading the pervasive adoption of grid computing for research.
WS-Resource Framework University of Amsterdam
Peter Niblett WS-Notification and WS-RF OASIS WS-RF and WS-Notification TC F2Fs July 2004.
Sabri Kızanlık Ural Emekçi
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Bringing Grid & Web Services Together
Additional Features of WSRF/GT4 Services
Presentation transcript:

Transaction Processing CS409 Application Services Even Semester 2007

2 What is Transaction Processing? The ability of a software application to do state management for the features or transactions it performs. A state is a set of persistent data that have longer lifetime than a single request/response exchange between the information requestor and provider. A stateful resource is something that exists even when you're not interacting with it.

3 Samples of state: –An airline reservation system: Query the status of flights, price, seating arrangement, etc. Maintain the status of user request until displaying the result. –An e-store: Maintain the current state of request for quote, creating purchase order, generate invoice, etc. Monitor user’s status between request for transaction and giving out reference number. Sample of stateful resource: –a database, as a resource, still exist even when you're not querying it. Transaction Processing Examples

4 Aspect of Stateful Resource How it is identified and referenced throughout a system. How message can be sent to it to query its values or to act upon. How it is created and terminated. –what is the limit? How can we modify the elements of it.

5 Why Should We Care? Each application deal with stateful resources in different way. Lack of standard convention. Limited reusable, best-practice, tools and concept for the industry. Consequence: higher integration cost between systems that deal with stateful resources.

6 What does WS-* Offer? WS-Resource framework. WS-Notification framework. Additional transaction management frameworks: –WS-Coordination framework. –WS-Transactions framework.

7 WS-* and Transaction Processing WS-Service Group WS-Renewable References WS-Notification Modeling Stateful Resources with Web Services WS-Base Faults WS-Resource Properties WS-Resource Lifetime

8 WS-Resource A standard specification approach for modeling stateful resources using web services. Is the combination of a Web service and a stateful resource on which it acts. Example: –A system that manages group of satellites. –Each satellite is a stateful resource. –The system has web service that provide satellite functions such as change orientation, change location, get information, etc. –Satellite + Web Service = WS-Resource !

9 WS-Resource (2) WS-Resource is actually a series of specifications that define standard “message patterns” = ways to request the value of properties and specify how it should be altered. WS-Resource consists of:  WS-ResourceProperties  WS-ResourceLifetime  WS-ServiceGroup  WS-RenewableReferences  WS-BaseFaults.

10 WS-ResourceProperties Outlines how elements of a WS-Resource’s state are modeled in XML and accessed through Web services. It specifies: –How resource properties are defined in a WSDL file. –The form of messages that request and receive the values of these properties. –How to change, add, and remove properties from a WS-Resource.

11 WS-ResourceProperties Case Suppose our satellite has the following properties:  Describing position - latitude, longitude, altitude.  Describing orientation - pitch, yaw, roll.  Describing its focus - focalLength, currentView.

12 WS-ResourceProperties Case (2) The satellite has web services with WSDL: <definitions name="Satellite“ targetNamespace=" xmlns:tns=" xmlns:satTypes=" xmlns:soap=" xmlns=" <schema targetNamespace=" xmlns="

13 WS-ResourceProperties Case (3) … WSDL continues:

14 WS-ResourceProperties Case (4) … WSDL continues: <input message="tns:SetAltitudeInput“ wsa:Action=" /> <output message="tns:SetAltitudeOutput“ wsa:Action=" />

15 WS-ResourceProperties Case (5) … WSDL continues:

16 WS-ResourceProperties Case (6) WSDL explained: –There is only one service, SatelliteService. –The service has single port, AltitudePort, which defines that the SOAP message should be sent to –How to send the SOAP message? Look at the binding of the port, the AltitudeSoapBinding. –AltitudeSoapBinding is the implementation of AltitudePortType, which has one operation with one input and one output message using format “document/literal” style.

17 WS-ResourceProperties Case (7) Possible types of WS-Resources for the satellite: –A service that sets or retrieves the altitude of the satellite. –A service that sets or retrieves the location or orientation of the satellite. –A service that provides access to a process that counts the stars in the view of the satellite.

18 WS-ResourceProperties Case (8) Merging the resource properties in the WSDL: <definitions name="Satellite“ targetNamespace=" xmlns:wsrp=" draft-01.xsd“>... <xsd:schema targetNamespace=" xmlns:xsd=" <xsd:import namespace=" schemaLocation="WS-Addressing.xsd" />

19 WS-ResourceProperties Case (9) … WSDL continues:

20 WS-ResourceProperties Case (10) … WSDL continues:

21 WS-ResourceProperties Case (11) … WSDL continues: <portType name=“SatellitePortType“ wsrp:ResourceProperties="tns:GenericSatelliteProperties"> <!-- any operations are performed on a particular type of stateful resource, as defined by a GenericSatelliteProperties element.-->...

22 WS-ResourceProperties Case (12) Creating a WS-Resource instance: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" 01.xsd">...

23 WS-ResourceProperties Case (13) Response from creating a WS-Resource instance: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" 01.xsd“ xmlns:wsa=" <wsa:EndpointReference xmlns:wsa=" xmlns:sat=" SAT9928

24 WS-ResourceProperties Case (14) Requesting a resource property: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" 01.xsd">... satProp:altitude

25 WS-ResourceProperties Case (12) Receiving a resource property: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" 01.xsd">

26 WS-ResourceProperties Case (13) Adding a resource property: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" 01.xsd">... 36n11, 115w08

27 WS-ResourceProperties Case (14) Deleting a resource property: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" 01.xsd">...

28 WS-ResourceProperties Case (15) Changing a property value: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" 01.xsd">

29 WS-ResourceLifetime Specifies the situation in which a WS- Resource needs to expire or be explicitly destroyed when it is no longer needed. To limit a resource for only existed in a specified period of time, no matter if any processes still connected to the system. Destruction can be done immediately or scheduled.

30 WS-ResourceLifetime Case Destroying a WS-Resource instance: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrl=" 01.xsd“ xmlns:wsa=" SAT9928

31 WS-ResourceLifetime Case (2) Acknowledgement of destroying a WS- Resource instance: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrl=" 01.xsd“ xmlns:wsa="

32 WS-ResourceLifetime Case (3) Set termination time of an instance: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrl=" 01.xsd“ xmlns:wsa=" SAT T07:24:00

33 WS-ResourceLifetime Case (4) Response for set termination time: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrl=" xmlns:wsa=" T07:24: T03:25:08

34 WS-ServiceGroup Defines a way to create a collection of Web services, such as a registry of available services. A ServiceGroup is a WS-Resource that groups together pointers to other WS-Resources and to plain Web services. Application can perform the same operations on a ServiceGroup that can be performed on any other WS-Resource, such as creating, destroying, or accessing its properties.

35 WS-ServiceGroup Case Creating a service group: <SOAP-ENV:Envelope xmlns:SOAP-ENV="

36 WS-ServiceGroup Case (2) Response of creating a service group: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" <wsa:EndpointReference xmlns:wsa=" xmlns:sat=" SATGRP3

37 WS-ServiceGroup Case (3) Adding membership content rule: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wsrp=" draft-01.xsd"... <wsrp:SetResourceProperties xmlns:satProp=" <wssg:MembershipContentRule MemberInterface="sat:CounterPortType" ContentElements="sat:audited" />

38 WS-ServiceGroup Case (4) Adding a new entry into group: <SOAP-ENV:Envelope xmlns:SOAP-ENV=" xmlns:wssg="" 01.xsd"> SATGRP3 SAT8557 My Boss

39 WS-BaseFaults Defines a standard way of indicating errors in a WS-Resource based application. Defines a basic format for standard errors, then provides a way to extend that basic format for more specific purposes without losing the original structure.

40 WS-BaseFaults (2) Examples of errors: –Clients are requesting WS-Resources that do not exist. –Clients are adding them to ServiceGroups for which they do not qualify. –Clients are creating XPath expressions for multiple queries that aren't really XPath expressions.

41 WS-BaseFaults (3) Types of faults for WS-ResourceProperties: –ResourceUnknownFault : This fault applies to all of the various operations and indicates that the message refers to an endpoint reference the Web service doesn't recognize. –InvalidResourcePropertyName : When requesting a property or properties, this fault indicates that the client is trying to get or set a ResourceProperty that doesn't exist on the WS-Resource in question. –InvalidSetResourcePropertiesRequestContent : The data that was sent in the SetResourcePropertyRequest doesn't conform to the schema for the appropriate resource property document.

42 WS-BaseFaults (4) Types of faults for WS-ResourceProperties: –UnableToModifyResourceProperty : The resource property that client is attempting to set is read-only. –SetResourcePropertyRequestFailed : This is a general error indicating that the server was unable to add or change the resource property. –UnknownQueryExpressionDialect : When querying resource properties, this fault indicates that the client is attempting to evaluate a query in a dialect the service doesn't recognize.

43 WS-BaseFaults (5) Types of faults for WS-ResourceProperties: –InvalidQueryExpression : The query doesn't conform to the specified dialect. –QueryEvaluationError : This is a general error indicating something went wrong while processing the query.

44 WS-BaseFaults (6) Types of faults for WS-ResourceLifetime: –InvalidQueryExpression : The query doesn't conform to the specified dialect. –ResourceNotDestroyedFault : This fault indicates that the WS-Resource wasn't destroyed. –UnableToSetTerminationTimeFault : General fault indicating the service couldn't make the requested change. –TerminationTimeChangeRejectedFault : The client is attempting to make a change that doesn't conform with the internal rules of the WS- Resource.

45 WS-BaseFaults (7) Types of faults for WS-ServiceGroups: –UnsupportedMemberInterfaceFault : The service the client is attempting to add doesn't implement any of the required portTypes. –ContentCreationFailedFault : The request to add a Web service doesn't have the appropriate Content element as defined in the MembershipContentRules for the ServiceGroup. –AddRefusedFault : Indicating that the resource couldn't be added.

46 WS-RenewableReferences Defines a mechanisms that can be used to renew an endpoint reference that has become invalid. When endpoint location or policy changes, it may become necessary to renew a client copy of associated information regarding that resource.

47 WS-Notification A standard specification for asynchronous message delivery notification, built on top of WS-Resource. Explains how to enable an application to provide publish-subscribe capabilities for various application events.

48 WS-Notification (2) Three specifications for WS-Notification: –WS-Topics –WS-BaseNotifications. –WS-BrokeredNotifications.

49 WS-Topics A set of "items of interest for subscription". A service can publish a set of topics that clients can subscribe to, and receive a notification whenever the topic changes.

50 WS-BaseNotifications Defines the standard interfaces of notification consumers and producers. Notification producers have to expose a subscribe operation that notification consumers can use to request a subscription. Consumers, have to expose a notify operation that producers can use to deliver the notification. The client actually requesting the subscription need not necessarily be the consumer of those notifications, clients can perform subscriptions "on behalf of other notification consumers".

51 WS-BaseNotifications (2) 1.Notification consumer subscribes himself to the SystemLoadHigh topic. 2.Next, at some point in time, something happens in the notification producer that must trigger a notification from the SystemLoadHigh topic. The notification filter for example is send out a notification every time the system load has passed "more than 75%“. 3.Notification producer delivers the notification to the consumer by invoking the notify operation in the consumer. Fig 1. WS-Notification Interaction

52 WS-BaseNotifications (3) Fig 2. WS-Notification Interaction where subscriber and consumer are different entities.

53 WS-BrokeredNotifications Defines the standard interfaces for the notification broker. Notifications are delivered from the producer to the consumer through an intermediate entity called the broker.

54 WS-BrokeredNotifications (2) 1.The producer must register with the broker and publish its topics there. 2.The subscriber (separate from the consumer in this case), must also subscribe through the broker. 3.When a notification is produced, it is delivered to the consumer through the broker. Fig 3. Brokered WS-Notification Interaction

Thank You Doddy Lukito