[Bug 7478] Eventing: subscription expiration negotiation is incomplete and inefficient

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7478





--- Comment #4 from Robert Freund <bob@freunds.com>  2009-10-02 14:12:58 ---
[Action]
  http://www.w3.org/2009/09/ws-evt/Subscribe

[Body]
  <wse:Subscribe ...>
    <wse:EndTo> endpoint-reference </wse:EndTo> ?
    <wse:Delivery ...> xs:any* </wse:Delivery>
    <wse:Format Name="xs:anyURI"? > xs:any* </wse:Format> ?
    <wse:Expires min="(xs:dateTime | xs:duration)"? max="(xs:dateTime |
xs:duration)"? exact="xs:boolean"?>
        (xs:dateTime | xs:duration) 
    </wse:Expires> ?
    <wse:Filter Dialect="xs:anyURI"? ...> xs:any* </wse:Filter> ?
    xs:any*
  </wse:Subscribe>

The Following replaces [Body]/wse:Subscribe/wse:Expires and the paragraphs
following.

[Body] /wse:Subscribe/wse:Expires

This OPTIONAL element can be used by the Subscriber to indicate the expiration
time of the requested Subscription. The value of this element indicates the
desired expiration time for the subscription. The implied default is indefinite
(no expiry). The value of this element MUST be between the values of the @min
and @max attributes inclusive. If the request is malformed, the event source
MUST generate a wse:InvalidExpirationTime fault.

If the wse:Expires element is present and the event source is not able to grant
an expiry time within range indicated by the @min and @max attribute values, it
MUST generate a wse:ExpirationTimeExceeded fault. 

[Body] /wse:Subscribe/wse:Expires@min

The implied default is PT0S. This specifies the minimum expiration time that
the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@max

The implied default is indefinite (no expiry). This specifies the maximum
expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@exact

The default value is "false" in which case this attribute has no effect. If
this attribute value is "true" both @min and @max attributes MUST be ignored
and are treated as if they had the same value as the wse:Expires element.


Need a new response type wse:GrantedExpires

    <wse:GrantedExpires>
        (xs:dateTime | xs:duration) 
    </wse:GrantedExpires> ?

The value of this element indicates the expiration time (or duration) granted
by the event source. If this element is missing the granted expiration time is
indefinite.

This will also be applied to renew


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 2 October 2009 14:12:59 UTC