<?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>7791</bug_id>
          
          <creation_ts>2009-10-02 08:44:04 +0000</creation_ts>
          <short_desc>Consistent Policy applied to a set of resources</short_desc>
          <delta_ts>2010-01-28 00:13:57 +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>Transfer</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></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="Paul Fremantle">paul</reporter>
          <assigned_to name="Asir V Selvasingh">asirveda</assigned_to>
          <cc>paul</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>27997</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Fremantle">paul</who>
    <bug_when>2009-10-02 08:44:04 +0000</bug_when>
    <thetext>In the current specifications, the only way of looking up the policy of a resource is to do it at &apos;runtime&apos; via MEX. An example: I create a resource using the resource factory. But until I have a resource there is no policy for that resource. Now, the 80/20 (or maybe even 95/5) case is that ALL the resources that are created by a singled ResourceFactory will have a consistent policy. In that case, it would be *very* valuable to be able to find out this policy ahead of time (design time). Take a simple example: I might be writing a client to a printer. The resource factory allows me to create print jobs and then deal with those. I don&apos;t want to have to create a print job just to understand the policy associated with that print job. 

There isn&apos;t a fully fledged proposal at this point, but the main thrust of this is to add a policy parameter to the ResourceFactory policy. This parameter is optional. If it doesn&apos;t exist then you still have to go to an individual resource to find its policy. But if the parameter &lt;ResourcePolicy&gt; exists, then this is a guarantee from the ResourceFactory that all resources created MUST have that policy. The contents of the parameter are a valid WS-Policy applicable to a resource endpoint.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31297</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2010-01-27 23:38:27 +0000</bug_when>
    <thetext>proposal at http://lists.w3.org/Archives/Public/public-ws-resource-access/2010Jan/0180.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>