First Last Prev Next    No search results available
Details
: MEX: Define a way to ask for more than one MEX dialect
Bug#: 6604
: WS-Resource Access
: MetadataExchange
Status: CLOSED
Resolution: REMIND
: PC
: Windows XP
: FPWD
: P2
: normal
: ---

:
:
: hasProposal
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Doug Davis <dug@us.ibm.com>
Assigned To: Doug Davis <dug@us.ibm.com>
: notifications mailing list ...
:

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2009-02-21 02:03
Add a feature to MEX to allow a client to specify a list of dialects (and
identifiers).
Need to think about whether to allow the the "format" (or whatever we called
it) to be on a per dialect basis or not.  Thoughts on this would be
appreciated.
------- Comment #1 From Doug Davis 2009-02-21 14:53:38 -------
Current form:
  <mex:GetMetadata ... >
    (<mex:Dialect>xs:anyURI</mex:Dialect>
       (<mex:Identifier>xs:anyURI</mex:Identifier>)?
    )?
    <mex:Content> xs:anyURI </mex:Content> *
  </mex:GetMetadata>

Proposal:
 <mex:GetMetadata ... >
   <mex:Dialect uri="xs:anyURI" 
                identifier="xs:anyURI"? 
                Content="xs:anyURI"? .../> *
   ...
 </mex:GetMetadata>

This gives you the flexibility of choosing different formats on a per Dialect
basis.  What's nice about this is that since we've defined the "all" Content
URI, you could ask for all forms of a certain metadata with a single element. 
However, if you want just 2 of the forms (e.g. URI and EPR) then you'll need to
use 2 elements.  Not a huge issue and I'm not sure one that will happen too
often.  It seems that if you want a reference to the data you'll probably plan
on only using one way to retrieve it - not both.

We could make the Content attribute a list of URIs, but that seems overly
complicated when adding a new Dialect element gives you the same end result
with only a few more bytes on the wire.
------- Comment #2 From Robert Freund 2009-03-10 20:06:39 -------
proposal in comment #1 accepted
------- Comment #3 From Doug Davis 2009-03-18 02:48:55 -------
Done

First Last Prev Next    No search results available