This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11894 - Eventing/Enum: duration in responses
Summary: Eventing/Enum: duration in responses
Status: CLOSED REMIND
Alias: None
Product: WS-Resource Access
Classification: Unclassified
Component: Eventing (show other bugs)
Version: CR
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: notifications mailing list for WS Resource Access
QA Contact: notifications mailing list for WS Resource Access
URL:
Whiteboard:
Keywords: hasProposal
Depends on:
Blocks:
 
Reported: 2011-01-27 18:12 UTC by Doug Davis
Modified: 2011-09-13 21:33 UTC (History)
0 users

See Also:


Attachments

Description Doug Davis 2011-01-27 18:12:26 UTC
In SubscribeResponse it says that the expires time (when its a duration)
is the time the subscription will expire based on when the subscription was 
created.

However, when this expires time appears in GetStatusResponse and
RenewResponse its not clear what the duration start-time is.
We should clear up if its the start-time of the Subscription or
of the request message.

If its the start-time of the Subscription then I'm not really
sure how useful this is.  If the client uses GetStatus to get
the expires time then there's a good possibility that they 
don't have the start-time of the subscription - if they did then
I suspect they would know the expires time they got in the 
SubscribeResponse.

Proposal:
We should make the GrantedExpires time (when its a duration) 
into "how much time is left".

This applies to enum too.
Comment 1 Doug Davis 2011-01-31 17:02:18 UTC
Proposal:

Change:
------
When expressed as a duration, the wse:GrantedExpires element designates a time interval that began at the moment the subscription is created. Although this specification cannot dictate when, during the processing of a Subscribe request, a subscription is created, the event source MUST start the expiration interval at or before it transmits the wse:SubscribeResponse message. 
------

to:
-----
When expressed as a duration, the wse:GrantedExpires element designates the
amount of time remaining on this subscription as measured from the moment
the request message was processed. Although this specification cannot dictate when, during the processing of a request, a subscription is manipulate, the 
event source MUST measure the expiration duration from a time that is at or 
before it transmits the response message. 
----

And do the same type of change for Enum
Comment 2 Robert Freund 2011-02-15 18:21:24 UTC
When expressed as a duration, the wse:GrantedExpires element designates the amount of time remaining on this subscription as measured from the moment the request message was processed. Although this specification cannot dictate when, during the processing of a request message a subscription's remaining time  is determined, the event source MUST measure the expiration duration from  a time that is at or before the transmission of the response message.
Comment 3 Robert Freund 2011-02-15 18:21:48 UTC
Resolved with comment 2