<?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>6409</bug_id>
          
          <creation_ts>2009-01-14 00:11:48 +0000</creation_ts>
          <short_desc>WS-Enumeration - optimize enumerate</short_desc>
          <delta_ts>2009-03-12 00:21:49 +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>FPWD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Jan/0017.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Doug Davis">dug</reporter>
          <assigned_to name="Doug Davis">dug</assigned_to>
          <cc>bob</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>23055</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-01-14 00:11:48 +0000</bug_when>
    <thetext>As an optimization it would be nice if the client could ask for the first 
chunk of data (from the first Pull()) to be returned within 
EnumerateResponse message.

Proposal:

Add a new wsen:Pull element as a child of wsen:Enumerate in the Enumerate 
request:
    &lt;wsen:Enumerate ?&gt;
      &lt;wsen:EndTo&gt;endpoint-reference&lt;/wsen:EndTo&gt; ?
      &lt;wsen:Expires&gt;[xs:dateTime | xs:duration]&lt;/wsen:Expires&gt; ?
      &lt;wsen:Filter Dialect=&quot;xs:anyURI&quot;?&gt; xs:any &lt;/wsen:Filter&gt; ?
      &lt;wsen:Pull&gt;
        &lt;wsen:MaxTime&gt;xs:duration&lt;/wsen:MaxTime&gt; ?
        &lt;wsen:MaxElements&gt;xs:long&lt;/wsen:MaxElements&gt; ?
        &lt;wsen:MaxCharacters&gt;xs:long&lt;/wsen:MaxCharacters&gt; ?
      &lt;/wsen:Pull&gt; ?
      ?
    &lt;/wsen:Enumerate&gt;

/Pull
  basically the same as the Pull operation itself. If the data source
  is unable to satisfy this request then it MAY choose to ignore this
  element.

and add wsen:Items and wsen:EndOfSequence to the EnumerateResponse:
    &lt;wsen:EnumerateResponse ?&gt;
      &lt;wsen:Expires&gt;[xs:dateTime | xs:duration]&lt;/wsen:Expires&gt; ?
      &lt;wsen:EnumerationContext&gt;?&lt;/wsen:EnumerationContext&gt;
      &lt;wsen:Items&gt;
        &lt;xs:any&gt; enumeration-specific element &lt;/xs:any&gt; +
      &lt;/wsen:Items&gt; ?
      &lt;wsen:EndOfSequence/&gt; ?
      ?
    &lt;/wsen:EnumerateResponse&gt;

/Items
/EndOfSequence
  same as the Pull response stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23105</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-01-15 01:00:45 +0000</bug_when>
    <thetext>defer until 2009-01-31</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23141</commentid>
    <comment_count>2</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-01-16 11:16:14 +0000</bug_when>
    <thetext>Withdrawn</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>