W3C home > Mailing lists > Public > public-ws-policy-eds@w3.org > November 2006

2006/ws/policy WSDL11ElementIdentifierExample.wsdl,NONE,1.1 wsdl11eientitieswd.dtd,1.2,1.3 wsdl11elementidentifiers.html,1.4,1.5 wsdl11elementidentifiers.xml,1.4,1.5

From: David Orchard via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 15 Nov 2006 17:35:54 +0000
To: public-ws-policy-eds@w3.org
Message-Id: <E1GkOfy-0008Ri-GN@lionel-hutz.w3.org>

Update of /sources/public/2006/ws/policy
In directory hutz:/tmp/cvs-serv32290

Modified Files:
	wsdl11eientitieswd.dtd wsdl11elementidentifiers.html 
	wsdl11elementidentifiers.xml 
Added Files:
	WSDL11ElementIdentifierExample.wsdl 
Log Message:
Some of Ashok's comments and typos in example

Index: wsdl11elementidentifiers.html
===================================================================
RCS file: /sources/public/2006/ws/policy/wsdl11elementidentifiers.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- wsdl11elementidentifiers.html	10 Nov 2006 19:02:21 -0000	1.4
+++ wsdl11elementidentifiers.html	15 Nov 2006 17:35:51 -0000	1.5
@@ -30,10 +30,10 @@
                     margin: 4px}
 </style><link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-WD.css"></head><body><div class="head"><p><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72"></a></p>
 <h1><a name="title" id="title"></a>WSDL 1.1 Element Identifiers</h1>
-<h2><a name="w3c-doctype" id="w3c-doctype"></a>W3C Note 08 November 2006</h2><dl><dt>This version:</dt><dd><a href="http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/wsdl11elementidentifiers.html">http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/wsdl11elementidentifiers.html</a></dd><dt>Previous version:</dt><dd>
+<h2><a name="w3c-doctype" id="w3c-doctype"></a>W3C Note 15 November 2006</h2><dl><dt>This version:</dt><dd><a href="http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/wsdl11elementidentifiers.html">http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/wsdl11elementidentifiers.html</a></dd><dt>Previous version:</dt><dd>
 
 		</dd><dt>Editor:</dt><dd>David Orchard, BEA Systems</dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2006 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr><div>
-<h2><a name="abstract" id="abstract"></a>Abstract</h2><p>WSDL 1.1 provides a element identifer for WSDL 1.1 elements.  This, the WSDL 1.1 element identifier, provides an element identifier for WSDL 1.1 .</p></div><div>
+<h2><a name="abstract" id="abstract"></a>Abstract</h2><p>This document defines a syntax to identify individual elements in a WSDL 1.1 document.</p></div><div>
 <h2><a name="status" id="status"></a>Status of this Document</h2><p>
 This section describes the status of this document at the time of its 
 publication. Other documents may supersede this document. A list of 
@@ -63,7 +63,7 @@
 </p>
 <h3><a name="appendices" id="appendices"></a>Appendix</h3><p class="toc">A <a href="#changelog">Change Log</a> (Non-Normative)<br>
 </p></div><hr><div class="body"><div class="div1">
-<h2><a name="intro" id="intro"></a>1 Introduction</h2><p>This document provides an element identifier for WSDL 1.1 identifiers.
+<h2><a name="intro" id="intro"></a>1 Introduction</h2><p>This document definess an element identifier syntax for WSDL 1.1 elements.
 			</p><div class="div2">
 <h3><a name="notcon" id="notcon"></a>1.1 Notational Conventions</h3><p>The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL",
 	  "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY",
