This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Using MEX and WS-Transfer a client can retrieve, manipulate and even delete the metadata of an endpoint. However, there is no mechanism to create it. This seems like a criticial piece missing from the complete picture. Proposal: Add the ability for a client to create metadata for an endpoint. No concrete proposal yet but I can think of two possible solutions: 1 - define a CreateMetadata(dialect, identifier, data) type of operation in MEX that an endpoint can support. This is probably the easiest. 2 - Merge T and MEX. Yes this is much bigger than #1 but its something I've been wondering about for a while and would like to at least have a discussion of it. If you think of the XML representation of a resource and its metadata as just "data about the resource", then it seems odd to force extra(or special) steps to be taken when dealing with metadata. For example, to get the state of a resource you can just use T/RT to retrieve just that one chunk of XML. But to get part of the metadata of a resource you must use mex.GetMetadata() and then use T/RT to get the data of interest. Why not just treat the metadata as another variant of the resource's data? So the basic idea is to extend the Transfer operations with an optional 'view' or 'dialect' attribute that specific which piece of data its operating on. For example transfer.get() is what we have today - gets the xml represenation of the resource transfer.get("wsdl") retrieves the wsdl transfer.put("wsdl",data) creates/updates the wsdl of the resource
Action-26
Proposal: In MEX define a new operation: <wsmex:CreateMetadata ...> <wsmex:Metadata> xs:any * </wsmex:Metadata> xs:any * </wsmex:CreateMetadata> <wsmex:CreateMetadataResponse ...> xs:any * </wsmex:CreateMetadataResponse> This will add the specified metadata to the resource. Note that the metadata could be either the data itself or a reference to it. If metadata with the same Dialect/ID combo already exists then it will be replaced.
2009-08-06: Agreement on direction. Add operations to MEX to expose factory EPR so that TRANSFER optional operation may be used on the factory EPR to create/modify metadata. Action on Doug to create proposal along these lines
proposal: http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Aug/0063.html