[Bug 11202] New: Transfer: Factory needs to advertise the schemas it supports

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

           Summary: Transfer: Factory needs to advertise the schemas it
                    supports
           Product: WS-Resource Access
           Version: PR
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transfer
        AssignedTo: public-ws-resource-access-notifications@w3.org
        ReportedBy: dug@us.ibm.com
         QAContact: public-ws-resource-access-notifications@w3.org


Right now the Transfer Factory Policy is this:
<wst:TransferResourceFactory ...>
  <wst:Dialect URI="xs:anyURI" ...>
    xs:any*
  </wst:Dialect> *
  xs:any*
</wst:TransferResourceFactory>

This means that a client has no way of knowing what kinds of resources
the service can support creating.  Once a resource is created a client
can ask for the root element of the resource via its policy:
     <wst:Resource ...> xs:QName </wst:Resource> ?
but this is only useful after the resource has been created.

We need a way for the client to get this info prior to creating
the resource.

Proposal:
add
    <wst:Resource ...> xs:QName </wst:Resource> *
to the  wst:TransferResourceFactory policy assertion. 
Each wst:Resource element represents the QName/GED of
one type of Resource supported by this factory.  Its expected that there's
one wst:Resource element per type of resource that can be created.
There will be no requirement for the factory to support more than one.

-- 
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.
You are the assignee for the bug.

Received on Tuesday, 2 November 2010 20:19:59 UTC