RE: NEW ISSUE 6463: Attaching Policy to WS-Mex GetMetadata

Hi Geoff

Yes, I kind-of agree ... but something bothers me about this -  I'd expect 
the <metadata> section for an EPR representing service X to contain the 
same as what would be returned from the GetMetadata call targeted at 
service X, and not the policy/metadata for actually acquiring that 
metadata. 

That said, it does seem like the logical solution.  As the GetMetadata 
request is a virtual operation (and therefore doesn't appear in the WSDL) 
I assume we could use external policy attachment, something like this:

 
<wsa:EndpointReference>
...
<wsa:Metadata>

 <mex:MetadataSection> 

   <wsp:PolicyAttachment>
     <wsp:AppliesTo>
      http://services.example.org/stockquote/GetMetadata
     </wsp:AppliesTo>
     <wsp:Policy>
             **GetMetadata policy**
     </wsp:Policy>
      ?
   </wsp:PolicyAttachment> 

 </mex:MetadataSection>

...
</wsa:Metadata>
</wsa:EndpointReference>

Is that what you had in mind?

regards,
Katy



From:
Geoff Bullen <Geoff.Bullen@microsoft.com>
To:
Katy Warr/UK/IBM@IBMGB
Cc:
"public-ws-resource-access@w3.org" <public-ws-resource-access@w3.org>
Date:
30/01/2009 21:39
Subject:
RE: NEW ISSUE 6463: Attaching Policy to WS-Mex GetMetadata



Katy,
This issue is about how to bootstrap ? i.e. I have the ERP of a service X 
- how do I get the policy associated with GetMetadata so that I can call 
GetMetadata to get the metadata (including the policy) about how to use X.
 
On thinking about this, is this not the reason why metadata was added to 
the EPR in Addressing?
Somehow the client got the EPR of the service X (via a registry, 
discovery, config,?).
That EPR should also have have enough metadata in it (e.g. policy) to 
allow the client to successfully call GetMetadata to then figure out how 
to finally call the service X.
 
Does this make sense?  Am I missing something here?
--Geoff
 
 
From: public-ws-resource-access-request@w3.org [
mailto:public-ws-resource-access-request@w3.org] On Behalf Of Katy Warr
Sent: Wednesday, January 21, 2009 6:49 AM
To: public-ws-resource-access@w3.org
Subject: NEW ISSUE 6463: Attaching Policy to WS-Mex GetMetadata
 

Potential new issue is here: 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6463


 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU 












Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Received on Monday, 2 February 2009 14:15:28 UTC