@@ -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>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">
+	</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(</code><em>types</em><code>)</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.messagePart(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>bindin</code> NCName</td><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>Binding Operation Fault</td><td><code>binding</code> NCName</td><td><code>operation</code> QName</td><td><code>fault</code> NCName</td><td><code>wsdl11.bindingMessageReference(binding/operation/fault)</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.extesion(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
@@ -159,22 +159,24 @@
 
 &lt;?xml version="1.0" encoding="UTF-8"?&gt; 
 
-&lt;-- http://example.org/TicketAgent.wsdl11#wsd11.definitions() --&gt; 
+&lt;!-- http://example.org/TicketAgent.wsdl11#wsd11.definitions() --&gt; 
 &lt;wsdl:definitions 
-    targetNamespace="http://example.org/TicketAgent.wsdl11" 
-    xmlns:wsdl="http://www.w3.org/TR/2001/NOTE-wsdl-20010315" 
+    targetNamespace="http://example.org/TicketAgent.wsdl11"
+    xmlns:tns="http://example.org/TicketAgent.wsdl11" 
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
     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"&gt;
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd"
+    xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ http://www.w3.org/TR/2001/NOTE-wsdl-20010315/wsdl11.xsd"&gt;
 
     &lt;wsdl:types&gt;
       &lt;xs:schema xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd"
       targetNamespace="http://example.org/TicketAgent.xsd" &gt;
     
-   &lt;-- http://example.org/TicketAgent.wsdl11#
-       xmlns(ns1=http://example.org/TicketAgent.xsd)
-       wsdl11.elementDeclaration(ns1:listFlightsRequest) --&gt; 
-   &lt;xs:element name="listFlightsRequest" type="tListFlights"/&gt;   
+   &lt;!-- http://example.org/TicketAgent.wsdl11#
+        xmlns(ns1=http://example.org/TicketAgent.xsd)
+        wsdl11.elementDeclaration(ns1:listFlightsRequest) --&gt; 
+   &lt;xs:element name="listFlightsRequest" type="xsTicketAgent:tListFlights"/&gt;   
        
       &lt;xs:complexType name="tListFlights"&gt;     
         &lt;xs:sequence&gt;      
@@ -184,52 +186,54 @@
         &lt;/xs:sequence&gt;     
       &lt;/xs:complexType&gt;             
             
-    &lt;-- http://example.org/TicketAgent.wsdl11#
-        xmlns(ns1=http://example.org/TicketAgent.xsd)
-        wsdl11.elementDeclaration(ns1:listFlightsResponse) --&gt;
-    &lt;xs:element name="listFlightsResponse" type="tFlights"/&gt;    
+    &lt;!-- http://example.org/TicketAgent.wsdl11#
+         xmlns(ns1=http://example.org/TicketAgent.xsd)
+         wsdl11.elementDeclaration(ns1:listFlightsResponse) --&gt;
+    &lt;xs:element name="listFlightsResponse" type="xsTicketAgent:tFlightsResponse"/&gt;    
      
      &lt;xs:complexType name="tFlightsResponse"&gt;     
         &lt;xs:sequence&gt;      
           &lt;xs:element  name="flightNumber" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/&gt;      
         &lt;/xs:sequence&gt;     
       &lt;/xs:complexType&gt;
+      
+      &lt;/xs:schema&gt;
            
       &lt;/wsdl:types&gt;
 	
-    &lt;-- http://example.org/TicketAgent.wsdl11#
-        wsdl11.message(listFlightsRequest) --&gt;
-    &lt;message name="listFlightsRequest"&gt;
+    &lt;!-- http://example.org/TicketAgent.wsdl11#
+         wsdl11.message(listFlightsRequest) --&gt;
+    &lt;wsdl:message name="listFlightsRequest"&gt;
     
-       &lt;-- http://example.org/TicketAgent.wsdl11#
-           wsdl11.messagePart(listFlightsRequest/body) --&gt;
-	   &lt;part name="body" element="xsTicketAgent:listFlightRequest"/&gt;
-    &lt;/message&gt;
+       &lt;!-- http://example.org/TicketAgent.wsdl11#
+            wsdl11.messagePart(listFlightsRequest/body) --&gt;
+	   &lt;wsdl:part name="body" element="xsTicketAgent:listFlightsRequest"/&gt;
+    &lt;/wsdl:message&gt;
 
-      &lt;-- http://example.org/TicketAgent.wsdl11#
-          wsdl11.message(listFlightsResponse) --&gt;
-      &lt;message name="listFlightsResponse"&gt;
+      &lt;!-- http://example.org/TicketAgent.wsdl11#
+           wsdl11.message(listFlightsResponse) --&gt;
+      &lt;wsdl:message name="listFlightsResponse"&gt;
       
-        &lt;-- http://example.org/TicketAgent.wsdl11#
-            wsdl11.messagePart(listFlightsResponse/body) --&gt;
-        &lt;part name="body" element="xsTicketagent:listFlightsResponse"/&gt;
-    &lt;/message&gt;
+        &lt;!-- http://example.org/TicketAgent.wsdl11#
+             wsdl11.messagePart(listFlightsResponse/body) --&gt;
+        &lt;wsdl:part name="body" element="xsTicketAgent:listFlightsResponse"/&gt;
+    &lt;/wsdl:message&gt;
 
-    &lt;-- http://example.org/TicketAgent.wsdl11#
-        wsdl11.portType(TicketAgent) --&gt; 
+    &lt;!-- http://example.org/TicketAgent.wsdl11#
+         wsdl11.portType(TicketAgent) --&gt; 
     &lt;wsdl:portType name="TicketAgent"&gt;
 
-         &lt;-- http://example.org/TicketAgent.wsdl11#
-             wsdl11.portTypeOperation(TicketAgent/listFlights) --&gt; 
+         &lt;!-- http://example.org/TicketAgent.wsdl11#
+              wsdl11.portTypeOperation(TicketAgent/listFlights) --&gt; 
         &lt;wsdl:operation name="listFlights"&gt;
         
-             &lt;-- http://example.org/TicketAgent.wsdl11#
-                 wsdl11.portTypeMessageReference(TicketAgent/listFlights/In) --&gt; 
-            &lt;wsdl:input message="xsTicketAgent:listFlightsRequest"/&gt;
+             &lt;!-- http://example.org/TicketAgent.wsdl11#
+                  wsdl11.portTypeMessageReference(TicketAgent/listFlights/In) --&gt; 
+            &lt;wsdl:input message="tns:listFlightsRequest"/&gt;
             
-            &lt;-- http://example.org/TicketAgent.wsdl11#
-                wsdl11.portTypeMessageReference(TicketAgent/listFlights/Out) --&gt;
-            &lt;wsdl:output message="xsTicketAgent:listFlightsResponse"/&gt;
+            &lt;!-- http://example.org/TicketAgent.wsdl11#
+                 wsdl11.portTypeMessageReference(TicketAgent/listFlights/Out) --&gt;
+            &lt;wsdl:output message="tns:listFlightsResponse"/&gt;
         &lt;/wsdl:operation&gt;
 
     &lt;/wsdl:portType&gt;

Index: wsdl11elementidentifiers.xml
===================================================================
RCS file: /sources/public/2006/ws/policy/wsdl11elementidentifiers.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- wsdl11elementidentifiers.xml	10 Nov 2006 19:02:21 -0000	1.4
+++ wsdl11elementidentifiers.xml	15 Nov 2006 17:35:51 -0000	1.5
@@ -4,7 +4,7 @@
 	<!ENTITY % entities SYSTEM "wsdl11eientitieswd.dtd">
 	%entities;
 	<!ENTITY status "Editors Copy $Date$">
-	<!ENTITY wsdl-ns "http://www.w3.org/TR/2001/NOTE-wsdl-20010315">
+	<!ENTITY wsdl-ns "http://schemas.xmlsoap.org/wsdl/">
 ]>
 <spec w3c-doctype="wd" role="Note">
 	<header>
@@ -32,7 +32,7 @@
 			</author>
 		</authlist>
 		<abstract>
-			<p>WSDL 1.1 provides a element identifer for WSDL 1.1 elements.  This, the WSDL 1.1 element identifier, provides an element identifier for WSDL 1.1 .</p>
+			<p>This document defines a syntax to identify individual elements in a WSDL 1.1 document.</p>
 		</abstract>
 		<status>
 		<p>
@@ -64,7 +64,7 @@
 	<body>
 		<div1 id="intro">
 			<head>Introduction</head>
-			<p>This document provides an element identifier for WSDL 1.1 identifiers.
+			<p>This document definess an element identifier syntax for WSDL 1.1 elements.
 			</p>
 			<div2 id="notcon">
 				<head>Notational Conventions</head>
@@ -150,7 +150,7 @@
           <td><code>types</code> QName </td>
           <td>n/a</td>
           <td>n/a</td>
-          <td><code>wsdl11.types(types)</code></td>
+          <td><code>wsdl11.types(</code><emph>types</emph><code>)</code></td>
 	</tr>
 		<tr>
 	  	  <td>Element Declaration</td>
@@ -222,6 +222,14 @@
           <td><code>message</code> NCName</td>
           <td><code>wsdl11.bindingMessageReference(binding/operation/message)</code></td>
 	</tr>
+		<tr>
+	  <td>Binding Operation Fault</td>
+          <td><code>binding</code> NCName</td>
+          <td><code>operation</code> QName</td>
+          <td><code>fault</code> NCName</td>
+          <td><code>wsdl11.bindingMessageReference(binding/operation/fault)</code></td>
+	</tr>
+
 	<tr>
 	  <td>Service</td>
           <td><code>service</code> NCName</td>
@@ -404,22 +412,24 @@
 
 &lt;?xml version="1.0" encoding="UTF-8"?&gt; 
 
-&lt;-- http://example.org/TicketAgent.wsdl11#wsd11.definitions() --&gt; 
+&lt;!-- http://example.org/TicketAgent.wsdl11#wsd11.definitions() --&gt; 
 &lt;wsdl:definitions 
-    targetNamespace="http://example.org/TicketAgent.wsdl11" 
+    targetNamespace="http://example.org/TicketAgent.wsdl11"
+    xmlns:tns="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"&gt;
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd"
+    xsi:schemaLocation="&wsdl-ns; http://www.w3.org/TR/2001/NOTE-wsdl-20010315/wsdl11.xsd"&gt;
 
     &lt;wsdl:types&gt;
       &lt;xs:schema xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd"
       targetNamespace="http://example.org/TicketAgent.xsd" &gt;
     
-   &lt;-- http://example.org/TicketAgent.wsdl11#
-       xmlns(ns1=http://example.org/TicketAgent.xsd)
-       wsdl11.elementDeclaration(ns1:listFlightsRequest) --&gt; 
-   &lt;xs:element name="listFlightsRequest" type="tListFlights"/&gt;   
+   &lt;!-- http://example.org/TicketAgent.wsdl11#
+        xmlns(ns1=http://example.org/TicketAgent.xsd)
+        wsdl11.elementDeclaration(ns1:listFlightsRequest) --&gt; 
+   &lt;xs:element name="listFlightsRequest" type="xsTicketAgent:tListFlights"/&gt;   
        
       &lt;xs:complexType name="tListFlights"&gt;     
         &lt;xs:sequence&gt;      
@@ -429,52 +439,54 @@
         &lt;/xs:sequence&gt;     
       &lt;/xs:complexType&gt;             
             
-    &lt;-- http://example.org/TicketAgent.wsdl11#
-        xmlns(ns1=http://example.org/TicketAgent.xsd)
-        wsdl11.elementDeclaration(ns1:listFlightsResponse) --&gt;
-    &lt;xs:element name="listFlightsResponse" type="tFlights"/&gt;    
+    &lt;!-- http://example.org/TicketAgent.wsdl11#
+         xmlns(ns1=http://example.org/TicketAgent.xsd)
+         wsdl11.elementDeclaration(ns1:listFlightsResponse) --&gt;
+    &lt;xs:element name="listFlightsResponse" type="xsTicketAgent:tFlightsResponse"/&gt;    
      
      &lt;xs:complexType name="tFlightsResponse"&gt;     
         &lt;xs:sequence&gt;      
           &lt;xs:element  name="flightNumber" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/&gt;      
         &lt;/xs:sequence&gt;     
       &lt;/xs:complexType&gt;
+      
+      &lt;/xs:schema&gt;
            
       &lt;/wsdl:types&gt;
 	
-    &lt;-- http://example.org/TicketAgent.wsdl11#
-        wsdl11.message(listFlightsRequest) --&gt;
-    &lt;message name="listFlightsRequest"&gt;
+    &lt;!-- http://example.org/TicketAgent.wsdl11#
+         wsdl11.message(listFlightsRequest) --&gt;
+    &lt;wsdl:message name="listFlightsRequest"&gt;
     
-       &lt;-- http://example.org/TicketAgent.wsdl11#
-           wsdl11.messagePart(listFlightsRequest/body) --&gt;
-	   &lt;part name="body" element="xsTicketAgent:listFlightRequest"/&gt;
-    &lt;/message&gt;
+       &lt;!-- http://example.org/TicketAgent.wsdl11#
+            wsdl11.messagePart(listFlightsRequest/body) --&gt;
+	   &lt;wsdl:part name="body" element="xsTicketAgent:listFlightsRequest"/&gt;
+    &lt;/wsdl:message&gt;
 
-      &lt;-- http://example.org/TicketAgent.wsdl11#
-          wsdl11.message(listFlightsResponse) --&gt;
-      &lt;message name="listFlightsResponse"&gt;
+      &lt;!-- http://example.org/TicketAgent.wsdl11#
+           wsdl11.message(listFlightsResponse) --&gt;
+      &lt;wsdl:message name="listFlightsResponse"&gt;
       
-        &lt;-- http://example.org/TicketAgent.wsdl11#
-            wsdl11.messagePart(listFlightsResponse/body) --&gt;
-        &lt;part name="body" element="xsTicketagent:listFlightsResponse"/&gt;
-    &lt;/message&gt;
+        &lt;!-- http://example.org/TicketAgent.wsdl11#
+             wsdl11.messagePart(listFlightsResponse/body) --&gt;
+        &lt;wsdl:part name="body" element="xsTicketAgent:listFlightsResponse"/&gt;
+    &lt;/wsdl:message&gt;
 
-    &lt;-- http://example.org/TicketAgent.wsdl11#
-        wsdl11.portType(TicketAgent) --&gt; 
+    &lt;!-- http://example.org/TicketAgent.wsdl11#
+         wsdl11.portType(TicketAgent) --&gt; 
     &lt;wsdl:portType name="TicketAgent"&gt;
 
-         &lt;-- http://example.org/TicketAgent.wsdl11#
-             wsdl11.portTypeOperation(TicketAgent/listFlights) --&gt; 
+         &lt;!-- http://example.org/TicketAgent.wsdl11#
+              wsdl11.portTypeOperation(TicketAgent/listFlights) --&gt; 
         &lt;wsdl:operation name="listFlights"&gt;
         
-             &lt;-- http://example.org/TicketAgent.wsdl11#
-                 wsdl11.portTypeMessageReference(TicketAgent/listFlights/In) --&gt; 
-            &lt;wsdl:input message="xsTicketAgent:listFlightsRequest"/&gt;
+             &lt;!-- http://example.org/TicketAgent.wsdl11#
+                  wsdl11.portTypeMessageReference(TicketAgent/listFlights/In) --&gt; 
+            &lt;wsdl:input message="tns:listFlightsRequest"/&gt;
             
-            &lt;-- http://example.org/TicketAgent.wsdl11#
-                wsdl11.portTypeMessageReference(TicketAgent/listFlights/Out) --&gt;
-            &lt;wsdl:output message="xsTicketAgent:listFlightsResponse"/&gt;
+            &lt;!-- http://example.org/TicketAgent.wsdl11#
+                 wsdl11.portTypeMessageReference(TicketAgent/listFlights/Out) --&gt;
+            &lt;wsdl:output message="tns:listFlightsResponse"/&gt;
         &lt;/wsdl:operation&gt;
 
     &lt;/wsdl:portType&gt;

Index: wsdl11eientitieswd.dtd
===================================================================
RCS file: /sources/public/2006/ws/policy/wsdl11eientitieswd.dtd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- wsdl11eientitieswd.dtd	9 Nov 2006 05:20:47 -0000	1.2
+++ wsdl11eientitieswd.dtd	15 Nov 2006 17:35:51 -0000	1.3
@@ -6,8 +6,8 @@
 <!ENTITY draft.year "2006">
 <!ENTITY draft.month "November">
 <!ENTITY draft.mm "11">
-<!ENTITY draft.day "08">
-<!ENTITY draft.dd "08">
+<!ENTITY draft.day "15">
+<!ENTITY draft.dd "15">
 
 <!ENTITY draft.date "&draft.year;&draft.mm;&draft.dd;">
 

--- NEW FILE: WSDL11ElementIdentifierExample.wsdl ---
<?xml version="1.0" encoding="UTF-8"?> 
<!--http://example.org/TicketAgent.wsdl11#wsd11.definitions() -->
<wsdl:definitions 
    targetNamespace="http://example.org/TicketAgent.wsdl11"
    xmlns:tns="http://example.org/TicketAgent.wsdl11" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:xsTicketAgent="http://example.org/TicketAgent.xsd"
    xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ 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" >
    
   <!-- http://example.org/TicketAgent.wsdl11#
       xmlns(ns1=http://example.org/TicketAgent.xsd)
       wsdl11.elementDeclaration(ns1:listFlightsRequest) --> 
   <xs:element name="listFlightsRequest" type="xsTicketAgent:tListFlights"/>   
       
      <xs:complexType name="tListFlights">     
        <xs:sequence>      
          <xs:element  name="travelDate" type="xs:date"/>      
          <xs:element  name="startCity" type="xs:string"/>
          <xs:element  name="endCity" type="xs:string"/>      
        </xs:sequence>     
      </xs:complexType>             
            
    <!-- http://example.org/TicketAgent.wsdl11#
        xmlns(ns1=http://example.org/TicketAgent.xsd)
        wsdl11.elementDeclaration(ns1:listFlightsResponse) -->
    <xs:element name="listFlightsResponse" type="xsTicketAgent:tFlightsResponse"/>    
     
     <xs:complexType name="tFlightsResponse">     
        <xs:sequence>      
          <xs:element  name="flightNumber" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>      
        </xs:sequence>     
      </xs:complexType>
          
      </xs:schema>
      </wsdl:types>
	
    <!-- http://example.org/TicketAgent.wsdl11#
        wsdl11.message(listFlightsRequest) -->
    <wsdl:message name="listFlightsRequest">
    
       <!-- http://example.org/TicketAgent.wsdl11#
           wsdl11.messagePart(listFlightsRequest/body) -->
	   <wsdl:part name="body" element="xsTicketAgent:listFlightsRequest"/>
    </wsdl:message>

      <!-- http://example.org/TicketAgent.wsdl11#
          wsdl11.message(listFlightsResponse) -->
      <wsdl:message name="listFlightsResponse">
      
        <!-- http://example.org/TicketAgent.wsdl11#
            wsdl11.messagePart(listFlightsResponse/body) -->
        <wsdl:part name="body" element="xsTicketAgent:listFlightsResponse"/>
    </wsdl: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="tns:listFlightsRequest"/>
            
            <!-- http://example.org/TicketAgent.wsdl11#
                wsdl11.portTypeMessageReference(TicketAgent/listFlights/Out) -->
            <wsdl:output message="tns:listFlightsResponse"/>
        </wsdl:operation>

    </wsdl:portType>
</wsdl:definitions>
Received on Wednesday, 15 November 2006 17:36:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:59 GMT