Web Services
  Home arrow Web Services arrow Page 4 - Notifications and Resources in the WS-Reso...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Notifications and Resources in the WS-Resource Framework
By: Sams Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2006-07-20

    Table of Contents:
  • Notifications and Resources in the WS-Resource Framework
  • Notification Consumers
  • Resource Lifetime
  • Initializing Termination Time
  • Notification of WS-Resource Termination
  • Other WS-Resource Framework Specifications

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    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"):

    <soap:Envelope
    xmlns:wsnt=
    "http://www.ibm.com/xmlns/stdwip/web-
    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>

    More Web Services Articles
    More By Sams Publishing


       · This article is an excerpt from the book "Building Web Services with Java: Making...
     

    Buy this book now. This article 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). Check it out today at your favorite bookstore. Buy this book now.

    WEB SERVICES ARTICLES

    - 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
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...
    - WS Notification and WS Topics in the WS Reso...
    - Introducing the Implied Resource Pattern
    - Web Services and Stateful Resources
    - Deploying an EJB Application







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway