- From: Doug Davis via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 17 Feb 2011 23:22:10 +0000
- To: public-ws-resource-access-notifications@w3.org
Update of /w3ccvs/WWW/2002/ws/ra/edcopies
In directory hutz:/tmp/cvs-serv18348
Modified Files:
wsmex.html wsmex.xml
Log Message:
11790
Index: wsmex.xml
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wsmex.xml,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- wsmex.xml 17 Feb 2011 19:19:32 -0000 1.143
+++ wsmex.xml 17 Feb 2011 23:22:08 -0000 1.144
@@ -412,7 +412,7 @@
(17) </s11:Header>
(18) <s11:Body>
(19) <mex:GetMetadata>
-(20) <mex:Dialect Type='wsp:Policy'
+(20) <mex:Dialect Type='{http://www.w3.org/ns/ws-policy}Policy'
(21) Identifier='http://services.example.org/stockquote/policy'/>
(22) </mex:GetMetadata>
(23) </s11:Body>
@@ -932,13 +932,17 @@
more than one XML Schema document, including them all, one per
MetadataSection, is explicitly encouraged.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
<gitem>
<label>
- /mex:Metadata/mex:MetadataSection/@Dialect='mex:Metadata'
+ /mex:Metadata/mex:MetadataSection/@Dialect='{http://www.w3.org/&wsmex.nsprefix;/ws-mex}Metadata'
</label>
<def>
<p>
@@ -1259,7 +1263,7 @@
<kw>[Body]</kw>
<mex:GetMetadata Content='<emph>xs:any</emph>' ? ...>
- <mex:Dialect Type='<emph>xs:QName</emph>'
+ <mex:Dialect Type='<emph>mex:QNameSerialization</emph>'
Identifier='<emph>xs:anyURI</emph>' ?
Content='<emph>xs:anyURI</emph>' ? .../> *
<emph>xs:any</emph>*
@@ -1357,6 +1361,10 @@
MetadataSections of this indicated Dialect, the response MUST
include zero MetadataSections for this QName.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
@@ -1649,7 +1657,7 @@
<kw>[Body]</kw>
<mex:DeleteMetadata ...>
- <mex:Dialect Type='<emph>xs:QName</emph>'
+ <mex:Dialect Type='<emph>mex:QNameSerialization</emph>'
Identifier='<emph>xs:anyURI</emph>'?
Content='<emph>xs:anyURI</emph>'? .../> +
<emph>xs:any</emph>*
@@ -1691,6 +1699,10 @@
This REQUIRED attribute specifies the Metadata Dialect of the
metadata to be deleted.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
@@ -1787,7 +1799,7 @@
</p>
<example>
- <eg><mex:Location URL="<emph>xs:anyURI</emph>" Type="<emph>xs:QName</emph>"
+ <eg><mex:Location URL="<emph>xs:anyURI</emph>" Type="<emph>mex:QNameSerialization</emph>"
Identifier="<emph>xs:anyURI</emph>"? ...>
<emph>xs:any</emph>*
<mex:Location> </eg>
@@ -1827,6 +1839,10 @@
metadata. This can be used in deciding whether or not to retrieve
the metadata.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
@@ -1858,7 +1874,7 @@
</p>
<example>
- <eg><mex:Reference Type="<emph>xs:QName</emph>"
+ <eg><mex:Reference Type="<emph>mex:QNameSerialization</emph>"
Identifier="<emph>xs:anyURI</emph>"? ...>
<emph>endpoint-reference-type</emph>
<mex:Reference> </eg>
@@ -1889,6 +1905,10 @@
metadata. This can be used in deciding whether or not to retrieve
the metadata.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
@@ -1942,7 +1962,7 @@
(02) <wsa:Address> http://example.com </wsa:Address>
(03) <wsa:Metadata>
(04) <mex:Location URL="http://example.com?wsdl"
-(05) Type="wsdl:definitions"/>
+(05) Type="{http://schemas.xmlsoap.org/wsdl/}definitions"/>
(06) </wsa:Metadata>
(07) </wsa:Endpoint> </eg>
</example>
@@ -2021,7 +2041,7 @@
(08) <wse:EventSource>
(09) <wse:FormatName uri="http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Unwrap"/>
(10) <mex:Location URL="http://example.com/EventingWSDL"
-(11) Type="wsdl:definitions"/>
+(11) Type="{http://schemas.xmlsoap.org/wsdl/}definitions"/>
(12) </wse:EventSource>
(13) </wsp:Policy>
(14) </wsdl:service>
@@ -2195,7 +2215,7 @@
<eg>(01) <wsa:EndpointReference ...>
(02) <wsa:Address>http://services.example.org/stockquote</wsa:Address>
(03) <wsa:Metadata>
-(04) <mex:Reference Type="mex:Metadata" ...>
+(04) <mex:Reference Type="{http://www.w3.org/&wsmex.nsprefix;/ws-mex}Metadata" ...>
(05) <wsa:Address>
(06) http://services.example.org/stockquote/metadata
(07) </wsa:Address>
@@ -2229,14 +2249,14 @@
<eg>(01) <wsa:EndpointReference ...>
(02) <wsa:Address>http://services.example.org/stockquote</wsa:Address>
(03) <wsa:Metadata>
-(04) <mex:Reference Type='mex:Metadata'>
+(04) <mex:Reference Type='{http://www.w3.org/&wsmex.nsprefix;/ws-mex}Metadata'>
(05) <wsa:Address>
(06) http://services.example.org/stockquote/metadata
(07) </wsa:Address>
(08) <wsa:Metadata>
(09) <!-- Ref to the WS-Transfer WSDL -->
(10) <mex:Location URL='http://example.org/sq/TransferWSDL'
-(11) Type='wsdl:definitions'/>
+(11) Type='{http://schemas.xmlsoap.org/wsdl/}definitions'/>
(12) </wsa:Metadata>
(13) </mex:Reference>
(14) </wsa:Metadata>
@@ -2575,7 +2595,7 @@
(04) <wsp:Policy>
(05) <wsrmp:RMAssertion>
(06) <mex:Location URL='http://example.com/RMWSDL'
-(07) Type='wsdl:definitions'/>
+(07) Type='{http://schemas.xmlsoap.org/wsdl/}definitions'/>
(08) </wsrmp:RMAssertion>
(09) </wsp:Policy>
(10) </wsa:Metadata>
@@ -2689,7 +2709,7 @@
<emph>One or more elements specifying the unsupported Metadata of the
following form:</emph>
<phrase/>
- <Dialect Type='<emph>xs:QName</emph>' Identifier='<emph>xs:anyURI</emph>'? .../> +
+ <Dialect Type='<emph>mex:QNameSerialization</emph>' Identifier='<emph>xs:anyURI</emph>'? .../> +
</td>
</tr>
</tbody>
@@ -2833,7 +2853,7 @@
<example>
<eg><mex:MetadataExchange ...>
<mex:GetMetadataSupported ...>
- <mex:MetadataExchangeDialect Type="<emph>xs:QName</emph>" ...>
+ <mex:MetadataExchangeDialect Type="<emph>mex:QNameSerialization</emph>" ...>
<mex:MetadataContent URI="<emph>xs:anyURI</emph>" ...>
<emph>xs:any</emph>*
</mex:MetadataContent> *
@@ -2842,7 +2862,7 @@
<emph>xs:any</emph>*
</mex:GetMetadataSupported> ?
<mex:PutMetadataSupported ...>
- <mex:MetadataExchangeDialect Type="<emph>xs:QName</emph>" ...>
+ <mex:MetadataExchangeDialect Type="<emph>mex:QNameSerialization</emph>" ...>
<mex:MetadataContent URI="<emph>xs:anyURI</emph>" ...>
<emph>xs:any</emph>*
</mex:MetadataContent> *
@@ -2851,7 +2871,7 @@
<emph>xs:any</emph>*
</mex:PutMetadataSupported> ?
<mex:DeleteMetadataSupported ...>
- <mex:MetadataExchangeDialect Type="<emph>xs:QName</emph>" ...>
+ <mex:MetadataExchangeDialect Type="<emph>mex:QNameSerialization</emph>" ...>
<mex:MetadataContent URI="<emph>xs:anyURI</emph>" ...>
<emph>xs:any</emph>*
</mex:MetadataContent> *
@@ -2899,6 +2919,10 @@
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange Dialect QName by the GetMetadata operation.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
@@ -2966,6 +2990,10 @@
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange Dialect QName by the PutMetadata operation.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
@@ -3034,6 +3062,10 @@
specified MetadataExchange Dialect QName by the
DeleteMetadata operation.
</p>
+
+ <p>
+ Note: the QName is serialized as {namespace-uri}localName.
+ </p>
</def>
</gitem>
@@ -3415,6 +3447,14 @@
namespace='http://www.w3.org/2005/08/addressing'
schemaLocation='http://www.w3.org/2006/03/addressing/ws-addr.xsd'/>
+ <!-- Types and global elements -->
+ <xs:simpleType name='QNameSerialization'>
+ <xs:restriction base='xs:string'>
+ <xs:pattern value='\{.*\}.+'/>
+ <!-- A QName w/o a namespace-uri is realized as "{}local-name} -->
+ </xs:restriction>
+ </xs:simpleType>
+
<!-- GetWSDL request -->
<xs:element name='GetWSDL'>
<xs:complexType>
@@ -3511,7 +3551,7 @@
<xs:element name='Dialect'>
<xs:complexType>
- <xs:attribute name='Type' type='xs:QName' use='required'/>
+ <xs:attribute name='Type' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:attribute name='Content' type='xs:anyURI'/>
<xs:anyAttribute namespace='##other' processContents='lax'/>
@@ -3540,7 +3580,7 @@
<xs:element name='MetadataReference' type='wsa:EndpointReferenceType' />
<xs:element name='MetadataLocation' type='tns:URI'/>
</xs:choice>
- <xs:attribute name='Dialect' type='xs:QName' use='required'/>
+ <xs:attribute name='Dialect' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:anyAttribute namespace='##other' processContents='lax'/>
</xs:complexType>
@@ -3552,7 +3592,7 @@
maxOccurs='unbounded'/>
</xs:sequence>
<xs:attribute name='URL' type='xs:anyURI' use='required'/>
- <xs:attribute name='Type' type='xs:QName' use='required'/>
+ <xs:attribute name='Type' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:anyAttribute namespace='##other' processContents='lax'/>
</xs:complexType>
@@ -3561,7 +3601,7 @@
<xs:complexType name='ReferenceType'>
<xs:complexContent>
<xs:extension base='wsa:EndpointReferenceType'>
- <xs:attribute name='Type' type='xs:QName' use='required'/>
+ <xs:attribute name='Type' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:anyAttribute processContents='lax'/>
</xs:extension>
Index: wsmex.html
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wsmex.html,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -d -r1.153 -r1.154
--- wsmex.html 17 Feb 2011 19:19:31 -0000 1.153
+++ wsmex.html 17 Feb 2011 23:22:08 -0000 1.154
@@ -64,7 +64,7 @@
7 <a href="#MetadataReferences">Metadata References</a><br/>
7.1 <a href="#mexLocation">mex:Location</a><br/>
7.2 <a href="#mexReference">mex:Reference</a><br/>
- 7.3 <a href="#iddiv2x1x1502">Examples</a><br/>
+ 7.3 <a href="#iddiv2x1x1514">Examples</a><br/>
8 <a href="#Metadata-in-Endpoint-References">Metadata in Endpoint References</a><br/>
8.1 <a href="#EPRwithMEX">Endpoint References Containing Metadata</a><br/>
8.2 <a href="#WSPAEPR">Associating Policies with Endpoint References</a><br/>
@@ -73,13 +73,13 @@
10.1 <a href="#UnsupportedMetadata">UnsupportedMetadata</a><br/>
10.2 <a href="#InvalidMetadata">UnknownDialect</a><br/>
11 <a href="#Security">Security Considerations</a><br/>
- 11.1 <a href="#iddiv2x1x2020">Metadata and Security Bootstrapping</a><br/>
+ 11.1 <a href="#iddiv2x1x2036">Metadata and Security Bootstrapping</a><br/>
12 <a href="#metadata">WS-MetadataExchange Metadata</a><br/>
- 12.1 <a href="#iddiv2x1x2041">MetadataExchange Assertion</a><br/>
+ 12.1 <a href="#iddiv2x1x2057">MetadataExchange Assertion</a><br/>
13 <a href="#bootstrapping">Bootstrapping Metadata Retrieval</a><br/>
14 <a href="#acks">Acknowledgements</a><br/>
15 <a href="#References">References</a><br/>
- 15.1 <a href="#iddiv2x1x2297">Normative References</a><br/>
+ 15.1 <a href="#iddiv2x1x2319">Normative References</a><br/>
</p>
<h3><a name="appendices" id="appendices"/>Appendices</h3><p class="toc">A <a href="#Appendix-A">XML Schema</a><br/>
B <a href="#Appendix-B">WSDL</a><br/>
@@ -317,7 +317,7 @@
(17) </s11:Header>
(18) <s11:Body>
(19) <mex:GetMetadata>
-(20) <mex:Dialect Type='wsp:Policy'
+(20) <mex:Dialect Type='{http://www.w3.org/ns/ws-policy}Policy'
(21) Identifier='http://services.example.org/stockquote/policy'/>
(22) </mex:GetMetadata>
(23) </s11:Body>
@@ -580,8 +580,10 @@
If there is more than one metadata unit with the same Dialect, e.g.,
more than one XML Schema document, including them all, one per
MetadataSection, is explicitly encouraged.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label">
- /mex:Metadata/mex:MetadataSection/@Dialect='mex:Metadata'
+ /mex:Metadata/mex:MetadataSection/@Dialect='{http://www.w3.org/2002/ws/ra/edcopies/ws-mex}Metadata'
</dt><dd><p>
This Dialect value indicates that the type of the metadata contained
within the MetadataSection is itself a mex:Metadata element.
@@ -759,7 +761,7 @@
<b>[Body]</b>
<mex:GetMetadata Content='<em>xs:any</em>' ? ...>
- <mex:Dialect Type='<em>xs:QName</em>'
+ <mex:Dialect Type='<em>mex:QNameSerialization</em>'
Identifier='<em>xs:anyURI</em>' ?
Content='<em>xs:anyURI</em>' ? .../> *
<em>xs:any</em>*
@@ -797,6 +799,8 @@
specified by this QName. If the receiver does not have any
MetadataSections of this indicated Dialect, the response MUST
include zero MetadataSections for this QName.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label"><b>[Body]</b>/mex:GetMetadata/mex:Dialect@Identifier </dt><dd><p>
When this OPTIONAL attribute is present, the response MUST include only
MetadataSections with the indicated identifier; if the receiver
@@ -967,7 +971,7 @@
<b>[Body]</b>
<mex:DeleteMetadata ...>
- <mex:Dialect Type='<em>xs:QName</em>'
+ <mex:Dialect Type='<em>mex:QNameSerialization</em>'
Identifier='<em>xs:anyURI</em>'?
Content='<em>xs:anyURI</em>'? .../> +
<em>xs:any</em>*
@@ -985,6 +989,8 @@
</p></dd><dt class="label"><b>[Body]</b>/mex:DeleteMetadata/mex:Dialect@Type </dt><dd><p>
This REQUIRED attribute specifies the Metadata Dialect of the
metadata to be deleted.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label"><b>[Body]</b>/mex:DeleteMetadata/mex:Dialect@Identifier </dt><dd><p>
When this OPTIONAL attribute is present, only metadata with the
indicated identifier is to be deleted.
@@ -1036,7 +1042,7 @@
URL to retrieve the metadata.
</p><p>
The outline for the mex:Location element is:
- </p><div class="exampleOuter"><div class="exampleInner"><pre><mex:Location URL="<em>xs:anyURI</em>" Type="<em>xs:QName</em>"
+ </p><div class="exampleOuter"><div class="exampleInner"><pre><mex:Location URL="<em>xs:anyURI</em>" Type="<em>mex:QNameSerialization</em>"
Identifier="<em>xs:anyURI</em>"? ...>
<em>xs:any</em>*
<mex:Location> </pre></div></div><p>
@@ -1052,6 +1058,8 @@
This REQUIRED attribute indicates the QName of the referenced
metadata. This can be used in deciding whether or not to retrieve
the metadata.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label"> /mex:Location@Identifier </dt><dd><p>
This OPTIONAL attribute indicates the Identifier for the metadata
being referenced. Identifier is an absolute IRI. If omitted, there
@@ -1063,7 +1071,7 @@
to the indicated EPR to retrieve the metadata
</p><p>
The outline for the mex:Reference element is:
- </p><div class="exampleOuter"><div class="exampleInner"><pre><mex:Reference Type="<em>xs:QName</em>"
+ </p><div class="exampleOuter"><div class="exampleInner"><pre><mex:Reference Type="<em>mex:QNameSerialization</em>"
Identifier="<em>xs:anyURI</em>"? ...>
<em>endpoint-reference-type</em>
<mex:Reference> </pre></div></div><p>
@@ -1077,12 +1085,14 @@
This REQUIRED attribute indicates the QName of the referenced
metadata. This can be used in deciding whether or not to retrieve
the metadata.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label"> /mex:Reference@Identifier </dt><dd><p>
This OPTIONAL attribute indicates the Identifier for the metadata
being referenced. Identifier is an absolute IRI. If omitted, there
is no implied value.
</p></dd></dl></div><div class="div2">
-<h3><a name="iddiv2x1x1502" id="iddiv2x1x1502"/>7.3 Examples</h3><p>
+<h3><a name="iddiv2x1x1514" id="iddiv2x1x1514"/>7.3 Examples</h3><p>
The following examples show how metadata might appear in various
locations:
</p><div class="exampleOuter">
@@ -1103,7 +1113,7 @@
(02) <wsa:Address> http://example.com </wsa:Address>
(03) <wsa:Metadata>
(04) <mex:Location URL="http://example.com?wsdl"
-(05) Type="wsdl:definitions"/>
+(05) Type="{http://schemas.xmlsoap.org/wsdl/}definitions"/>
(06) </wsa:Metadata>
(07) </wsa:Endpoint> </pre></div></div><p><a href="#WSDLrefinEPR">Example 7-2</a> shows the same endpoint reference but
rather than embedding the endpoint's WSDL directly in the EPR a
@@ -1113,7 +1123,7 @@
The following example WSDL shows how support for a particular feature
might be indicated:
</p><div class="exampleOuter">
-<div class="exampleHeader"><a name="idexamplex1x1534" id="idexamplex1x1534"/>Example 7-3: Feature Metadata in a Policy Assertion</div><div class="exampleInner"><pre>(01) <wsdl:definitions>
+<div class="exampleHeader"><a name="idexamplex1x1546" id="idexamplex1x1546"/>Example 7-3: Feature Metadata in a Policy Assertion</div><div class="exampleInner"><pre>(01) <wsdl:definitions>
(02) ...
(03) <wsdl:service name="stockQuote">
(04) <wsdl:port binding="..." name="...">
@@ -1164,7 +1174,7 @@
(08) <wse:EventSource>
(09) <wse:FormatName uri="http://www.w3.org/2002/ws/ra/edcopies/ws-evt/DeliveryFormats/Unwrap"/>
(10) <mex:Location URL="http://example.com/EventingWSDL"
-(11) Type="wsdl:definitions"/>
+(11) Type="{http://schemas.xmlsoap.org/wsdl/}definitions"/>
(12) </wse:EventSource>
(13) </wsp:Policy>
(14) </wsdl:service>
@@ -1276,7 +1286,7 @@
<div class="exampleHeader"><a name="EPRMD" id="EPRMD"/>Example 8-2: Endpoint reference with embedded metadata about the Metadata Reference</div><div class="exampleInner"><pre>(01) <wsa:EndpointReference ...>
(02) <wsa:Address>http://services.example.org/stockquote</wsa:Address>
(03) <wsa:Metadata>
-(04) <mex:Reference Type="mex:Metadata" ...>
+(04) <mex:Reference Type="{http://www.w3.org/2002/ws/ra/edcopies/ws-mex}Metadata" ...>
(05) <wsa:Address>
(06) http://services.example.org/stockquote/metadata
(07) </wsa:Address>
@@ -1303,14 +1313,14 @@
<div class="exampleHeader"><a name="EPRrefMDref" id="EPRrefMDref"/>Example 8-3: Endpoint reference with a reference to metadata about the Metadata Reference</div><div class="exampleInner"><pre>(01) <wsa:EndpointReference ...>
(02) <wsa:Address>http://services.example.org/stockquote</wsa:Address>
(03) <wsa:Metadata>
-(04) <mex:Reference Type='mex:Metadata'>
+(04) <mex:Reference Type='{http://www.w3.org/2002/ws/ra/edcopies/ws-mex}Metadata'>
(05) <wsa:Address>
(06) http://services.example.org/stockquote/metadata
(07) </wsa:Address>
(08) <wsa:Metadata>
(09) <!-- Ref to the WS-Transfer WSDL -->
(10) <mex:Location URL='http://example.org/sq/TransferWSDL'
-(11) Type='wsdl:definitions'/>
+(11) Type='{http://schemas.xmlsoap.org/wsdl/}definitions'/>
(12) </wsa:Metadata>
(13) </mex:Reference>
(14) </wsa:Metadata>
@@ -1525,7 +1535,7 @@
WS-Eventing WSDL. As discussed above, this WSDL might be annotated to
specify additional constrains on the WS-Eventing message exchanges.
</p><div class="exampleOuter">
-<div class="exampleHeader"><a name="idexamplex1x1795" id="idexamplex1x1795"/>Example 9-2: Sample WS-Eventing Policy with Embedded WSDL </div><div class="exampleInner"><pre>(01) <wsp:Policy>
+<div class="exampleHeader"><a name="idexamplex1x1811" id="idexamplex1x1811"/>Example 9-2: Sample WS-Eventing Policy with Embedded WSDL </div><div class="exampleInner"><pre>(01) <wsp:Policy>
(02) <wse:EventSource>
(03) <wse:FormatName
(04) URI="http://www.w3.org/2002/ws/ra/edcopies/ws-evt/DeliveryFormats/Unwrap">
@@ -1555,13 +1565,13 @@
specific endpoint to which those protocol messages are to be sent - if
it is different from the address specified on line 02.
</p><div class="exampleOuter">
-<div class="exampleHeader"><a name="idexamplex1x1805" id="idexamplex1x1805"/>Example 9-3: Sample EndpointReference with Embedded Policy </div><div class="exampleInner"><pre>(01) <wse:NotifyTo>
+<div class="exampleHeader"><a name="idexamplex1x1821" id="idexamplex1x1821"/>Example 9-3: Sample EndpointReference with Embedded Policy </div><div class="exampleInner"><pre>(01) <wse:NotifyTo>
(02) <wsa:Address> http://example.com </wsa:Address>
(03) <wsa:Metadata>
(04) <wsp:Policy>
(05) <wsrmp:RMAssertion>
(06) <mex:Location URL='http://example.com/RMWSDL'
-(07) Type='wsdl:definitions'/>
+(07) Type='{http://schemas.xmlsoap.org/wsdl/}definitions'/>
(08) </wsrmp:RMAssertion>
(09) </wsp:Policy>
(10) </wsa:Metadata>
@@ -1622,7 +1632,7 @@
the endpoint
</td></tr><tr><th align="left"><b>[Detail]</b></th><td><em>One or more elements specifying the unsupported Metadata of the
following form:</em><br/>
- <Dialect Type='<em>xs:QName</em>' Identifier='<em>xs:anyURI</em>'? .../> +
+ <Dialect Type='<em>mex:QNameSerialization</em>' Identifier='<em>xs:anyURI</em>'? .../> +
</td></tr></tbody></table></div><div class="div2">
<h3><a name="InvalidMetadata" id="InvalidMetadata"/>10.2 UnknownDialect</h3><p>
This fault MUST be generated when the metadata passed on the
@@ -1652,7 +1662,7 @@
security analysis to determine their particular threat profile and the
appropriate responses to those threats.
</p><div class="div2">
-<h3><a name="iddiv2x1x2020" id="iddiv2x1x2020"/>11.1 Metadata and Security Bootstrapping</h3><p>
+<h3><a name="iddiv2x1x2036" id="iddiv2x1x2036"/>11.1 Metadata and Security Bootstrapping</h3><p>
There are cases in which the metadata used to describe a service might
be considered sensitive information. In these cases it is advisable
for services to authenticate and authorize consumers as part of the
@@ -1690,7 +1700,7 @@
indicate a particular security mechanism used to protect the
WS-MetadataExchange operations supported by this endpoint.
</p><div class="div2">
-<h3><a name="iddiv2x1x2041" id="iddiv2x1x2041"/>12.1 MetadataExchange Assertion</h3><p>
+<h3><a name="iddiv2x1x2057" id="iddiv2x1x2057"/>12.1 MetadataExchange Assertion</h3><p>
Services indicate support for the WS-MetadataExchange specification
through the use of the Web Services
Policy - Framework <a href="#wspolicy">[WS-Policy]</a> and Web Services Policy -
@@ -1700,7 +1710,7 @@
The normative outline of this assertion is:
</p><div class="exampleOuter"><div class="exampleInner"><pre><mex:MetadataExchange ...>
<mex:GetMetadataSupported ...>
- <mex:MetadataExchangeDialect Type="<em>xs:QName</em>" ...>
+ <mex:MetadataExchangeDialect Type="<em>mex:QNameSerialization</em>" ...>
<mex:MetadataContent URI="<em>xs:anyURI</em>" ...>
<em>xs:any</em>*
</mex:MetadataContent> *
@@ -1709,7 +1719,7 @@
<em>xs:any</em>*
</mex:GetMetadataSupported> ?
<mex:PutMetadataSupported ...>
- <mex:MetadataExchangeDialect Type="<em>xs:QName</em>" ...>
+ <mex:MetadataExchangeDialect Type="<em>mex:QNameSerialization</em>" ...>
<mex:MetadataContent URI="<em>xs:anyURI</em>" ...>
<em>xs:any</em>*
</mex:MetadataContent> *
@@ -1718,7 +1728,7 @@
<em>xs:any</em>*
</mex:PutMetadataSupported> ?
<mex:DeleteMetadataSupported ...>
- <mex:MetadataExchangeDialect Type="<em>xs:QName</em>" ...>
+ <mex:MetadataExchangeDialect Type="<em>mex:QNameSerialization</em>" ...>
<mex:MetadataContent URI="<em>xs:anyURI</em>" ...>
<em>xs:any</em>*
</mex:MetadataContent> *
@@ -1741,6 +1751,8 @@
</p></dd><dt class="label"> /mex:MetadataExchange/mex:GetMetadataSupported/mex:MetadataExchangeDialect@Type </dt><dd><p>
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange Dialect QName by the GetMetadata operation.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label"> /mex:MetadataExchange/mex:GetMetadataSupported/mex:MetadataExchangeDialect/mex:MetadataContent </dt><dd><p>
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange content IRI by the GetMetadata
@@ -1766,6 +1778,8 @@
</p></dd><dt class="label"> /mex:MetadataExchange/mex:PutMetadataSupported/mex:MetadataExchangeDialect@Type </dt><dd><p>
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange Dialect QName by the PutMetadata operation.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label"> /mex:MetadataExchange/mex:PutMetadataSupported/mex:MetadataExchangeDialect/mex:MetadataContent </dt><dd><p>
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange content IRI by the PutMetadata
@@ -1792,6 +1806,8 @@
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange Dialect QName by the
DeleteMetadata operation.
+ </p><p>
+ Note: the QName is serialized as {namespace-uri}localName.
</p></dd><dt class="label"> /mex:MetadataExchange/mex:DeleteMetadataSupported/mex:MetadataExchangeDialect/mex:MetadataContent </dt><dd><p>
When present, this OPTIONAL parameter indicates support for the
specified MetadataExchange content IRI by the DeleteMetadata
@@ -1913,7 +1929,7 @@
Yves Lafon (W3C/ERCIM).
</p></div><div class="div1">
<h2><a name="References" id="References"/>15 References</h2><div class="div2">
-<h3><a name="iddiv2x1x2297" id="iddiv2x1x2297"/>15.1 Normative References</h3><dl><dt class="label"><a name="BP12" id="BP12"/>BP12</dt><dd><a href="http://ws-i.org/profiles/BasicProfile-1.2-2010-11-09.html"><cite>
+<h3><a name="iddiv2x1x2319" id="iddiv2x1x2319"/>15.1 Normative References</h3><dl><dt class="label"><a name="BP12" id="BP12"/>BP12</dt><dd><a href="http://ws-i.org/profiles/BasicProfile-1.2-2010-11-09.html"><cite>
WS-I Profile, Basic Profile Version 1.2
</cite></a>
, R. Chumbley, et al, Editors.
@@ -2013,6 +2029,14 @@
namespace='http://www.w3.org/2005/08/addressing'
schemaLocation='http://www.w3.org/2006/03/addressing/ws-addr.xsd'/>
+
+ <xs:simpleType name='QNameSerialization'>
+ <xs:restriction base='xs:string'>
+ <xs:pattern value='\{.*\}.+'/>
+
+ </xs:restriction>
+ </xs:simpleType>
+
<!-- GetWSDL request -->
<xs:element name='GetWSDL'>
<xs:complexType>
@@ -2109,7 +2133,7 @@
<xs:element name='Dialect'>
<xs:complexType>
- <xs:attribute name='Type' type='xs:QName' use='required'/>
+ <xs:attribute name='Type' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:attribute name='Content' type='xs:anyURI'/>
<xs:anyAttribute namespace='##other' processContents='lax'/>
@@ -2138,7 +2162,7 @@
<xs:element name='MetadataReference' type='wsa:EndpointReferenceType' />
<xs:element name='MetadataLocation' type='tns:URI'/>
</xs:choice>
- <xs:attribute name='Dialect' type='xs:QName' use='required'/>
+ <xs:attribute name='Dialect' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:anyAttribute namespace='##other' processContents='lax'/>
</xs:complexType>
@@ -2150,7 +2174,7 @@
maxOccurs='unbounded'/>
</xs:sequence>
<xs:attribute name='URL' type='xs:anyURI' use='required'/>
- <xs:attribute name='Type' type='xs:QName' use='required'/>
+ <xs:attribute name='Type' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:anyAttribute namespace='##other' processContents='lax'/>
</xs:complexType>
@@ -2159,7 +2183,7 @@
<xs:complexType name='ReferenceType'>
<xs:complexContent>
<xs:extension base='wsa:EndpointReferenceType'>
- <xs:attribute name='Type' type='xs:QName' use='required'/>
+ <xs:attribute name='Type' type='tns:QNameSerialization' use='required'/>
<xs:attribute name='Identifier' type='xs:anyURI'/>
<xs:anyAttribute processContents='lax'/>
</xs:extension>
Received on Thursday, 17 February 2011 23:22:12 UTC