Bug 8075 - Enum: MaxTime could be clearer
: Enum: MaxTime could be clearer
Status: CLOSED REMIND
Product: WS-Resource Access
Enumeration
: FPWD
: PC Windows XP
: P2 normal
: ---
Assigned To: Doug Davis
: notifications mailing list for WS Resource Access
:
:
: hasProposal
:
:
  Show dependency treegraph
 
Reported: 2009-10-26 16:49 UTC by Doug Davis
Modified: 2009-12-08 22:10 UTC (History)
0 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Davis 2009-10-26 16:49:55 UTC
Current definition of MaxTime is:
- - - - - - - - - -
[Body]/wsen:Pull/wsen:MaxTime

    This OPTIONAL element (of type xs:duration) indicates the maximum amount of
time the initiator is willing to allow the data source to assemble the Pull
response. When this element is absent, the data source is not required to limit
the amount of time it takes to assemble the Pull response.

    This is useful with data sources that accumulate elements over time and
package them into a single Pull response. 
- - - - - - - - - -

and at the end of the Pull section it says:
- - - - - - - - - -
Upon receipt of a Pull request message, the data source MAY wait as long as it
deems necessary (but not longer than the value of the wsen:MaxTime element, if
present) to produce a message for delivery to the consumer. The data source
MUST recognize the wsen:MaxTime element and return a wsen:TimedOut fault if no
elements are available prior to the request message's deadline. 
- - - - - - - - - -

This is fairly inconsistent.  The defn of MaxTime has nothing normative in it,
but the paragraph at the end of the Pull section comes really close to saying
something useful.

Proposal:
Move the sentence at the end of the Pull section into the Pull/MaxTime defn:

This OPTIONAL element (of type xs:duration) indicates the maximum amount of
time the initiator is willing to allow the data source to assemble the Pull
response. When this element is absent, the data source is not required to limit
the amount of time it takes to assemble the Pull response. **The data source 
MUST recognize the wsen:MaxTime element and return a wsen:TimedOut fault if no
elements are available prior to the request message's deadline. **
Comment 1 Robert Freund 2009-11-05 23:21:24 UTC
resolved with proposal


  翻译: