- From: David Orchard via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 10 Nov 2006 19:02:24 +0000
- To: public-ws-policy-eds@w3.org
Update of /sources/public/2006/ws/policy In directory hutz:/tmp/cvs-serv17205 Modified Files: wsdl11elementidentifiers.html wsdl11elementidentifiers.xml Log Message: Updates from thursday f2f Index: wsdl11elementidentifiers.html =================================================================== RCS file: /sources/public/2006/ws/policy/wsdl11elementidentifiers.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- wsdl11elementidentifiers.html 9 Nov 2006 05:20:47 -0000 1.3 +++ wsdl11elementidentifiers.html 10 Nov 2006 19:02:21 -0000 1.4 @@ -74,7 +74,7 @@ <h2><a name="frag-ids" id="frag-ids"></a>2 Fragment Identifiers</h2><p> This section defines a fragment identifier syntax for identifying elements of a WSDL 1.1 document. This fragment identifier syntax is compliant with the - <a href="#XPTR">[XPointer Framework]</a>. + <a href="#XPTR">[XPointer Framework]</a>. This document is primarily based upon <a href="#WSDL-PART1">[WSDL 2.0 Core]</a>. There is a substantial difference between the WSDL 1.1 and WSDL 2.0 fragment identifiers.WSDL 2.0 defines fragment identifiers with respect to the WSDL 2.0 component model, whereas WSDL 1.1 defines XML element and attribute syntax only. Because there is no WSDL 1.1 component model, the WSDL 1.1 fragment identifiers are to the WSDL 1.1 elements. Further, the fragment identifers are to the WSDL 1.1 elements prior to any processing of the WSDL document, such as validation, inclusion, imports, schema type validation, etc. </p><p> A WSDL 1.1 fragment identifier is an XPointer <a href="#XPTR">[XPointer Framework]</a>, augmented with WSDL 1.1 pointer parts as defined below. Note that many @@ -109,7 +109,7 @@ The fragment identifier in a WSDL 1.1 element IRI-reference MUST resolve to some element as defined by the construction rules in <b><a href="#frag-ids-table">???</a></b>. - </p><a name="frag-ids-table" id="frag-ids-table"></a><table border="1"><caption>Rules for determining pointer parts for WSDL 1.1 elements</caption><col width="19%" span="1"><col width="12%" span="1"><col width="12%" span="1"><col width="12%" span="1"><col width="45%" span="1"><tbody><tr><th>element</th><th>1</th><th>2</th><th>3</th><th>Pointer Part</th></tr><tr><td>Definitions</td><td>n/a</td><td>n/a</td><td>n/a</td><td><code>wsdl11.definitions()</code></td></tr><tr><td>Type Definition</td><td><code>types</code> QName </td><td>n/a</td><td>n/a</td><td><code>wsdl11.types(types)</code></td></tr><tr><td>Element Declaration</td><td><code>element</code> QName </td><td>n/a</td><td>n/a</td><td><code>wsdl11.elementDeclaration(elementDeclaration)</code></td></tr><tr><td>Message</td><td><code>message</code> NCName</td><td>n/a</td><td>n/a</td><td><code>wsdl11.message(message)</code></td></tr><tr><td>Message Part</td><td><code>messagePart</code> NCName</td><td><code>part</code> NCName</td><td>n/a</td><td><code>wsdl11.essagePart(message/part)</code></td></tr><tr><td>portType</td><td><code>portType</code> NCName </td><td>n/a</td><td>n/a</td><td><code>wsdl11.portType(portType)</code></td></tr><tr><td>portType Operation</td><td><code>portType</code> NCName</td><td><code>operation</code> NCName</td><td>n/a</td><td><code>wsdl11.portTypeOperation(portType/operation)</code></td></tr><tr><td>portType Message Reference</td><td><code>portType</code> NCName</td><td><code>operation</code> NCName</td><td><code>message</code> NCName</td><td><code>wsdl11.portTypeMessageReference(portType/operation/message)</code></td></tr><tr><td>portType Operation Fault</td><td><code>portType</code> NCName</td><td><code>operation</code> NCName</td><td><code>fault</code> QName</td><td><code>wsdl11.portTypeOperationFault(portType/operation/fault)</code></td></tr><tr><td>Binding</td><td><code>binding</code> NCName</td><td>n/a</td><td>n/a</td><td><code>wsdl11.binding(binding)</code></td></tr><tr><td>Binding Operation</td><td><code>binding</code> NCName</t><td><code>operation</code> QName</td><td>n/a</td><td><code>wsdl11.bindingOperation(binding/operation)</code></td></tr><tr><td>Binding Message Reference</td><td><code>binding</code> NCName</td><td><code>operation</code> QName</td><td><code>message</code> NCName</td><td><code>wsdl11.bindingMessageReference(binding/operation/message)</code></td></tr><tr><td>Service</td><td><code>service</code> NCName</td><td>n/a</td><td>n/a</td><td><code>wsdl11.service(service)</code></td></tr><tr><td>port</td><td><code>service</code> NCName</td><td><code>port</code> NCName</td><td>n/a</td><td><code>wsdl11.port(service/port)</code></td></tr><tr><td>Extensions</td><td><code>namespace</code> URI</td><td><code>identifier</code> extension-specific-syntax</td><td>n/a</td><td><code>wsdl11.extension(namespace,identifier)</code></td></tr></tbody></table></div><div class="div1"> + </p><a name="frag-ids-table" id="frag-ids-table"></a><table border="1"><caption>Rules for determining pointer parts for WSDL 1.1 elements</caption><col width="19%" span="1"><col width="12%" span="1"><col width="12%" span="1"><col width="12%" span="1"><col width="45%" span="1"><tbody><tr><th>element</th><th>1</th><th>2</th><th>3</th><th>Pointer Part</th></tr><tr><td>Definitions</td><td>n/a</td><td>n/a</td><td>n/a</td><td><code>wsdl11.definitions()</code></td></tr><tr><td>Type Definition</td><td><code>types</code> QName </td><td>n/a</td><td>n/a</td><td><code>wsdl11.types(types)</code></td></tr><tr><td>Element Declaration</td><td><code>element</code> QName </td><td>n/a</td><td>n/a</td><td><code>wsdl11.elementDeclaration(elementDeclaration)</code></td></tr><tr><td>Message</td><td><code>message</code> NCName</td><td>n/a</td><td>n/a</td><td><code>wsdl11.message(message)</code></td></tr><tr><td>Message Part</td><td><code>message</code> NCName</td><td><code>part</code> NCName</td><td>n/a</td><td><code>wsdl11.messgePart(message/part)</code></td></tr><tr><td>portType</td><td><code>portType</code> NCName </td><td>n/a</td><td>n/a</td><td><code>wsdl11.portType(portType)</code></td></tr><tr><td>portType Operation</td><td><code>portType</code> NCName</td><td><code>operation</code> NCName</td><td>n/a</td><td><code>wsdl11.portTypeOperation(portType/operation)</code></td></tr><tr><td>portType Message Reference</td><td><code>portType</code> NCName</td><td><code>operation</code> NCName</td><td><code>message</code> NCName</td><td><code>wsdl11.portTypeMessageReference(portType/operation/message)</code></td></tr><tr><td>portType Operation Fault</td><td><code>portType</code> NCName</td><td><code>operation</code> NCName</td><td><code>fault</code> QName</td><td><code>wsdl11.portTypeOperationFault(portType/operation/fault)</code></td></tr><tr><td>Binding</td><td><code>binding</code> NCName</td><td>n/a</td><td>n/a</td><td><code>wsdl11.binding(binding)</code></td></tr><tr><td>Binding Operation</td><td><code>binding</code> NCName</td><t><code>operation</code> QName</td><td>n/a</td><td><code>wsdl11.bindingOperation(binding/operation)</code></td></tr><tr><td>Binding Message Reference</td><td><code>binding</code> NCName</td><td><code>operation</code> QName</td><td><code>message</code> NCName</td><td><code>wsdl11.bindingMessageReference(binding/operation/message)</code></td></tr><tr><td>Service</td><td><code>service</code> NCName</td><td>n/a</td><td>n/a</td><td><code>wsdl11.service(service)</code></td></tr><tr><td>port</td><td><code>service</code> NCName</td><td><code>port</code> NCName</td><td>n/a</td><td><code>wsdl11.port(service/port)</code></td></tr><tr><td>Extensions</td><td><code>namespace</code> URI</td><td><code>identifier</code> extension-specific-syntax</td><td>n/a</td><td><code>wsdl11.extension(namespace,identifier)</code></td></tr></tbody></table></div><div class="div1"> <h2><a name="wsdl-iri-references" id="wsdl-iri-references"></a>3 IRI-References for WSDL 1.1 Elements</h2><p> This appendix provides a syntax for IRI-references for all elements found in a WSDL 1.1 document. The IRI-references are easy @@ -152,25 +152,29 @@ <b><a href="#WSDL-PART1">???</a></b> . </p></div><div class="div2"> -<h3><a name="Iri-ref-ex" id="Iri-ref-ex"></a>3.2 Example</h3><p>Consider the following WSDL 1.1 document located at - http://example.org/TicketAgent.wsdl: +<h3><a name="Iri-ref-ex" id="Iri-ref-ex"></a>3.2 Example</h3><p>Consider WSDL 1.1 document located at + http://example.org/TicketAgent.wsdl. Each WSDL 1.1 Element Identifier is shown in comments above the WSDL 1.1 element </p><div class="exampleOuter"> <div class="exampleHeader"><a name="iri-ref-example-wsdl" id="iri-ref-example-wsdl"></a>Example: IRI-References - Example WSDL 1.1 Document</div><div class="exampleInner"><pre> -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="UTF-8"?> + +<-- http://example.org/TicketAgent.wsdl11#wsd11.definitions() --> <wsdl:definitions targetNamespace="http://example.org/TicketAgent.wsdl11" xmlns:wsdl="http://www.w3.org/TR/2001/NOTE-wsdl-20010315" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/TR/2001/NOTE-wsdl-20010315 http://www.w3.org/TR/2001/NOTE-wsdl-20010315/wsdl11.xsd"> - + <wsdl:types> <xs:schema xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd" - targetNamespace="http://example.org/TicketAgent.xsd" - xmlns:xs="http://www.w3.org/2000/10/XMLSchema"> + targetNamespace="http://example.org/TicketAgent.xsd" > - <xs:element name="listFlightsRequest" type="tListFlights"/> + <-- http://example.org/TicketAgent.wsdl11# + xmlns(ns1=http://example.org/TicketAgent.xsd) + wsdl11.elementDeclaration(ns1:listFlightsRequest) --> + <xs:element name="listFlightsRequest" type="tListFlights"/> <xs:complexType name="tListFlights"> <xs:sequence> @@ -178,8 +182,11 @@ <xs:element name="startCity" type="xs:string"/> <xs:element name="endCity" type="xs:string"/> </xs:sequence> - </xs:complexType> + </xs:complexType> + <-- http://example.org/TicketAgent.wsdl11# + xmlns(ns1=http://example.org/TicketAgent.xsd) + wsdl11.elementDeclaration(ns1:listFlightsResponse) --> <xs:element name="listFlightsResponse" type="tFlights"/> <xs:complexType name="tFlightsResponse"> @@ -190,57 +197,44 @@ </wsdl:types> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.message(listFlightsRequest) --> <message name="listFlightsRequest"> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.messagePart(listFlightsRequest/body) --> <part name="body" element="xsTicketAgent:listFlightRequest"/> </message> - <message name="listFlightsResponse"> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.message(listFlightsResponse) --> + <message name="listFlightsResponse"> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.messagePart(listFlightsResponse/body) --> <part name="body" element="xsTicketagent:listFlightsResponse"/> </message> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portType(TicketAgent) --> <wsdl:portType name="TicketAgent"> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portTypeOperation(TicketAgent/listFlights) --> <wsdl:operation name="listFlights"> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portTypeMessageReference(TicketAgent/listFlights/In) --> <wsdl:input message="xsTicketAgent:listFlightsRequest"/> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portTypeMessageReference(TicketAgent/listFlights/Out) --> <wsdl:output message="xsTicketAgent:listFlightsResponse"/> </wsdl:operation> </wsdl:portType> </wsdl:definitions> -</pre></div></div><p> -Its elements have the following IRI-references which follow the above canonicalization rules except for the presence of -optional whitespace that has been added in order to improve the formatting:</p><div class="exampleOuter"> -<div class="exampleHeader"><a name="iri-ref-example-iris" id="iri-ref-example-iris"></a>Example: IRI-References - Example IRIs</div><div class="exampleInner"><pre> -http://example.org/TicketAgent.wsdl11# - wsd11.definitions() - -http://example.org/TicketAgent.wsdl11# - xmlns(ns1=http://example.org/TicketAgent.xsd) - wsd11.elementDeclaration(ns1:listFlightsRequest) - -http://example.org/TicketAgent.wsdl11# - xmlns(ns1=http://example.org/TicketAgent.xsd) - wsd11.elementDeclaration(ns1:listFlightsResponse) - -http://example.org/TicketAgent.wsdl11# - wsd11.portType(TicketAgent) - -http://example.org/TicketAgent.wsdl11# - wsd11.portTypeOperation(TicketAgent/listFlights) - -http://example.org/TicketAgent.wsdl11# - wsd11.portTypeMessageReference(TicketAgent/listFlights/In) - -http://example.org/TicketAgent.wsdl11# - wsd11.portTypeMessageReference(TicketAgent/listFlights/Out) - -http://example.org/TicketAgent.wsdl11# - wsd11.MessageReference(TicketAgent/listFlightsRequest) - -http://example.org/TicketAgent.wsdl11# - wsd11.MessageReference(TicketAgent/listFlightsResponse) - </pre></div></div></div></div><div class="div1"> <h2><a name="refs" id="refs"></a>4 References</h2><div class="div2"> <h3><a name="refs-norm" id="refs-norm"></a>4.1 Normative References</h3><dl><dt xmlns:fo="http://www.w3.org/1999/XSL/Format" class="label"><a name="RFC3023" id="RFC3023"></a>RFC 3023</dt><dd xmlns:fo="http://www.w3.org/1999/XSL/Format">IETF Index: wsdl11elementidentifiers.xml =================================================================== RCS file: /sources/public/2006/ws/policy/wsdl11elementidentifiers.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- wsdl11elementidentifiers.xml 9 Nov 2006 05:20:47 -0000 1.3 +++ wsdl11elementidentifiers.xml 10 Nov 2006 19:02:21 -0000 1.4 @@ -82,7 +82,7 @@ <p> This section defines a fragment identifier syntax for identifying elements of a WSDL 1.1 document. This fragment identifier syntax is compliant with the - <bibref ref="XPTR"/>. + <bibref ref="XPTR"/>. This document is primarily based upon <bibref ref="WSDL-PART1"/>. There is a substantial difference between the WSDL 1.1 and WSDL 2.0 fragment identifiers.WSDL 2.0 defines fragment identifiers with respect to the WSDL 2.0 component model, whereas WSDL 1.1 defines XML element and attribute syntax only. Because there is no WSDL 1.1 component model, the WSDL 1.1 fragment identifiers are to the WSDL 1.1 elements. Further, the fragment identifers are to the WSDL 1.1 elements prior to any processing of the WSDL document, such as validation, inclusion, imports, schema type validation, etc. </p> <p> A WSDL 1.1 fragment identifier is an XPointer <bibref ref="XPTR"/>, @@ -168,7 +168,7 @@ </tr> <tr> <td>Message Part</td> - <td><code>messagePart</code> NCName</td> + <td><code>message</code> NCName</td> <td><code>part</code> NCName</td> <td>n/a</td> <td><code>wsdl11.messagePart(message/part)</code></td> @@ -395,27 +395,31 @@ --> <div2 id="Iri-ref-ex"> <head>Example</head> - <p>Consider the following WSDL 1.1 document located at - http://example.org/TicketAgent.wsdl: + <p>Consider WSDL 1.1 document located at + http://example.org/TicketAgent.wsdl. Each WSDL 1.1 Element Identifier is shown in comments above the WSDL 1.1 element </p> <example id="iri-ref-example-wsdl"> <head>IRI-References - Example WSDL 1.1 Document</head> <eg xml:space="preserve"> -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="UTF-8"?> + +<-- http://example.org/TicketAgent.wsdl11#wsd11.definitions() --> <wsdl:definitions targetNamespace="http://example.org/TicketAgent.wsdl11" xmlns:wsdl="&wsdl-ns;" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="&wsdl-ns; &wsdl-ns;/wsdl11.xsd"> - + <wsdl:types> <xs:schema xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd" - targetNamespace="http://example.org/TicketAgent.xsd" - xmlns:xs="http://www.w3.org/2000/10/XMLSchema"> + targetNamespace="http://example.org/TicketAgent.xsd" > - <xs:element name="listFlightsRequest" type="tListFlights"/> + <-- http://example.org/TicketAgent.wsdl11# + xmlns(ns1=http://example.org/TicketAgent.xsd) + wsdl11.elementDeclaration(ns1:listFlightsRequest) --> + <xs:element name="listFlightsRequest" type="tListFlights"/> <xs:complexType name="tListFlights"> <xs:sequence> @@ -423,8 +427,11 @@ <xs:element name="startCity" type="xs:string"/> <xs:element name="endCity" type="xs:string"/> </xs:sequence> - </xs:complexType> + </xs:complexType> + <-- http://example.org/TicketAgent.wsdl11# + xmlns(ns1=http://example.org/TicketAgent.xsd) + wsdl11.elementDeclaration(ns1:listFlightsResponse) --> <xs:element name="listFlightsResponse" type="tFlights"/> <xs:complexType name="tFlightsResponse"> @@ -435,18 +442,38 @@ </wsdl:types> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.message(listFlightsRequest) --> <message name="listFlightsRequest"> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.messagePart(listFlightsRequest/body) --> <part name="body" element="xsTicketAgent:listFlightRequest"/> </message> - <message name="listFlightsResponse"> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.message(listFlightsResponse) --> + <message name="listFlightsResponse"> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.messagePart(listFlightsResponse/body) --> <part name="body" element="xsTicketagent:listFlightsResponse"/> </message> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portType(TicketAgent) --> <wsdl:portType name="TicketAgent"> + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portTypeOperation(TicketAgent/listFlights) --> <wsdl:operation name="listFlights"> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portTypeMessageReference(TicketAgent/listFlights/In) --> <wsdl:input message="xsTicketAgent:listFlightsRequest"/> + + <-- http://example.org/TicketAgent.wsdl11# + wsdl11.portTypeMessageReference(TicketAgent/listFlights/Out) --> <wsdl:output message="xsTicketAgent:listFlightsResponse"/> </wsdl:operation> @@ -455,45 +482,6 @@ </eg> </example> -<p> -Its elements have the following IRI-references which follow the above canonicalization rules except for the presence of -optional whitespace that has been added in order to improve the formatting:</p> - -<example id="iri-ref-example-iris"> -<head>IRI-References - Example IRIs</head> -<eg xml:space="preserve"> -http://example.org/TicketAgent.wsdl11# - wsd11.definitions() - -http://example.org/TicketAgent.wsdl11# - xmlns(ns1=http://example.org/TicketAgent.xsd) - wsd11.elementDeclaration(ns1:listFlightsRequest) - -http://example.org/TicketAgent.wsdl11# - xmlns(ns1=http://example.org/TicketAgent.xsd) - wsd11.elementDeclaration(ns1:listFlightsResponse) - -http://example.org/TicketAgent.wsdl11# - wsd11.portType(TicketAgent) - -http://example.org/TicketAgent.wsdl11# - wsd11.portTypeOperation(TicketAgent/listFlights) - -http://example.org/TicketAgent.wsdl11# - wsd11.portTypeMessageReference(TicketAgent/listFlights/In) - -http://example.org/TicketAgent.wsdl11# - wsd11.portTypeMessageReference(TicketAgent/listFlights/Out) - -http://example.org/TicketAgent.wsdl11# - wsd11.MessageReference(TicketAgent/listFlightsRequest) - -http://example.org/TicketAgent.wsdl11# - wsd11.MessageReference(TicketAgent/listFlightsResponse) - -</eg> -</example> - </div2> </div1>
Received on Friday, 10 November 2006 19:02:35 UTC