Home arrow Web Services arrow Page 4 - Notifications and Resources in the WS-Resource Framework

Notifications and Resources in the WS-Resource Framework

This article concludes our discussion of the WS-Resource Framework, a set of proposed standards that formalizes the relationship between Web services and state. In this part, we finish covering notifications and go into greater detail about resources. It is excerpted from chapter 8 of the book Building Web Services with Java: Making sense of XML, SOAP, WSDL, and UDDI, written by Steve Graham et al. (Sams; ISBN: 0672326418).

Author Info:
By: Sams Publishing
Rating: 5 stars5 stars5 stars5 stars5 stars / 4
July 20, 2006
  1. · Notifications and Resources in the WS-Resource Framework
  2. · Notification Consumers
  3. · Resource Lifetime
  4. · Initializing Termination Time
  5. · Notification of WS-Resource Termination
  6. · Other WS-Resource Framework Specifications

print this article

Notifications and Resources in the WS-Resource Framework - Initializing Termination Time
(Page 4 of 6 )

For those WS-Resources that use the scheduled termination mechanism, there is no standard way for the requestor to initialize the termination time when the WS-Resource is created. There are several examples (the subscribe request in WS-Notification, for instance) where the application-specific semantic of a component of the request message is to initialize the termination time of a WS-Resource. Part of the subscribe request message is an optional InitialTerminationTime element. Here is a complete subscribe request from the partial example shown earlier (in the section "Subscribing for Notification"):

services/WS-BaseNotification" xmlns:wsrl= "http://www.ibm.com/xmlns/stdwip/web-
services/WS-ResourceLifetime" ... <soap:Header> <wsa:Action> http://www.ibm.com/xmlns/stdwip/web-
services/WS-BaseNotification/Subscribe </wsa:Action> ... <poRP:POResourceID>43871</poRP:POResourceID> </soap:Header> <soap:Body> <wsnt:Subscribe> <wsnt:ConsumerReference> <wsa:Address> http://www.skateboardwarehouse.com/
services/inventoryManagement </wsa:Address> </wsnt:ConsumerReference> ... <wsnt:InitialTerminationTime> 2004-03-01T00:00:00.00000Z </wsnt:InitialTerminationTime>
</wsnt: Subscribe> </soap:Body> </soap:Envelope>

blog comments powered by Disqus

- Dealing with Loose Coupling in a Service-Ori...
- Loose Coupling in a Service-Oriented Archite...
- Safety, Idempotence, and the Resource-Orient...
- The Resource-Oriented Architecture in Action
- Features of the Resource-Oriented Architectu...
- The Resource-Oriented Architecture
- Getting Started with Flex
- Automated Billing and Faxing for the Web
- An Introduction to Web Services
- The Foundations of Web Services: From Novice...
- Web Services Reengineering: Finishing Touches
- Fault Handling with Web Services
- Flow and Web Services
- Process Lifecycles and Web Services
- Business Processes and Web Services

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials