2002/ws/desc/wsdl20 wsdl20-primer.html,1.151,1.152

Update of /sources/public/2002/ws/desc/wsdl20
In directory hutz:/tmp/cvs-serv24964/wsdl20

Modified Files:
	wsdl20-primer.html 
Log Message:
Editorial correction: use the term "extension" instead of "extensibility" for elements and attributes.

Index: wsdl20-primer.html
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-primer.html,v
retrieving revision 1.151
retrieving revision 1.152
diff -C 2 -d -r1.151 -r1.152
*** wsdl20-primer.html	13 Jul 2006 14:16:00 -0000	1.151
--- wsdl20-primer.html	13 Jul 2006 14:24:18 -0000	1.152
***************
*** 281,4295 ****
  				<dd>
  					<p>
! 						This is the XML namespace for WSDL 2.0 itself. We assign it as the default namespace for this example by not defining a prefix for it. In other words, any unprefixed elements in this example are expected to be WSDL 2.0 elements (such as the <code>description</code> element).
! 					</p>
! 				</dd>
! <dt class="label"><code>targetNamespace= "http://greath.example.com/2004/wsdl/resSvc"</code></dt><dd><p>This defines the WSDL 2.0 target namespace that we have chosen for the GreatH reservation service, as described above.  Note that this is not an actual XML namespace declaration.  Rather, it is a WSDL 2.0 attribute whose purpose is <em>analogous</em> to an XML Schema target namespace.</p></dd><dt class="label"><code>xmlns:tns= "http://greath.example.com/2004/wsdl/resSvc"</code></dt><dd><p>This is an actual XML namespace declaration for use in our GreatH service description.  Note that this is the same URI that was specified above as the value of  the <code>targetNamespace</code>  attribute.   This will allow us later to use the  <code>tns:</code>   prefix in QNames, to refer to the WSDL 2.0 target namespace of the GreatH service.  (For more on QNames see [<cite><a href="#XMLNS">XML Namespaces</a></cite>]   section 3 <a href="http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-qualnames">Qualified Names/a>.)</p></dd></dl><p></p><p>  Now  we can start describing the GreatH service. </p></div></div>
! 
! <div class="div3">
! <h4><a name="basics-types"></a>2.1.3 Defining Message Types</h4><p>We know that the GreatH service will be sending and receiving messages, so a good starting point in describing the service is to define the message types that the service will use.  We'll use XML Schema to do so, because WSDL 2.0 processors are likely to support XML Schema at a minimum.  However, WSDL 2.0 does not prohibit the use of some other schema definition language.</p><p>WSDL 2.0 allows message types to be defined directly within the WSDL 2.0 document, inside the <code>types</code> element, which is a child of the <code>description</code> element.   (Later we'll see how we can provide the type definitions in a separate document, using XML Schema's <code>import</code> mechanism.)    The following schema defines <code>checkAvailability</code>, <code>checkAvailabilityResponse</code> and <code>invalidDataError</code> message types that we'll need.  </p><p>In WSDL 2.0, all normal and fault message types must be defined as single <em>elemnts</em> at the topmost level (though of course each element may have any amount of substructure inside it).  Thus, a message type must not directly consist of a sequence of elements or other complex type.  </p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-initial-types"></a><i><span>Example 2-3. </span>GreatH Message Types</i></p>
[...3991 lines suppressed...]
! 	(IBM), Charlton Barreto
! 	(webMethods, Inc.), Asir Vedamuthu
! 	(webMethods, Inc.), Igor Sedukhin
! 	(Computer Associates), Martin Gudgin
! 	(Microsoft Corporation), Rebecca Bergersen
! 	(IONA Technologies), Ugo Corda
! 	(SeeBeyond).</p>
!   <p>The people who have contributed to <a href="http://lists.w3.org/Archives/Public/www-ws-desc/">discussions
!       on www-ws-desc@w3.org</a> are also gratefully
!       acknowledged.</p>
! </div>
! 
! 	</div>
! </body></html>
\ No newline at end of file
--- 281,283 ----
  				<dd>
  					<p>
! 						This is the XML namespace for WSDL 2.0 itself. We assign it as the default namespace for this example by not defining a prefix for it. In other words, any 
\ No newline at end of file

Received on Thursday, 13 July 2006 14:24:32 UTC