<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>9608</bug_id>
          
          <creation_ts>2010-04-28 21:49:32 +0000</creation_ts>
          <short_desc>Enum: Support WS-Management&apos;s Enumerate Count feature</short_desc>
          <delta_ts>2010-06-01 13:53:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Resource Access</product>
          <component>Enumeration</component>
          <version>LC</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>externalComments, reviewerSatisfied</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gilbert Pilz">gilbert.pilz</reporter>
          <assigned_to name="Gilbert Pilz">gilbert.pilz</assigned_to>
          <cc>dug</cc>
    
    <cc>tom</cc>
          
          <qa_contact name="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35287</commentid>
    <comment_count>0</comment_count>
    <who name="Gilbert Pilz">gilbert.pilz</who>
    <bug_when>2010-04-28 21:49:32 +0000</bug_when>
    <thetext>Description: WS-Management v1.1 [1] Section 8.2.2 defines an extension to WS-Enumeration wherein a consumer is provided with an estimate of the number of items in an enumeration. This allows consumers to allocate the resources necessary to store and process the results of the ensuing Pull operations in a more efficient manner than what might be possible with a pull/store/resize/copy pattern.
It is the opinion of the WS-Man WG that this feature is sufficiently general as to warrant inclusion in the base specification. The WS-Man WG requests that WS-RA WG incorporate this extension as an optional feature of WS-Enumeration.

[1] http://www.dmtf.org/standards/published_documents/DSP0226_1.1.pdf

---

Proposal: Although WS-Management applies this extension to both the wsen:Enumerate and wsen:Pull operations, this proposal narrows the application to an option of the wsen:Enumerate/wsen:EnumerateResponse exchange.

1. Modify the Enumerate request to include an optional element or define a soap header that is equivalent to wsman:RequestTotalItemsCountEstimate.

2. Modify the EnumerateResponse message to include an element or header  that is equivalent to wsman:TotalItemsCountEstimate.

3. Define an additional fault to cover the case where a consumer requests the enumeration count from a data source that does not support this feature.

4. Add a parameter to the wsenu:DataSource assertion to indicate that an endpoint supports the Count feature.

5. Define a mechanism to allow a client to specify whether the request should be performed with or without the use of this feature in a way similar to the way mustUnderstand works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35584</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Rutt">tom</who>
    <bug_when>2010-05-11 22:03:36 +0000</bug_when>
    <thetext>Proposed Response to originator of bug 9607

The WS-RA WG considered your last call comment 9607 
&quot;Enum: Support WS-Management&apos;s Enumerate Count feature&quot;.

After discussion, we agreed to close this issue with no change to the spec.

The rational for this decision was that the cost in terms of spec and 
implementation complexity outweighs the potential benefits of saving 
a round trip of network exchange for a minority of use cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35585</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Rutt">tom</who>
    <bug_when>2010-05-11 22:05:39 +0000</bug_when>
    <thetext>Sorry, there is a typo in the preceding comment.
&quot;9207&quot; should be replaced with &quot;9208&quot; in the preceding comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35603</commentid>
    <comment_count>3</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2010-05-12 04:58:50 +0000</bug_when>
    <thetext>To add to Tom&apos;s comment, after a discussion within the WG, the WG
believes that the number of potential items in the enumeration, while
interesting, isn&apos;t nearly as valuable as the total size of the 
enumeration (total byte count of the data, not just the # of items).
This would allow for better pre-allocation of resources than simply 
knowing the number of items. However, since calculating the total
size of the entire enumerated data set could be very expensive, the
cost of doing this at Enumerate() time didn&apos;t seem to be worth the
additional cost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35889</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2010-06-01 13:53:14 +0000</bug_when>
    <thetext>Reviewer Satisfied http://lists.w3.org/Archives/Public/public-ws-resource-access/2010May/0056.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>