2002/ws/desc/wsdl20 wsdl20-primer.html,1.64,1.65

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

Modified Files:
	wsdl20-primer.html 
Log Message:
sync up with xml version 1.93

Index: wsdl20-primer.html
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-primer.html,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** wsdl20-primer.html	12 Jun 2005 22:14:42 -0000	1.64
--- wsdl20-primer.html	13 Jun 2005 21:48:10 -0000	1.65
***************
*** 1,3 ****
! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  <html lang="en"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Web Services Description Language (WSDL) Version 2.0 Part 0: Primer</title><style type="text/css">
  code           { font-family: monospace; }
--- 1,3 ----
! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
  <html lang="en"><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Web Services Description Language (WSDL) Version 2.0 Part 0: Primer</title><style type="text/css">
  code           { font-family: monospace; }
***************
*** 45,49 ****
  div.exampleHeader { font-weight: bold;
                      margin: 4px}
! </style><link type="text/css" rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/base.css"><link type="" href="" title="" rel="alternate"><link href="#contents" rel="contents"></head><body>
  	<div class="head">
  <h1>Web Services Description Language (WSDL) Version 2.0 Part 0: Primer</h1>
--- 45,49 ----
  div.exampleHeader { font-weight: bold;
                      margin: 4px}
! </style><link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/base.css"><link rel="alternate" title="" href="" type=""><link rel="contents" href="#contents"></head><body>
  	<div class="head">
  <h1>Web Services Description Language (WSDL) Version 2.0 Part 0: Primer</h1>
***************
*** 96,103 ****
  	<hr><div class="toc">
  <h2><a name="shortcontents">Short Table of Contents</a></h2><p class="toc">1. <a href="#Introduction">Introduction</a><br>2. <a href="#basics">WSDL 2.0 Basics</a><br>3. <a href="#wsdl-xml-representation">WSDL 2.0 Infoset, Schema and Component Model</a><br>4. <a href="#more-types">More on Message Types</a><br>5. <a href="#more-interfaces">More on Interfaces</a><br>6. <a href="#more-bindings">More on Bindings</a><br>7. <a href="#advanced-topic_ii">Advanced Topics</a><br>8. <a href="#References">References</a><br>A. <a href="#acknowledgments">Acknowledgements</a> (Non-Normative)<br></p></div><hr><div class="toc">
! <h2><a name="contents">Table of Contents</a></h2><p class="toc">1. <a href="#Introduction">Introduction</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.1 <a href="#Prerequisites">Prerequisites</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.2 <a href="#PrimerStructure">Structure of this Primer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.3 <a href="#notation">Notational Conventions</a><br>2. <a href="#basics">WSDL 2.0 Basics</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.1 <a href="#basics-greath-scenario">Example Scenario: The GreatH Hotel Reservation Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.2 <a href="#basics-getting-started">Getting Started: Defining a WSDL Target Namespace</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.1 <a href="#example-empty-shell-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.3 <a href="#basics-types">Defining Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.1 <a href="#example-initial-types-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.4 <a href="#basics-nterface">Defining an Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.1 <a href="#example-initial-interface-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.5 <a href="#basics-binding">Defining a Binding</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.1 <a href="#example-initial-binding-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.6 <a href="#basics-service">Defining a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.6.1 <a href="#example-initial-service-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.7 <a href="#basics-documentation">Documenting the Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.7.1 <a href="#example-initial-documentation-explanation">Explanation of Example</a><br>3. <a href="#wsdl-xml-representation">WSDL 2.0 Infoset, Schema and Component Model</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.1 <a href="#wsdl-infoset-diagram">WSDL 2.0 Infoset</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3. <a href="#wsdl-schema">WSDL 2.0 Schema and Element Ordering</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.3 <a href="#component-model">WSDL 2.0 Component Model</a><br>4. <a href="#more-types">More on Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.1 <a href="#more-types-schema-embed">Embedding XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.2 <a href="#more-types-schema-import">Importing XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.3 <a href="#more-types-import-include-summary">Summary of Import and Include Mechanisms</a><br>5. <a href="#more-interfaces">More on Interfaces</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.1 <a href="#more-interfaces-interfaces">Interface Syntax </a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.2 <a href="#more-interfaces-inheritance">Interface Inheritance</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.3 <a href="#more-interfaces-faults">Interface Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.4 <a href="#more-interfaces-operations">Interface Operations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.1 <a href="#more-interfaces-op-att">Operation Attributes</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2 <a href="#N108FB">Operation Message References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2.1 <a href="#N10918">The messageLabel Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2.2 <a href="#N1092C">The element Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2.3 <a href="#N10953">Multiple infault or outfault Elements</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.3 <a href="#more-interfaces-meps">Understanding Message Exchange Patterns (MEPs)</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.4 <a href="#more-interfaces-defining-meps">Defining New Message Exchange Patterns (MEPs)</a><br>6. <a href="#more-bindings">More on Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.1 <a href="#more-bindings-wsdl">Syntax Summary for Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.2 <a href="#more-bindins-reusable">Reusable Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.3 <a href="#more-bindings-faults">Binding Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.4 <a href="#bindingOperations">Binding Operations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.5 <a href="#more-bindings-soap">The SOAP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6.5.1 <a href="#more-bindings-soap-example-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.6 <a href="#more-bindings-http">The HTTP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6.6.1 <a href="#N10B26">Explanation of
! 			Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.7 <a href="#adv-get-vs-post">HTTP GET Versus POST: Which to Use?</a><br>7. <a href="#advanced-topic_ii">Advanced Topics</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.1 <a href="#adv-extensibility">Extensibility</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.1.1 <a href="#adv-optional-versus-required">Optional Versus Required Extensions</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.2 <a href="#adv-FP">Features and Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.2.1 <a href="#adv-FP-soap-modules">SOAP Modules</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.2.2 <a href="#adv-FP-abstract-features">Abstract Features</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.2.3 <a href="#adv-fp-properties">Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.3 <a href="#adv-import-and-authoring">Import mechanism and authoring style</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.4 <a href="#adv-multiple-docs-describing-same-service">Multiple Interfaces for the Same Service</a><br&nbsp;&nbsp;&nbsp;&nbsp;7.5 <a href="#adv-versioning">Web Service Versioning</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.1 <a href="#adv-versioning-compatible-evolution">Compatible Evolution</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.2 <a href="#adv-versioning-big-bang">Big Bang</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.3 <a href="#ad-versioing-migration">Evolving a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.4 <a href="#adv-versioning-combined">Combined Approaches</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.6 <a href="#adv-MTOM">MTOM Support</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.7 <a href="#adv-RPCstyle">RPC Style</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.8 <a href="#adv-message-dispatch">Enabling Easy Message Dispatch</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.9 <a href="#adv-service-references">Service and Endpoint References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.1 <a href="#reservationDetails">The Reservation Details Web Service</a><br>&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.2 <a href="#reservationList">The Reservation List Web Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.3 <a href="#reservationDetails_HTTP">Reservation Details Web Service Using HTTP Transfer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.4 <a href="#reservationList_HTTP_GET">Reservation List Web Service Using HTTP GET</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.10 <a href="#adv-multiple-inline-schemas">Importing Schemas</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.1 <a href="#N110BD">Schemas in Imported Documents</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.2 <a href="#N11148">Multiple Inline Schemas in One Document</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.3 <a href="#adv-schema-location">The schemaLocation Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.3.1 <a href="#N111A8">Using the id Attribute to Identify Inline
  						Schemas</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.11 <a href="#adv-rdf-mapping">Mapping to RDF and Semantic Web</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.11.1 <a href="#adv-rdf-rep-wsdl">RDF Representation of WSDL 2.0</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.12 <a href="#adv-notes-on-uris">Notes on URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.12.1 <a href="#adv-namespaces-and-schema-locations">XML Namespaces and Schema Locations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.12.2 <a href="#adv-relative-uris">Relative URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.12.3 <a href="#adv-generating-uris">Generating Temporary URIs</a><br>8. <a href="#References">References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;8.1 <a href="#Normative-References">Normative References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;8.2 <a href="#Informative-References">Informative References</a><br></p>
! <h3><a id="appendix" name="appendix">Appendix</a></h3><p class="toc">A. <a href="#acknowledgments">Acknowledgements</a> (Non-Normative)<br></p></div><hr><div class="body">
  		
  		
--- 96,103 ----
  	<hr><div class="toc">
  <h2><a name="shortcontents">Short Table of Contents</a></h2><p class="toc">1. <a href="#Introduction">Introduction</a><br>2. <a href="#basics">WSDL 2.0 Basics</a><br>3. <a href="#wsdl-xml-representation">WSDL 2.0 Infoset, Schema and Component Model</a><br>4. <a href="#more-types">More on Message Types</a><br>5. <a href="#more-interfaces">More on Interfaces</a><br>6. <a href="#more-bindings">More on Bindings</a><br>7. <a href="#advanced-topic_ii">Advanced Topics</a><br>8. <a href="#References">References</a><br>A. <a href="#acknowledgments">Acknowledgements</a> (Non-Normative)<br></p></div><hr><div class="toc">
! <h2><a name="contents">Table of Contents</a></h2><p class="toc">1. <a href="#Introduction">Introduction</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.1 <a href="#Prerequisites">Prerequisites</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.2 <a href="#PrimerStructure">Structure of this Primer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.3 <a href="#notation">Notational Conventions</a><br>2. <a href="#basics">WSDL 2.0 Basics</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.1 <a href="#basics-greath-scenario">Example Scenario: The GreatH Hotel Reservation Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.2 <a href="#basics-getting-started">Getting Started: Defining a WSDL Target Namespace</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.1 <a href="#example-empty-shell-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.3 <a href="#basics-types">Defining Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.1 <a href="#example-initial-types-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.4 <a href="#basics-nterface">Defining an Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.1 <a href="#example-initial-interface-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.5 <a href="#basics-binding">Defining a Binding</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.1 <a href="#example-initial-binding-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.6 <a href="#basics-service">Defining a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.6.1 <a href="#example-initial-service-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.7 <a href="#basics-documentation">Documenting the Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.7.1 <a href="#example-initial-documentation-explanation">Explanation of Example</a><br>3. <a href="#wsdl-xml-representation">WSDL 2.0 Infoset, Schema and Component Model</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.1 <a href="#wsdl-infoset-diagram">WSDL 2.0 Infoset</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3. <a href="#wsdl-schema">WSDL 2.0 Schema and Element Ordering</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.3 <a href="#component-model">WSDL 2.0 Component Model</a><br>4. <a href="#more-types">More on Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.1 <a href="#more-types-schema-inline">Inlining XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.2 <a href="#more-types-schema-import">Importing XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.3 <a href="#more-types-import-include-summary">Summary of Import and Include Mechanisms</a><br>5. <a href="#more-interfaces">More on Interfaces</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.1 <a href="#more-interfaces-interfaces">Interface Syntax </a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.2 <a href="#more-interfaces-inheritance">Interface Inheritance</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.3 <a href="#more-interfaces-faults">Interface Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.4 <a href="#more-interfaces-operations">Interface Operations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.1 <a href="#more-interfaces-op-att">Operation Attributes</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2 <a href="#N67836">Operation Message References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2.1 <a href="#N67865">The messageLabel Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2.2 <a href="#N67885">The element Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.2.3 <a href="#N67924">Multiple infault or outfault Elements</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.3 <a href="#more-interfaces-meps">Understanding Message Exchange Patterns (MEPs)</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.4.4 <a href="#more-interfaces-defining-meps">Defining New Message Exchange Patterns (MEPs)</a><br>6. <a href="#more-bindings">More on Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.1 <a href="#more-bindings-wsdl">Syntax Summary for Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.2 <a href="#more-bindins-reusable">Reusable Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.3 <a href="#more-bindings-faults">Binding Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.4 <a href="#bindingOperations">Binding Operations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.5 <a href="#more-bindings-soap">The SOAP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6.5.1 <a href="#more-bindings-soap-example-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.6 <a href="#more-bindings-http">The HTTP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6.6.1 <a href="#N68391">Explanation of
! 			Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.7 <a href="#adv-get-vs-post">HTTP GET Versus POST: Which to Use?</a><br>7. <a href="#advanced-topic_ii">Advanced Topics</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.1 <a href="#adv-extensibility">Extensibility</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.1.1 <a href="#adv-optional-versus-required">Optional Versus Required Extensions</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.2 <a href="#adv-FP">Features and Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.2.1 <a href="#adv-FP-soap-modules">SOAP Modules</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.2.2 <a href="#adv-FP-abstract-features">Abstract Features</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.2.3 <a href="#adv-fp-properties">Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.3 <a href="#adv-import-and-authoring">Import mechanism and authoring style</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.4 <a href="#adv-multiple-docs-describing-same-service">Multiple Interfaces for the Same Service</a><br&nbsp;&nbsp;&nbsp;&nbsp;7.5 <a href="#adv-versioning">Web Service Versioning</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.1 <a href="#adv-versioning-compatible-evolution">Compatible Evolution</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.2 <a href="#adv-versioning-big-bang">Big Bang</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.3 <a href="#ad-versioing-migration">Evolving a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.5.4 <a href="#adv-versioning-combined">Combined Approaches</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.6 <a href="#adv-MTOM">MTOM Support</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.7 <a href="#adv-RPCstyle">RPC Style</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.8 <a href="#adv-message-dispatch">Enabling Easy Message Dispatch</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.9 <a href="#adv-service-references">Service and Endpoint References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.1 <a href="#reservationDetails">The Reservation Details Web Service</a><br>&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.2 <a href="#reservationList">The Reservation List Web Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.3 <a href="#reservationDetails_HTTP">Reservation Details Web Service Using HTTP Transfer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.9.4 <a href="#reservationList_HTTP_GET">Reservation List Web Service Using HTTP GET</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.10 <a href="#adv-multiple-inline-schemas">Importing Schemas</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.1 <a href="#N69822">Schemas in Imported Documents</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.2 <a href="#N69961">Multiple Inline Schemas in One Document</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.3 <a href="#adv-schema-location">The schemaLocation Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.10.3.1 <a href="#N70057">Using the id Attribute to Identify Inline
  						Schemas</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.11 <a href="#adv-rdf-mapping">Mapping to RDF and Semantic Web</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.11.1 <a href="#adv-rdf-rep-wsdl">RDF Representation of WSDL 2.0</a><br>&nbsp;&nbsp;&nbsp;&nbsp;7.12 <a href="#adv-notes-on-uris">Notes on URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.12.1 <a href="#adv-namespaces-and-schema-locations">XML Namespaces and Schema Locations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.12.2 <a href="#adv-relative-uris">Relative URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.12.3 <a href="#adv-generating-uris">Generating Temporary URIs</a><br>8. <a href="#References">References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;8.1 <a href="#Normative-References">Normative References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;8.2 <a href="#Informative-References">Informative References</a><br></p>
! <h3><a name="appendix" id="appendix">Appendix</a></h3><p class="toc">A. <a href="#acknowledgments">Acknowledgements</a> (Non-Normative)<br></p></div><hr><div class="body">
  		
  		
***************
*** 150,154 ****
  			<div class="div2">
  <h3><a name="basics-greath-scenario"></a>2.1 Example Scenario: The GreatH Hotel Reservation Service</h3><p>Hotel GreatH (a fictional hotel)) is located in a remote island. It has been relying on fax and phone to provide room reservations. Even though the facilities and prices at GreatH are better than what its competitor offers, GreatH notices that its competitor is getting more customers than GreatH.   After research, GreatH realizes that this is because the  competitor offers a Web service that permits travel agent reservation systems to reserve rooms directly over the Internet.  GreatH then hires us to build a reservation Web service with the following functionality:  <ul><li><p><em>CheckAvailability</em>. To check availability, the client must specify a check-in date, a check-out date, and room type.  The Web service will return a room rate (a floating point number in USD$) if such a room is available, or a zero room rate if not. If any input data is invalid, the service should return an error.  Thus,the service will accept a <code>checkAvailability</code> message and return a <code>checkAvailabilityResponse</code> or <code>invalidDataFault</code> message.</p>  </li><li><p><em>MakeReservation</em>.  To make a reservation, a client must provide a name, address, and credit card information, and the service will return a confirmation number if the reservation is successful.  The service will return an error message if the credit card number or any other data field is invalid.  Thus, the service will accept a <code>makeReservation</code> message and return a <code>makeReservationResponse</code> or <code>invalidCreditCardFault</code> message.</p></li></ul> We know that we will later need to build a complete system that supports transactions and secured transmission, but initially we will implement only minimal functionality.  In fact, to simplify our first example, we will implement only the <em>CheckAvailability</em> operation.  </p><p>The next several sections proceed step-by-step through the process of deeloping a WSDL 2.0 document that describes the desired Web service.  However, for those who can't wait to see a complete example, here is the WSDL 2.0 document that we'll be creating.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-initial"></a><i><span>Example 2-1. </span>WSDL 2.0 Document for the GreatH Web Service (Initial Example)</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
--- 150,154 ----
  			<div class="div2">
  <h3><a name="basics-greath-scenario"></a>2.1 Example Scenario: The GreatH Hotel Reservation Service</h3><p>Hotel GreatH (a fictional hotel)) is located in a remote island. It has been relying on fax and phone to provide room reservations. Even though the facilities and prices at GreatH are better than what its competitor offers, GreatH notices that its competitor is getting more customers than GreatH.   After research, GreatH realizes that this is because the  competitor offers a Web service that permits travel agent reservation systems to reserve rooms directly over the Internet.  GreatH then hires us to build a reservation Web service with the following functionality:  <ul><li><p><em>CheckAvailability</em>. To check availability, the client must specify a check-in date, a check-out date, and room type.  The Web service will return a room rate (a floating point number in USD$) if such a room is available, or a zero room rate if not. If any input data is invalid, the service should return an error.  Thus,the service will accept a <code>checkAvailability</code> message and return a <code>checkAvailabilityResponse</code> or <code>invalidDataFault</code> message.</p>  </li><li><p><em>MakeReservation</em>.  To make a reservation, a client must provide a name, address, and credit card information, and the service will return a confirmation number if the reservation is successful.  The service will return an error message if the credit card number or any other data field is invalid.  Thus, the service will accept a <code>makeReservation</code> message and return a <code>makeReservationResponse</code> or <code>invalidCreditCardFault</code> message.</p></li></ul> We know that we will later need to build a complete system that supports transactions and secured transmission, but initially we will implement only minimal functionality.  In fact, to simplify our first example, we will implement only the <em>CheckAvailability</em> operation.  </p><p>The next several sections proceed step-by-step through the process of deeloping a WSDL 2.0 document that describes the desired Web service.  However, for those who can't wait to see a complete example, here is the WSDL 2.0 document that we'll be creating.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-initial"></a><i><span>Example 2-1. </span>WSDL 2.0 Document for the GreatH Web Service (Initial Example)</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
***************
*** 236,240 ****
  </div><div class="div2">
  <h3><a name="basics-getting-started"></a>2.2 Getting Started: Defining a WSDL Target Namespace</h3><p>Before writing our WSDL 2.0 document, we need to decide on a <em>WSDL target namespace</em> URI for it.  The WSDL target namespace is analogous to an XML Schema target namespace. Interface, binding and service names that we define in our WSDL document will be associated with the WSDL target namespace, and thus will be distinguishable from similar names in a different WSDL target namespace.  (This will become important if using WSDL 2.0's import or interface inheritance mechanisms.)  </p><p>The value of the  WSDL  target namespace must be an absolute URI.  Furthermore, it should be dereferenceable to a WSDL 2.0 document that describes the Web service that the WSDL target namespace is used to describe.  For example, the GreatH owners should make the WSDL document available from this URI.  (And if a WSDL description is split into multiple documents, then the WSDL target namespace should resolve to a master dcument that includes all the WSDL documents needed for that service description.)  However, there is no absolute requirement for this URI to be dereferenceable, so a WSDL processor must not depend on it being dereferenceable.  </p><p>This recommendation may sound circular, but bear in mind that the client might have obtained the WSDL document from anywhere -- not necessarily an authoritative source.  But by dereferencing the WSDL target namespace URI, a user  should be able to obtain an authoritative version.  Since GreatH will be the owner of the service, the WSDL target namespace URI should refer to a location on  the GreatH Web site or otherwise within its control.</p><p>Once we have decided on a WSDL target namespace URI, we can begin our WSDL 2.0 document as the following empty shell.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-empty-shell"></a><i><span>Example 2-2. </span>An Initial Empty WSDL 2.0 Document</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
--- 236,240 ----
  </div><div class="div2">
  <h3><a name="basics-getting-started"></a>2.2 Getting Started: Defining a WSDL Target Namespace</h3><p>Before writing our WSDL 2.0 document, we need to decide on a <em>WSDL target namespace</em> URI for it.  The WSDL target namespace is analogous to an XML Schema target namespace. Interface, binding and service names that we define in our WSDL document will be associated with the WSDL target namespace, and thus will be distinguishable from similar names in a different WSDL target namespace.  (This will become important if using WSDL 2.0's import or interface inheritance mechanisms.)  </p><p>The value of the  WSDL  target namespace must be an absolute URI.  Furthermore, it should be dereferenceable to a WSDL 2.0 document that describes the Web service that the WSDL target namespace is used to describe.  For example, the GreatH owners should make the WSDL document available from this URI.  (And if a WSDL description is split into multiple documents, then the WSDL target namespace should resolve to a master dcument that includes all the WSDL documents needed for that service description.)  However, there is no absolute requirement for this URI to be dereferenceable, so a WSDL processor must not depend on it being dereferenceable.  </p><p>This recommendation may sound circular, but bear in mind that the client might have obtained the WSDL document from anywhere -- not necessarily an authoritative source.  But by dereferencing the WSDL target namespace URI, a user  should be able to obtain an authoritative version.  Since GreatH will be the owner of the service, the WSDL target namespace URI should refer to a location on  the GreatH Web site or otherwise within its control.</p><p>Once we have decided on a WSDL target namespace URI, we can begin our WSDL 2.0 document as the following empty shell.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-empty-shell"></a><i><span>Example 2-2. </span>An Initial Empty WSDL 2.0 Document</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
***************
*** 249,253 ****
  <h4><a name="example-empty-shell-explanation"></a>2.2.1 Explanation of Example</h4><p></p><dl><dt class="label"><code>&lt;description</code></dt><dd><p>Every WSDL 2.0 document has a <code>description</code> element as its top-most element.  This merely acts as a container for the rest of the WSDL 2.0 document, and is used to declare namespaces that will be used throughout the document.</p></dd><dt class="label"><code>xmlns="http://www.w3.org/2005/05/wsdl"</code></dt><dd><p>This is the  XML namespace for WSDL 2.0 itself.  Because we have not defined a prefix for it, any unprefixed elements or attributes are expected to be WSDL 2.0 elements or attributes (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 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. 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 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="div2">
  <h3><a name="basics-types"></a>2.3 Defining Message Types</h3><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 WSDL 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 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>elemets</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>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
--- 249,253 ----
  <h4><a name="example-empty-shell-explanation"></a>2.2.1 Explanation of Example</h4><p></p><dl><dt class="label"><code>&lt;description</code></dt><dd><p>Every WSDL 2.0 document has a <code>description</code> element as its top-most element.  This merely acts as a container for the rest of the WSDL 2.0 document, and is used to declare namespaces that will be used throughout the document.</p></dd><dt class="label"><code>xmlns="http://www.w3.org/2005/05/wsdl"</code></dt><dd><p>This is the  XML namespace for WSDL 2.0 itself.  Because we have not defined a prefix for it, any unprefixed elements or attributes are expected to be WSDL 2.0 elements or attributes (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 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. 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 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="div2">
  <h3><a name="basics-types"></a>2.3 Defining Message Types</h3><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 WSDL 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 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>elemets</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 style="text-align: left" class="exampleHead"><a name="example-initial-types"></a><i><span>Example 2-3. </span>GreatH Message Types</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
***************
*** 291,295 ****
  				
  				<p>For the GreatH service, we will (initially) define an interface containing a single operation, <code>opCheckAvailability</code>, using  the <code>checkAvailability</code> and <code>checkAvailabilityResponse</code> message types that we defined in the <code>types</code> section.   We'll use the <a href="wsdl20-adjuncts.html#in-out">in-out</a> pattern for this operation, because this is the most natural way to represent a simple request-response interaction.  We could have instead (for example) defined two separate operations using the <a href="wsdl20-adjuncts.html#in-out">in-only</a> and <a href="wsdl20-adjuncts.html#out-only">out-only</a> patterns (see <em>WSDL 2.0 Predefined Extensions</em> [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] section  2.2.1 <a href="wsdl20-adjuncts.html#in-only">In-Only</a> and section  2.2.5 <a href="wsdl20-adjuncts.html#out-only">Out-Only</a>), but that would just complicate matters for the client, because we would then have to separately indicate to the cient developer that the two operations should be used together as a request-response pair.</p><p>In addition to the normal input and output messages, we also need to specify the fault message that we wish to use in the event of an error.  WSDL 2.0 permits fault messages to be declared within the <code>interface</code> element in order to facilitate reuse of faults across operations.   If a fault occurs, it terminates whatever message sequence was indicated by the message exchange pattern of the operation.  </p><p>Let's add these to our WSDL document.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-initial-interface"></a><i><span>Example 2-4. </span>GreatH Interface Definition</i></p>
  					
  				<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
--- 291,295 ----
  				
  				<p>For the GreatH service, we will (initially) define an interface containing a single operation, <code>opCheckAvailability</code>, using  the <code>checkAvailability</code> and <code>checkAvailabilityResponse</code> message types that we defined in the <code>types</code> section.   We'll use the <a href="wsdl20-adjuncts.html#in-out">in-out</a> pattern for this operation, because this is the most natural way to represent a simple request-response interaction.  We could have instead (for example) defined two separate operations using the <a href="wsdl20-adjuncts.html#in-out">in-only</a> and <a href="wsdl20-adjuncts.html#out-only">out-only</a> patterns (see <em>WSDL 2.0 Predefined Extensions</em> [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] section  2.2.1 <a href="wsdl20-adjuncts.html#in-only">In-Only</a> and section  2.2.5 <a href="wsdl20-adjuncts.html#out-only">Out-Only</a>), but that would just complicate matters for the client, because we would then have to separately indicate to the cient developer that the two operations should be used together as a request-response pair.</p><p>In addition to the normal input and output messages, we also need to specify the fault message that we wish to use in the event of an error.  WSDL 2.0 permits fault messages to be declared within the <code>interface</code> element in order to facilitate reuse of faults across operations.   If a fault occurs, it terminates whatever message sequence was indicated by the message exchange pattern of the operation.  </p><p>Let's add these to our WSDL document.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-initial-interface"></a><i><span>Example 2-4. </span>GreatH Interface Definition</i></p>
  					
  				<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
***************
*** 392,396 ****
  			</p>
  			<p>For the GreatH service, we will use SOAP 1.2 as our concrete message format and HTTP as our  underlying transmission protocol, as shown below. </p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-initial-binding"></a><i><span>Example 2-5. </span>GreatH Binding Definition</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
--- 392,396 ----
  			</p>
  			<p>For the GreatH service, we will use SOAP 1.2 as our concrete message format and HTTP as our  underlying transmission protocol, as shown below. </p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-initial-binding"></a><i><span>Example 2-5. </span>GreatH Binding Definition</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
***************
*** 445,449 ****
  <p>When HTTP is used as the underlying transport protocol (as in this example) the <code>wsoap:mep</code> attribute also controls whether GET or POST will be used as the underlying HTTP method. In this case, the use of <code>wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"</code> causes GET to be used by default. See  also  <a href="#adv-get-vs-post"><b>6.7 HTTP GET Versus POST: Which to Use?</b></a>.</p></dd><dt class="label"><code>&lt;fault ref="tns:invalidDataFault"</code></dt><dd><p>As with a binding operation, this is not declaring a new fault; rather, it is referencing a fault (<code>invalidDataFault</code>) that was previously defined in the <code>opCheckAvailability</code> interface, in order to specify binding details for it.</p></dd><dt class="label"><code>wsoap:code="soap:Sender"/&gt;</code></dt><dd><p>This attribute is also specific to WSDL 2.0's SOAP binding extension.       This specifies the SOAP 1.2 fault code that will cause this fault message to be sent.   If desired, a list f subcodes can also be specified using the optional  <code>wsoap:subcodes</code>  attribute.</p></dd></dl></div></div><div class="div2">
  <h3><a name="basics-service"></a>2.6 Defining a Service</h3><p>Now that our binding has specified <em>how</em> messages will be transmitted, we are ready to specify <em>where</em> the service can be accessed, by use of the <code>service</code> element.  </p><p>A WSDL 2.0 <em>service</em> specifies a single interface that the service will support, and  a list of <em>endpoint</em> locations where that service can be accessed.  Each endpoint must also reference a previously defined binding to indicate what protocols and transmission formats are to be used at that endpoint.  A service is only permitted to have one interface.   (See  <a href="#adv-multiple-docs-describing-same-service"><b>7.4 Multiple Interfaces for the Same Service</b></a> for further discussion of this limitation.) </p><p>Here is a definition for our GreatH service.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-initial-service"></a><i><span>Example 2-6. </span>GreatH Service Definition</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
--- 445,449 ----
  <p>When HTTP is used as the underlying transport protocol (as in this example) the <code>wsoap:mep</code> attribute also controls whether GET or POST will be used as the underlying HTTP method. In this case, the use of <code>wsoap:mep="http://www.w3.org/2003/05/soap/mep/soap-response"</code> causes GET to be used by default. See  also  <a href="#adv-get-vs-post"><b>6.7 HTTP GET Versus POST: Which to Use?</b></a>.</p></dd><dt class="label"><code>&lt;fault ref="tns:invalidDataFault"</code></dt><dd><p>As with a binding operation, this is not declaring a new fault; rather, it is referencing a fault (<code>invalidDataFault</code>) that was previously defined in the <code>opCheckAvailability</code> interface, in order to specify binding details for it.</p></dd><dt class="label"><code>wsoap:code="soap:Sender"/&gt;</code></dt><dd><p>This attribute is also specific to WSDL 2.0's SOAP binding extension.       This specifies the SOAP 1.2 fault code that will cause this fault message to be sent.   If desired, a list f subcodes can also be specified using the optional  <code>wsoap:subcodes</code>  attribute.</p></dd></dl></div></div><div class="div2">
  <h3><a name="basics-service"></a>2.6 Defining a Service</h3><p>Now that our binding has specified <em>how</em> messages will be transmitted, we are ready to specify <em>where</em> the service can be accessed, by use of the <code>service</code> element.  </p><p>A WSDL 2.0 <em>service</em> specifies a single interface that the service will support, and  a list of <em>endpoint</em> locations where that service can be accessed.  Each endpoint must also reference a previously defined binding to indicate what protocols and transmission formats are to be used at that endpoint.  A service is only permitted to have one interface.   (See  <a href="#adv-multiple-docs-describing-same-service"><b>7.4 Multiple Interfaces for the Same Service</b></a> for further discussion of this limitation.) </p><p>Here is a definition for our GreatH service.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-initial-service"></a><i><span>Example 2-6. </span>GreatH Service Definition</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
***************
*** 485,489 ****
  				<div class="div2">
  <h3><a name="basics-documentation"></a>2.7 Documenting the Service</h3><p>As we have seen, a WSDL 2.0 document is inherently only a <em>partial</em> description of a service.  Although it captures the basic mechanics of interacting with the service -- the message types, transmission protocols, service location, etc. -- in general, additional documentation will need to explain other application-level requirements for its use.  For example, such documentation should explain the purpose and use of the service, the meanings of all messages, constraints on their use, and the sequence in which operations should be invoked.</p><p>The <code>documentation</code> element allows the WSDL author to include some human-readable documentation inside a WSDL 2.0 document.   It is also a convenient place to reference any additional external documentation that a client developer may need in order to use the service.   It can appear in a number of places in a WSDL 2.0 document (see <a href="#wsdl-infoset-diagram"><b>3.1 WSDL2.0 Infoset</b></a>), though in this example we have only demonstrated its use at the beginning.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-initial-documentation"></a><i><span>Example 2-7. </span>Documenting the GreatH Service</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
--- 485,489 ----
  				<div class="div2">
  <h3><a name="basics-documentation"></a>2.7 Documenting the Service</h3><p>As we have seen, a WSDL 2.0 document is inherently only a <em>partial</em> description of a service.  Although it captures the basic mechanics of interacting with the service -- the message types, transmission protocols, service location, etc. -- in general, additional documentation will need to explain other application-level requirements for its use.  For example, such documentation should explain the purpose and use of the service, the meanings of all messages, constraints on their use, and the sequence in which operations should be invoked.</p><p>The <code>documentation</code> element allows the WSDL author to include some human-readable documentation inside a WSDL 2.0 document.   It is also a convenient place to reference any additional external documentation that a client developer may need in order to use the service.   It can appear in a number of places in a WSDL 2.0 document (see <a href="#wsdl-infoset-diagram"><b>3.1 WSDL2.0 Infoset</b></a>), though in this example we have only demonstrated its use at the beginning.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-initial-documentation"></a><i><span>Example 2-7. </span>Documenting the GreatH Service</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
***************
*** 517,521 ****
  <p>The following diagram gives an overview of  the XML Infoset for a WSDL 2.0 document.
  
! <div style="text-align: center" class="figure"><br><img src="images/WSDL20InfosetModel.png" alt="WSDL 2.0 Infoset Diagram"><p style="text-align:left"><i><span>Figure 3-1. </span>WSDL 2.0 Infoset Diagram</i></p><br></div>
  
  </p>
--- 517,521 ----
  <p>The following diagram gives an overview of  the XML Infoset for a WSDL 2.0 document.
  
! <div class="figure" style="text-align: center"><br><img src="images/WSDL20InfosetModel.png" alt="WSDL 2.0 Infoset Diagram"><p style="text-align:left"><i><span>Figure 3-1. </span>WSDL 2.0 Infoset Diagram</i></p><br></div>
  
  </p>
***************
*** 532,536 ****
  
  <p>The WSDL 2.0 specification supplies a <a href="http://www.w3.org/2005/05/wsdl">normative WSDL 2.0 schema</a>, defined in XML Schema [<cite><a href="#XMLSchemaP1">XML Schema: Structures</a></cite>] [<cite><a href="#XMLSchemaP2">XML Schema: Datatypes</a></cite>], which can be used as an aid in validating WSDL 2.0 documents.  
! <table border="1" summary="Editorial note: KevinL"><tr><td width="50%" valign="top" align="left"><b>Editorial note: KevinL</b></td><td width="50%" valign="top" align="right">20050428</td></tr><tr><td valign="top" align="left" colspan="2">
  						ToDo: update link to wsdl2.0 schema when final uri is available						
  					</td></tr></table>
--- 532,536 ----
  
  <p>The WSDL 2.0 specification supplies a <a href="http://www.w3.org/2005/05/wsdl">normative WSDL 2.0 schema</a>, defined in XML Schema [<cite><a href="#XMLSchemaP1">XML Schema: Structures</a></cite>] [<cite><a href="#XMLSchemaP2">XML Schema: Datatypes</a></cite>], which can be used as an aid in validating WSDL 2.0 documents.  
! <table border="1" summary="Editorial note: KevinL"><tr><td align="left" valign="top" width="50%"><b>Editorial note: KevinL</b></td><td align="right" valign="top" width="50%">20050428</td></tr><tr><td colspan="2" align="left" valign="top">
  						ToDo: update link to wsdl2.0 schema when final uri is available						
  					</td></tr></table>
***************
*** 624,628 ****
  <h3><a name="component-model"></a>3.3 WSDL 2.0 Component Model</h3><p>The WSDL 2.0 Infoset model above illustrates the required structure of a WSDL 2.0 document, using the XML Infoset.  However, the WSDL 2.0 language also imposes many semantic constraints over and above structural conformance to this XML Infoset. In order to precisely describe these constraints, and as  an aid in precisely defining the meaning of each WSDL 2.0 document, the WSDL 2.0 specification defines a <em>component model</em>  as an additional layer of abstraction above the XML Infoset.  Constraints and meaning are defined in terms of this component model, and the definition of each component includes a mapping that specifies how values in the component model are derived from corresponding items in the XML Infoset.   The following diagram gives an overview of  the WSDL 2.0 components and their containment hiearchy.
  
!  <div style="text-align: center" class="figure"><br><img src="images/WSDL20Components.png" alt="WSDL 2.0 Components Containment Hiearchy"><p style="text-align:left"><i><span>Figure 3-2. </span>WSDL 2.0 Components Containment Hiearchy</i></p><br></div></p>
  
  
--- 624,628 ----
  <h3><a name="component-model"></a>3.3 WSDL 2.0 Component Model</h3><p>The WSDL 2.0 Infoset model above illustrates the required structure of a WSDL 2.0 document, using the XML Infoset.  However, the WSDL 2.0 language also imposes many semantic constraints over and above structural conformance to this XML Infoset. In order to precisely describe these constraints, and as  an aid in precisely defining the meaning of each WSDL 2.0 document, the WSDL 2.0 specification defines a <em>component model</em>  as an additional layer of abstraction above the XML Infoset.  Constraints and meaning are defined in terms of this component model, and the definition of each component includes a mapping that specifies how values in the component model are derived from corresponding items in the XML Infoset.   The following diagram gives an overview of  the WSDL 2.0 components and their containment hiearchy.
  
!  <div class="figure" style="text-align: center"><br><img src="images/WSDL20Components.png" alt="WSDL 2.0 Components Containment Hiearchy"><p style="text-align:left"><i><span>Figure 3-2. </span>WSDL 2.0 Components Containment Hiearchy</i></p><br></div></p>
  
  
***************
*** 641,650 ****
  		<p>The WSDL 2.0 <code>types</code> element provides a mechanism for enclosing message schemas in a WSDL 2.0 document.  Because WSDL 2.0 directly supports schemas written in XML Schema
  [<cite><a href="#XMLSchemaP1">XML Schema: Structures</a></cite>], we will focus here on the use of XML Schema to define message types.  Schemas written in other type definition languages must be defined using a WSDL 2.0 language extension.  For examples of other schema languages, see WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>] Appendix E "<a href="wsdl20.html#other-schemalang">Examples of Specifications of Extension Elements for Alternative Schema Language Support. (Non-Normative)</a>".  
!  <table border="1" summary="Editorial note: dbooth"><tr><td width="50%" valign="top" align="left"><b>Editorial note: dbooth</b></td><td width="50%" valign="top" align="right">2005-04-13</td></tr><tr><td valign="top" align="left" colspan="2">ToDo: Update the above reference to appendix E, as the WG decided to move it to a separate document.</td></tr></table></p>
  		
  			
! 			<table border="1" summary="Editorial note: dbooth"><tr><td width="50%" valign="top" align="left"><b>Editorial note: dbooth</b></td><td width="50%" valign="top" align="right">2005-04-13</td></tr><tr><td valign="top" align="left" colspan="2">ToDo: Check the sections below on import and include mechanisms for correctness.  (Be sure to check the table also.)   I'm not sure I got them all right.</td></tr></table><p>There are two ways to indicate XML Schema message definitions using the <code>types</code> element. One way is to embed schema definitions within <code>xs:schema</code> elements that are children of <code>types</code>, as we have already seen.  The other way is to use <code>xs:import</code> directly under <code>types</code>. It is perfectly reasonable to use both ways in one WSDL document.</p>
  			 
! 			<p>A WSDL <code>description</code> must NOT refer to XML Schema components that are neither imported nor embedded into that WSDL <code>description</code>. In other words, the use of <code>xs:import</code> and/or <code>xs:schema</code> is a necessary condition for making XML Schema components available to a WSDL Description component. </p>
  
  			<p>The following XML syntax for the <code>types</code> element illustrates the use of <code>xs:import</code> and <code>xs:schema</code>:</p>
--- 641,652 ----
  		<p>The WSDL 2.0 <code>types</code> element provides a mechanism for enclosing message schemas in a WSDL 2.0 document.  Because WSDL 2.0 directly supports schemas written in XML Schema
  [<cite><a href="#XMLSchemaP1">XML Schema: Structures</a></cite>], we will focus here on the use of XML Schema to define message types.  Schemas written in other type definition languages must be defined using a WSDL 2.0 language extension.  For examples of other schema languages, see WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>] Appendix E "<a href="wsdl20.html#other-schemalang">Examples of Specifications of Extension Elements for Alternative Schema Language Support. (Non-Normative)</a>".  
!  <table border="1" summary="Editorial note: dbooth"><tr><td align="left" valign="top" width="50%"><b>Editorial note: dbooth</b></td><td align="right" valign="top" width="50%">2005-04-13</td></tr><tr><td colspan="2" align="left" valign="top">ToDo: Update the above reference to appendix E, as the WG decided to move it to a separate document.</td></tr></table></p>
  		
  			
! 			<table border="1" summary="Editorial note: dbooth"><tr><td align="left" valign="top" width="50%"><b>Editorial note: dbooth</b></td><td align="right" valign="top" width="50%">2005-04-13</td></tr><tr><td colspan="2" align="left" valign="top">ToDo: Check the sections below on import and include mechanisms for correctness.  (Be sure to check the table also.)   I'm not sure I got them all right.</td></tr></table><p>There are two ways to indicate XML Schema message definitions using the <code>types</code> element. 
! 			One way is to inline schema definitions within <code>xs:schema</code> elements that are children of <code>types</code>, as we have already seen.  The other way is to use <code>xs:import</code> directly under <code>types</code>. It is perfectly reasonable to use both ways in one WSDL document.</p>
  			 
! 			<p>A WSDL <code>description</code> must NOT refer to XML Schema components that are neither imported nor 
! 			inlined into that WSDL <code>description</code>. In other words, the use of <code>xs:import</code> and/or <code>xs:schema</code> is a necessary condition for making XML Schema components available to a WSDL Description component. </p>
  
  			<p>The following XML syntax for the <code>types</code> element illustrates the use of <code>xs:import</code> and <code>xs:schema</code>:</p>
***************
*** 662,671 ****
  			<div class="div2">
  				
! <h3><a name="more-types-schema-embed"></a>4.1 Embedding XML Schema</h3>
! 				<p>We have already seen an example of using embedded schema definitions in section <a href="#basics-types"><b>2.3 Defining Message Types</b></a>, so we will merely add a few additional points here. </p><p>When XML Schema is embedded directly in a WSDL 2.0 document, it uses the existing top-level <code>xs:schema</code> element defined by XML Schema [<cite><a href="#XMLSchemaP1">XML Schema: Structures</a></cite>] to do so, as though the schema had been copied and pasted into the <code>types</code> element. The schema components defined in the embedded schema are then available to
  WSDL for reference by QName (see WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>] "<a href="wsdl20.html#qnameres">QName Resolution</a>"). </p>
! 				<p>Although WSDL 2.0 provides a <code>wsdl:import</code> mechanism (described in the next section), an embedded XML schema may also use XML Schema's native <code>xs:import</code> and <code>xs:include</code>
! elements  to refer to schemas either in separate files or embedded in the same
! WSDL 2.0 document. However,  components embedded using <code>xs:import</code> have different visibility from those embedded using  <code>xs:include</code>: <code>xs:include</code>d components are available to WSDL for reference by QName, but <code>xs:import</code>ed components are not.</p>
  
  				
--- 664,677 ----
  			<div class="div2">
  				
! <h3><a name="more-types-schema-inline"></a>4.1 Inlining XML Schema</h3>
! 				<p>We have already seen an example of using inlined schema definitions in section <a href="#basics-types"><b>2.3 Defining Message Types</b></a>, so we will merely add a few additional points here. </p>
! 				<p>When XML Schema is inlined directly in a WSDL 2.0 document, it uses the existing top-level <code>xs:schema</code> element defined by XML Schema [<cite><a href="#XMLSchemaP1">XML Schema: Structures</a></cite>] to do so, as though the schema had been copied and pasted into the <code>types</code> element. 
! 				The schema components defined in the inlined schema are then available to
  WSDL for reference by QName (see WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>] "<a href="wsdl20.html#qnameres">QName Resolution</a>"). </p>
! 				<p>Although WSDL 2.0 provides a <code>wsdl:import</code> mechanism (described in the next section), 
! 				an inlined XML schema may also use XML Schema's native <code>xs:import</code> and <code>xs:include</code>
! elements  to refer to schemas either in separate files or inlined in the same
! WSDL 2.0 document. However,  components inlined using <code>xs:import</code> have different visibility from those 
! inlined using  <code>xs:include</code>: <code>xs:include</code>d components are available to WSDL for reference by QName, but <code>xs:import</code>ed components are not.</p>
  
  				
***************
*** 676,690 ****
  				
  <h3><a name="more-types-schema-import"></a>4.2 Importing XML Schema</h3>
! 				<p>	There are many cases where one would prefer importing schema definitions from separate schema files instead of embedding them directly under the <code>types</code> element. One reason is reusability of the schemas.  Although WSDL 2.0 provides a <code>wsdl:import</code> mechanism, type and element declarations embedded in a WSDL 2.0 document are NOT automatically made available to the importing document, even though other WSDL 2.0 components (such as Interfaces, Bindings, etc.) do become available.   Therefore, if one wishes to share schema documents across several WSDL 2.0 documents, they should instead be placed in separate XML Schema documents and imported into each WSDL 2.0 document using <code>xs:import</code> directly under <code>types</code>. </p>
  
  				
  				<p>The <code>xs:import</code> mechanism is not transitive.  Only components defined in the imported schema itself and components the schema includes via <code>xs:include</code> are available to the containing WSDL document. Specifically, components that the schema imports via <code>xs:import</code> are NOT available to WSDL.  </p>
  				
! 				<table border="1" summary="Editorial note: dbooth"><tr><td width="50%" valign="top" align="left"><b>Editorial note: dbooth</b></td><td width="50%" valign="top" align="right">2005-04-13</td></tr><tr><td valign="top" align="left" colspan="2">Check this.  An issue was recently raised about import not being transitive.</td></tr></table>
  				
  				
  				<p>Here is an example of importing a schema. Assuming the message types in <a href="#example-initial-types">Example 2-3</a> are defined in a separate schema file named "http://greath.example.com/2004/schemas/resSvc.xsd" with a target namespace "http://greath.example.com/2004/schemas/resSvc",  the schema definition can then be imported into the WSDL as follows:  </p>
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-schema-import"></a><i><span>Example 4-1. </span>Example of Importing Message Definitions</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
--- 682,698 ----
  				
  <h3><a name="more-types-schema-import"></a>4.2 Importing XML Schema</h3>
! 				<p>	There are many cases where one would prefer importing schema definitions from separate schema files instead of 
! 				inlining them directly under the <code>types</code> element. One reason is reusability of the schemas.  Although WSDL 2.0 provides a <code>wsdl:import</code> mechanism, 
! 				type and element declarations inlined in a WSDL 2.0 document are NOT automatically made available to the importing document, even though other WSDL 2.0 components (such as Interfaces, Bindings, etc.) do become available.   Therefore, if one wishes to share schema documents across several WSDL 2.0 documents, they should instead be placed in separate XML Schema documents and imported into each WSDL 2.0 document using <code>xs:import</code> directly under <code>types</code>. </p>
  
  				
  				<p>The <code>xs:import</code> mechanism is not transitive.  Only components defined in the imported schema itself and components the schema includes via <code>xs:include</code> are available to the containing WSDL document. Specifically, components that the schema imports via <code>xs:import</code> are NOT available to WSDL.  </p>
  				
! 				<table border="1" summary="Editorial note: dbooth"><tr><td align="left" valign="top" width="50%"><b>Editorial note: dbooth</b></td><td align="right" valign="top" width="50%">2005-04-13</td></tr><tr><td colspan="2" align="left" valign="top">Check this.  An issue was recently raised about import not being transitive.</td></tr></table>
  				
  				
  				<p>Here is an example of importing a schema. Assuming the message types in <a href="#example-initial-types">Example 2-3</a> are defined in a separate schema file named "http://greath.example.com/2004/schemas/resSvc.xsd" with a target namespace "http://greath.example.com/2004/schemas/resSvc",  the schema definition can then be imported into the WSDL as follows:  </p>
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-schema-import"></a><i><span>Example 4-1. </span>Example of Importing Message Definitions</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
***************
*** 778,785 ****
  				<p>The optional <code>extends</code>  attribute allows an interface to extend or inherit from one or more other interfaces. In such cases the interface contains the operations of the interfaces it extends, along with any operations it defines directly. Two things about extending interfaces deserve some attention. </p><p>First,  an inheritance loop (or infinite recursion) is prohibited: the interfaces that a given interface extends must NOT themselves extend that interface either directly or indirectly.  </p><p>Second, we must explain what happens when operations from two different interfaces have the same target namespace and operation name.  There are two cases: either the component models of the operations are the same, or they are different.  If the component models are the same (per the component comparison algorithm defined in WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>]  "<a href="wsdl20.html#compequiv">Equivalence of Components</a>") then they are considered t be the same operation, i.e., they are collapsed into a single operation, and the fact that they were included more than once is not considered an error.  (For operations, component equivalence basically means that the two operations have the same set of attributes and descendents.)  In the second case, if two operations have the same name in the same WSDL target namespace but are not equivalent, then it is an error.  For the above reason, it is considered good practice to ensure that all operations within the same target namespace are named uniquely. </p><p>Finally, since faults, features and properties can also be defined as children of  the <code>interface</code> element (as described in the following sections), the same name-collision rules apply to those constructs. </p>
  				
! <p>Let's say the GreatH hotel wants to maintain a a standard message log operation for all received messages. It wants this operation to be reusable across the whole reservation system, so each service will send out,  for potential use of a logging service, the content of of each message it receives together with a timestamp and the originator of the message. One way to meet such requirement is to define the log operation in an interface which can be inherited by other interfaces. Assuming a <code>messageLog</code> element is already defined in the ghns namespace with the required content, the inheritance use case is illustrated in the following example. As a result of the inheritance, the <code>reservationInterface</code> now contains two operations: <code>opCheckAvailability</code> and <code>opLogMessage</code></p>
  
  <div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-faults"></a><i><span>Example 5-1. </span>Interface Inheritance</i></p>
  				<div class="exampleInner"><pre>
  					
--- 786,794 ----
  				<p>The optional <code>extends</code>  attribute allows an interface to extend or inherit from one or more other interfaces. In such cases the interface contains the operations of the interfaces it extends, along with any operations it defines directly. Two things about extending interfaces deserve some attention. </p><p>First,  an inheritance loop (or infinite recursion) is prohibited: the interfaces that a given interface extends must NOT themselves extend that interface either directly or indirectly.  </p><p>Second, we must explain what happens when operations from two different interfaces have the same target namespace and operation name.  There are two cases: either the component models of the operations are the same, or they are different.  If the component models are the same (per the component comparison algorithm defined in WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>]  "<a href="wsdl20.html#compequiv">Equivalence of Components</a>") then they are considered t be the same operation, i.e., they are collapsed into a single operation, and the fact that they were included more than once is not considered an error.  (For operations, component equivalence basically means that the two operations have the same set of attributes and descendents.)  In the second case, if two operations have the same name in the same WSDL target namespace but are not equivalent, then it is an error.  For the above reason, it is considered good practice to ensure that all operations within the same target namespace are named uniquely. </p><p>Finally, since faults, features and properties can also be defined as children of  the <code>interface</code> element (as described in the following sections), the same name-collision rules apply to those constructs. </p>
  				
! <p>Let's say the GreatH hotel wants to maintain a a standard message log operation for all received messages. It wants this operation to be reusable across the whole reservation system, so each service will send out,  for potential use of a logging service, 
! the content of each message it receives together with a timestamp and the originator of the message. One way to meet such requirement is to define the log operation in an interface which can be inherited by other interfaces. Assuming a <code>messageLog</code> element is already defined in the ghns namespace with the required content, the inheritance use case is illustrated in the following example. As a result of the inheritance, the <code>reservationInterface</code> now contains two operations: <code>opCheckAvailability</code> and <code>opLogMessage</code></p>
  
  <div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-faults"></a><i><span>Example 5-1. </span>Interface Inheritance</i></p>
  				<div class="exampleInner"><pre>
  					
***************
*** 863,867 ****
  					<li><p>RPC Style.The RPC style is selected when the <code>style</code>  is assigned the value http://www.w3.org/2005/05/wsdl/style/rpc. It places restrictions for Remote Procedure Call-types of interactions. </p></li>
  					<li><p>URI Style. The URI style is selected when the <code>style</code>  is assigned the value http://www.w3.org/2005/05/wsdl/style/uri. It places restrictions on message definitions so they may be serialized into something like HTTP URL encoded.</p></li>
! 					<li><p>The Multipart style. The Multipart style is selected when the <code>style</code>  is assigned the value http://www.w3.org/2005/05/wsdl/style/multipart. In http binding, for Xform clients, an message must be defined following the Multipart style and serialized as "Multipart/form-data". </p> </li>
  				</ul>	
  						
--- 872,876 ----
  					<li><p>RPC Style.The RPC style is selected when the <code>style</code>  is assigned the value http://www.w3.org/2005/05/wsdl/style/rpc. It places restrictions for Remote Procedure Call-types of interactions. </p></li>
  					<li><p>URI Style. The URI style is selected when the <code>style</code>  is assigned the value http://www.w3.org/2005/05/wsdl/style/uri. It places restrictions on message definitions so they may be serialized into something like HTTP URL encoded.</p></li>
! 					<li><p>The Multipart style. The Multipart style is selected when the <code>style</code>  is assigned the value http://www.w3.org/2005/05/wsdl/style/multipart. In the HTTP binding, for XForm clients, a message must be defined following the Multipart style and serialized as "Multipart/form-data". </p> </li>
  				</ul>	
  						
***************
*** 874,882 ****
  					</li>
  				</ul></div><div class="div3">
! <h4><a name="N108FB"></a>5.4.2 Operation Message References</h4><p>An <code>operation</code> will also have <code>input</code>, <code>output</code>,<code>infault</code>, and/or <code>outfault</code> element children that specify the ordinary and fault message types to be used by that operation.  The MEP specified by the <code>pattern</code> attribute determines which of these  elements should be included, since each MEP has placeholders for the message types involved in its pattern.     </p><p>Since operations were already discussed in <a href="#basics-interface"><b>2.4 Defining an Interface</b></a>, this section will merely comment on additional capabilities that were not previously explained.</p>
  				<div class="div4">
! <h5><a name="N10918"></a>5.4.2.1 The messageLabel Attribute</h5><p>The <code>messageLabel</code>  attribute of  the <code>input</code> and <code>output</code> elements is optional. It is not necessary to explicitly set the <code>messageLabel</code> when the MEP in use is one of the eight MEPs predefined in WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] and it has only one message with a given direction. </p></div><div class="div4">
! <h5><a name="N1092C"></a>5.4.2.2 The element Attribute</h5><p>The <code>element</code>  attribute of the <code>input</code> and <code>output</code> elements is used to specify the message content schema (a/k/a payload schema) when the content model is defined using XML Schema.  As we have seen already, it can specify the QName of an element schema that was defined in the <code>types</code> section.  However, alternatively it can specify one of the following tokens: </p><dl><dt class="label"><code>#any</code></dt><dd><p>The message content is any single element.</p></dd><dt class="label"><code>#none</code></dt><dd><p>There is no message content, i.e., the message payload is empty.</p></dd></dl><p>The <code>element</code> attribute is also optional.  If it is not specified, then @@@@. <table border="1" summary="Editorial note"><tr><td width="50%" valign="top" align="left"><b>Editorial note</b></td><td width="50%" valign="top" align="right">&nbsp;</td></tr><tr><td valign="top" align="left" colspan="2">ToDo: ay what happens if the element attribute is not specified, after issue LC99 is resolved.  See http://www.w3.org/2002/ws/desc/4/lc-issues/issues.html#LC99 </td></tr></table></p></div><div class="div4">
! <h5><a name="N10953"></a>5.4.2.3 Multiple infault or outfault Elements</h5><p>When <code>infault</code> and/or <code>outfault</code> occur multiple times within an <code>operation</code>, they define alternative fault messages. </p></div></div>
  			
  			
--- 883,891 ----
  					</li>
  				</ul></div><div class="div3">
! <h4><a name="N67836"></a>5.4.2 Operation Message References</h4><p>An <code>operation</code> will also have <code>input</code>, <code>output</code>,<code>infault</code>, and/or <code>outfault</code> element children that specify the ordinary and fault message types to be used by that operation.  The MEP specified by the <code>pattern</code> attribute determines which of these  elements should be included, since each MEP has placeholders for the message types involved in its pattern.     </p><p>Since operations were already discussed in <a href="#basics-interface"><b>2.4 Defining an Interface</b></a>, this section will merely comment on additional capabilities that were not previously explained.</p>
  				<div class="div4">
! <h5><a name="N67865"></a>5.4.2.1 The messageLabel Attribute</h5><p>The <code>messageLabel</code>  attribute of  the <code>input</code> and <code>output</code> elements is optional. It is not necessary to explicitly set the <code>messageLabel</code> when the MEP in use is one of the eight MEPs predefined in WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] and it has only one message with a given direction. </p></div><div class="div4">
! <h5><a name="N67885"></a>5.4.2.2 The element Attribute</h5><p>The <code>element</code>  attribute of the <code>input</code> and <code>output</code> elements is used to specify the message content schema (aka payload schema) when the content model is defined using XML Schema.  As we have seen already, it can specify the QName of an element schema that was defined in the <code>types</code> section.  However, alternatively it can specify one of the following tokens: </p><dl><dt class="label"><code>#any</code></dt><dd><p>The message content is any single element.</p></dd><dt class="label"><code>#none</code></dt><dd><p>There is no message content, i.e., the message payload is empty.</p></dd></dl><p>The <code>element</code> attribute is also optional.  If it is not specified, then @@@@. <table border="1" summary="Editorial note"><tr><td align="left" valign="top" width="50%"><b>Editorial note</b></td><td align="right" valign="top" width="50%">&nbsp;</td></tr><tr><td colspan="2" align="left" valign="top">ToDo: Sa what happens if the element attribute is not specified, after issue LC99 is resolved.  See http://www.w3.org/2002/ws/desc/4/lc-issues/issues.html#LC99 </td></tr></table></p></div><div class="div4">
! <h5><a name="N67924"></a>5.4.2.3 Multiple infault or outfault Elements</h5><p>When <code>infault</code> and/or <code>outfault</code> occur multiple times within an <code>operation</code>, they define alternative fault messages. </p></div></div>
  			
  			
***************
*** 897,901 ****
  		
  <div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-outbound-operation"></a><i><span>Example 5-2. </span>Use of outbound MEPs</i></p>
  				<div class="exampleInner"><pre>
  					
--- 906,910 ----
  		
  <div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-outbound-operation"></a><i><span>Example 5-2. </span>Use of outbound MEPs</i></p>
  				<div class="exampleInner"><pre>
  					
***************
*** 921,925 ****
  <h4><a name="more-interfaces-defining-meps"></a>5.4.4 Defining New Message Exchange Patterns (MEPs)</h4><p>Although the eight MEPs defined in WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] are intended to cover most use cases, WSDL 2.0 has designed this set to be extensible.  This is why MEPs are identified by URIs rather than a fixed set of  tokens.  Here are the general steps for defining a new MEP.
  
! <table border="1" summary="Editorial note: KevinL"><tr><td width="50%" valign="top" align="left"><b>Editorial note: KevinL</b></td><td width="50%" valign="top" align="right">20050519</td></tr><tr><td valign="top" align="left" colspan="2">
  						This section is subject to change. The WG has decided to add a template for defining new MEPs in part 2, and provide an example here.
  					</td></tr></table>
--- 930,934 ----
  <h4><a name="more-interfaces-defining-meps"></a>5.4.4 Defining New Message Exchange Patterns (MEPs)</h4><p>Although the eight MEPs defined in WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] are intended to cover most use cases, WSDL 2.0 has designed this set to be extensible.  This is why MEPs are identified by URIs rather than a fixed set of  tokens.  Here are the general steps for defining a new MEP.
  
! <table border="1" summary="Editorial note: KevinL"><tr><td align="left" valign="top" width="50%"><b>Editorial note: KevinL</b></td><td align="right" valign="top" width="50%">20050519</td></tr><tr><td colspan="2" align="left" valign="top">
  						This section is subject to change. The WG has decided to add a template for defining new MEPs in part 2, and provide an example here.
  					</td></tr></table>
***************
*** 946,950 ****
  <h2><a name="more-bindings"></a>6. More on Bindings</h2>
  			
! 			<p>Bindings are used to supply protocol and encoding details that specify <em>how</em> messages are to be sent or received.   Each <code>binding</code> element uses a particular <em>binding extension</em> to specify such information.  WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] defines several binding extensions that are typically used.  However, binding extensions that are not defined in WSDL 2.0 Part 2 can also be used, provided that client and service toolkits support them.</p><p>Binding information must be supplied for every operation in an interface that is used in an endpoint.  However, if the desired binding extension provides suitable defaulting rules, then the information will only need to be explicitly supplied at the interface level, and the defaulting rules will implicitly propagate the information to the operations of the interface.   For example, see the SOAP binding extension in  WSDL 2.0 Part 2 
    [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>]
    section 4.3
--- 955,959 ----
  <h2><a name="more-bindings"></a>6. More on Bindings</h2>
  			
! 			<p>Bindings are used to supply protocol and encoding details that specify <em>how</em> messages are to be sent or received.   Each <code>binding</code> element uses a particular <em>binding extension</em> to specify such information.  WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] defines several binding extensions that are typically used.  However, binding extensions that are not defined in WSDL 2.0 Part 2 can also be used, provided that client and service toolkits support them.</p><p>Binding information must be supplied for every operation in the interface that is used in an endpoint.  However, if the desired binding extension provides suitable defaulting rules, then the information will only need to be explicitly supplied at the interface level, and the defaulting rules will implicitly propagate the information to the operations of the interface.   For example, see the SOAP binding extension in  WSDL 2.0 Part 2 
    [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>]
    section 4.3
***************
*** 993,999 ****
  				
  <h3><a name="bindingOperations"></a>6.4 Binding Operations</h3>
! 				<p>A binding <code>operation</code> describes a concrete binding of a particular 
! operation of an interface to a particular concrete message format.  A particular 
! operation of an interface is uniquely identified by the WSDL target namespace of the 
  interface and the name of the operation within that interface, via the required <code>ref</code>  attribute of binding <code>operation</code>. As with faults, for each <code>operation</code> within a <code>binding</code>, the value of the  <code>ref</code>  attribute must be unique.</p>
  				
--- 1002,1008 ----
  				
  <h3><a name="bindingOperations"></a>6.4 Binding Operations</h3>
! 				<p>A binding <code>operation</code> describes a concrete binding of an interface
! operation to a concrete message format.  An interface
! operation is uniquely identified by the WSDL target namespace of the 
  interface and the name of the operation within that interface, via the required <code>ref</code>  attribute of binding <code>operation</code>. As with faults, for each <code>operation</code> within a <code>binding</code>, the value of the  <code>ref</code>  attribute must be unique.</p>
  				
***************
*** 1012,1016 ****
  					
  				<p>The WSDL 2.0 SOAP Binding Extension (see WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>])   was primarily designed to support the features of SOAP 1.2 [<cite><a href="#SOAP12-PART1">SOAP 1.2 Part 1: Messaging Framework</a></cite>].  However, for backwards compatibility, it also provides some support for SOAP 1.1 [<cite><a href="#SOAP11">SOAP 1.1</a></cite>].     </p><p>An example using the WSDL 2.0 SOAP binding extension was already presented in <a href="#basics-binding"><b>2.5 Defining a Binding</b></a>, but some additional points are worth mentioning:<ul><li><p>Because the same binding extension is used for both SOAP 1.2 and SOAP 1.1, a <code>wsoap:version</code> attribute is provided to allow you to indicate which version of SOAP you want.  If this attribute is not specified, it defaults to SOAP 1.2.</p></li><li><p>The WSDL 2.0 SOAP binding extension defines a set of default rules, so that bindings can be specified at the interface level or at the operation level (or bth), with the operation level taking precedence.   However, it does not define default binding rules for faults. Thus, if a given interface defines any faults, then corresponding binding information must be explicitly provided for each such fault.</p></li><li><p>If HTTP is used as the underlying protocol, then the binding can (and should) control whether each operation will  use HTTP GET or POST.  (See    <a href="#adv-get-vs-post"><b>6.7 HTTP GET Versus POST: Which to Use?</b></a>.)</p></li></ul></p><p>Here is an example that illustrates both a SOAP 1.2 binding (as seen before) and a SOAP 1.1 binding.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-binding-soap"></a><i><span>Example 6-1. </span>SOAP 1.2 and SOAP 1.1 Bindings</i></p>
  
  <div class="exampleInner"><pre>
--- 1021,1025 ----
  					
  				<p>The WSDL 2.0 SOAP Binding Extension (see WSDL 2.0 Part 2 [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>])   was primarily designed to support the features of SOAP 1.2 [<cite><a href="#SOAP12-PART1">SOAP 1.2 Part 1: Messaging Framework</a></cite>].  However, for backwards compatibility, it also provides some support for SOAP 1.1 [<cite><a href="#SOAP11">SOAP 1.1</a></cite>].     </p><p>An example using the WSDL 2.0 SOAP binding extension was already presented in <a href="#basics-binding"><b>2.5 Defining a Binding</b></a>, but some additional points are worth mentioning:<ul><li><p>Because the same binding extension is used for both SOAP 1.2 and SOAP 1.1, a <code>wsoap:version</code> attribute is provided to allow you to indicate which version of SOAP you want.  If this attribute is not specified, it defaults to SOAP 1.2.</p></li><li><p>The WSDL 2.0 SOAP binding extension defines a set of default rules, so that bindings can be specified at the interface level or at the operation level (or bth), with the operation level taking precedence.   However, it does not define default binding rules for faults. Thus, if a given interface defines any faults, then corresponding binding information must be explicitly provided for each such fault.</p></li><li><p>If HTTP is used as the underlying protocol, then the binding can (and should) control whether each operation will  use HTTP GET or POST.  (See    <a href="#adv-get-vs-post"><b>6.7 HTTP GET Versus POST: Which to Use?</b></a>.)</p></li></ul></p><p>Here is an example that illustrates both a SOAP 1.2 binding (as seen before) and a SOAP 1.1 binding.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-binding-soap"></a><i><span>Example 6-1. </span>SOAP 1.2 and SOAP 1.1 Bindings</i></p>
  
  <div class="exampleInner"><pre>
***************
*** 1086,1090 ****
  				<p>In addition to the WSDL 2.0 SOAP binding extension described above, WSDL 2.0 Part 2  [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] defines a binding extension for HTTP 1.1 [<cite><a href="#RFC2616">IETF RFC 2616</a></cite>] and HTTPS [<cite><a href="#RFC2818">IETF RFC 2818</a></cite>], so that these protocols can be used natively to send and receive messages, without first encoding them in SOAP.</p><p>The HTTP binding extension provides many features to control:<ul><li><p> Which HTTP operation will be used.  (GET, PUT, POST, DELETE, and other HTTP operations are supported.)</p></li><li><p>Input, output and fault serialization</p></li><li><p>Transfer codings</p></li><li><p>Authentication requirements</p></li><li><p>Cookies</p></li><li><p>HTTP over TLS (https)</p></li></ul></p><p>As with the WSDL 2.0 SOAP binding extension, the HTTP binding extension also provides defaulting rules to permit binding information to be specified at the interface level and used by default for each operation n the affected interface, however, defaulting rules are not provided for binding faults.</p><p>Here is an example of using the HTTP binding extension to check hotel room 
  availability at GreatH.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-bindings-http"></a><i><span>Example 6-2. </span>HTTP Binding Extension</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
--- 1095,1099 ----
  				<p>In addition to the WSDL 2.0 SOAP binding extension described above, WSDL 2.0 Part 2  [<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>] defines a binding extension for HTTP 1.1 [<cite><a href="#RFC2616">IETF RFC 2616</a></cite>] and HTTPS [<cite><a href="#RFC2818">IETF RFC 2818</a></cite>], so that these protocols can be used natively to send and receive messages, without first encoding them in SOAP.</p><p>The HTTP binding extension provides many features to control:<ul><li><p> Which HTTP operation will be used.  (GET, PUT, POST, DELETE, and other HTTP operations are supported.)</p></li><li><p>Input, output and fault serialization</p></li><li><p>Transfer codings</p></li><li><p>Authentication requirements</p></li><li><p>Cookies</p></li><li><p>HTTP over TLS (https)</p></li></ul></p><p>As with the WSDL 2.0 SOAP binding extension, the HTTP binding extension also provides defaulting rules to permit binding information to be specified at the interface level and used by default for each operation n the affected interface, however, defaulting rules are not provided for binding faults.</p><p>Here is an example of using the HTTP binding extension to check hotel room 
  availability at GreatH.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-bindings-http"></a><i><span>Example 6-2. </span>HTTP Binding Extension</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
***************
*** 1116,1121 ****
  				</div>
  			<div class="div3">
! <h4><a name="N10B26"></a>6.6.1 Explanation of
! 			Example</h4><table border="1" summary="Editorial note: dbooth"><tr><td width="50%" valign="top" align="left"><b>Editorial note: dbooth</b></td><td width="50%" valign="top" align="right">2005-04-15</td></tr><tr><td valign="top" align="left" colspan="2">ToDo: Check this section.  I'm not sure I got it all right, particularly regarding whttp:location.  Is the first sample request URI correct? Shouldn't instance data for tCheckAvailability be in the path component?  What happens if a non-leaf element type is specified, such as tCheckAvailability?</td></tr></table><p></p><dl>
  <dt class="label"><code>type="http://www.w3.org/2005/05/wsdl/http"</code></dt>
  <dd>
--- 1125,1130 ----
  				</div>
  			<div class="div3">
! <h4><a name="N68391"></a>6.6.1 Explanation of
! 			Example</h4><table border="1" summary="Editorial note: dbooth"><tr><td align="left" valign="top" width="50%"><b>Editorial note: dbooth</b></td><td align="right" valign="top" width="50%">2005-04-15</td></tr><tr><td colspan="2" align="left" valign="top">ToDo: Check this section.  I'm not sure I got it all right, particularly regarding whttp:location.  Is the first sample request URI correct? Shouldn't instance data for tCheckAvailability be in the path component?  What happens if a non-leaf element type is specified, such as tCheckAvailability?</td></tr></table><p></p><dl>
  <dt class="label"><code>type="http://www.w3.org/2005/05/wsdl/http"</code></dt>
  <dd>
***************
*** 1130,1134 ****
  
  <p>Here is an alternate example that serializes appends "/" to the type name in order to serialize the remaining instance data into the message body:</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-bindings-http-path-subsset"></a><i><span>Example 6-3. </span>Serializing a Subset of Types in the Path</i></p>
  					<div class="exampleInner"><pre>
  
--- 1139,1143 ----
  
  <p>Here is an alternate example that serializes appends "/" to the type name in order to serialize the remaining instance data into the message body:</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-bindings-http-path-subsset"></a><i><span>Example 6-3. </span>Serializing a Subset of Types in the Path</i></p>
  					<div class="exampleInner"><pre>
  
***************
*** 1171,1175 ****
  <h3><a name="adv-FP"></a>7.2 Features and Properties</h3>
  
! 							<table border="1" summary="Editorial note: KevinL"><tr><td width="50%" valign="top" align="left"><b>Editorial note: KevinL</b></td><td width="50%" valign="top" align="right">20050519</td></tr><tr><td valign="top" align="left" colspan="2">
  						The section is subject to change. Pending on the resolution of the minority opinions filed about Feature and Property.
  					</td></tr></table>
--- 1180,1184 ----
  <h3><a name="adv-FP"></a>7.2 Features and Properties</h3>
  
! 							<table border="1" summary="Editorial note: KevinL"><tr><td align="left" valign="top" width="50%"><b>Editorial note: KevinL</b></td><td align="right" valign="top" width="50%">20050519</td></tr><tr><td colspan="2" align="left" valign="top">
  						The section is subject to change. Pending on the resolution of the minority opinions filed about Feature and Property.
  					</td></tr></table>
***************
*** 1178,1182 ****
  			<div class="div3">
  <h4><a name="adv-FP-soap-modules"></a>7.2.1 SOAP Modules</h4><p>The first step GreatH takes is to require the usage of the SOAP module in their normal SOAP/HTTP endpoint, which looks like this:</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-fp-requiring-soap-module"></a><i><span>Example 7-1. </span>Requiring a SOAP Module in an Endpoint</i></p>
  					<div class="exampleInner"><pre>
  
--- 1187,1191 ----
  			<div class="div3">
  <h4><a name="adv-FP-soap-modules"></a>7.2.1 SOAP Modules</h4><p>The first step GreatH takes is to require the usage of the SOAP module in their normal SOAP/HTTP endpoint, which looks like this:</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-fp-requiring-soap-module"></a><i><span>Example 7-1. </span>Requiring a SOAP Module in an Endpoint</i></p>
  					<div class="exampleInner"><pre>
  
***************
*** 1199,1203 ****
  </p><p>If the "required" attribute was not present, or if it was set to "<code>false</code>", then the <code>&lt;wsoap:module&gt;</code> syntax would indicate optional the availability of the referenced module, rather than a requirement to engage it, as explained in <a href="#adv-optional-versus-required"><b>7.1.1 Optional Versus Required Extensions</b></a>.</p></div><div class="div3">
  <h4><a name="adv-FP-abstract-features"></a>7.2.2 Abstract Features</h4><p>Since GreatH began the web service improvements, they have been talking to several travel agents.  The possibility of making their simple hotel interface an industry standard amongst a consortium of hotels has come up, and as such they would like to enable specifying the requirement for the "makeReservation" operation to be secure at the interface level &ndash; in other words indicating that the operation must be secure, but without specifying exactly how that should concretely be achieved (to enable maximal reuse of the interface).  The next example uses the WSDL 2.0 Feature element to indicate this.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-fp-declaring-abstract-feature"></a><i><span>Example 7-2. </span>Declaring an Abstract Feature Requirement</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 1208,1212 ----
  </p><p>If the "required" attribute was not present, or if it was set to "<code>false</code>", then the <code>&lt;wsoap:module&gt;</code> syntax would indicate optional the availability of the referenced module, rather than a requirement to engage it, as explained in <a href="#adv-optional-versus-required"><b>7.1.1 Optional Versus Required Extensions</b></a>.</p></div><div class="div3">
  <h4><a name="adv-FP-abstract-features"></a>7.2.2 Abstract Features</h4><p>Since GreatH began the web service improvements, they have been talking to several travel agents.  The possibility of making their simple hotel interface an industry standard amongst a consortium of hotels has come up, and as such they would like to enable specifying the requirement for the "makeReservation" operation to be secure at the interface level &ndash; in other words indicating that the operation must be secure, but without specifying exactly how that should concretely be achieved (to enable maximal reuse of the interface).  The next example uses the WSDL 2.0 Feature element to indicate this.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-fp-declaring-abstract-feature"></a><i><span>Example 7-2. </span>Declaring an Abstract Feature Requirement</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 1211,1215 ****
  . . .</pre></div>
  				</div><p>This declaration indicates that understanding of, and compliance with, the specified security feature is required for all uses of the "makeReservation" operation.  The security feature is <em>abstract</em>, which means that although it defines semantics and a level of detail about its general operation, it expects a concrete component (like a SOAP module or binding) to actually realize the functionality.</p><p>By definition, if you understand a SOAP module, you understand which (if any) abstract features it implements.  Therefore, since the security module in this example is defined as an implementation of the abstract security feature, we know that the use of this module satisfies the requirement to implement the feature.  Therefore users of the HTTP endpoint shown above (with the required SOAP module) will be able to make use of it.  GreatH also defines a new endpoint:</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-fp-soap-over-shttp"></a><i><span>Example 7-3. </span>A SOAP Binding Over a Secure HTTP Protocol</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 1220,1224 ----
  . . .</pre></div>
  				</div><p>This declaration indicates that understanding of, and compliance with, the specified security feature is required for all uses of the "makeReservation" operation.  The security feature is <em>abstract</em>, which means that although it defines semantics and a level of detail about its general operation, it expects a concrete component (like a SOAP module or binding) to actually realize the functionality.</p><p>By definition, if you understand a SOAP module, you understand which (if any) abstract features it implements.  Therefore, since the security module in this example is defined as an implementation of the abstract security feature, we know that the use of this module satisfies the requirement to implement the feature.  Therefore users of the HTTP endpoint shown above (with the required SOAP module) will be able to make use of it.  GreatH also defines a new endpoint:</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-fp-soap-over-shttp"></a><i><span>Example 7-3. </span>A SOAP Binding Over a Secure HTTP Protocol</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 1230,1234 ****
  				</div><p>The user will have a choice as to which of the endpoints, and therefore which binding, is to be used, but they both satisfy the abstract feature requirement specified in the interface.</p><p>Note that it is not necessary to declare the abstract feature in order to use/require the SOAP module, or in order to use/require the secure binding.  Abstract feature declarations serve purely to indicate requirements which must be fulfilled by more concrete components such as modules or bindings.  In other words, the abstract feature declaration allows components such as interfaces to be reused without caring exactly which SOAP modules or bindings satisfy the feature.</p></div><div class="div3">
  <h4><a name="adv-fp-properties"></a>7.2.3 Properties</h4><p>So far we've discussed how to indicate the availability or the "requiredness" of features and modules.  Often it is not enough to indicate that a particular extension is available/required: you also need some way to control or parameterize aspects of its behavior.  This is achieved by the use of WSDL 2.0 <em>properties</em>.  Each feature, SOAP module, or SOAP binding may express a variety of <em>properties</em> in its specification.  These properties are very much like variables in a programming language.  If GreatH would like to indicate that the <code>securityLevel</code> property should be 5 for the "makeReservation" operation, it would look like this:</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-fp-def-prop"></a><i><span>Example 7-4. </span>Defining a Property</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 1239,1243 ----
  				</div><p>The user will have a choice as to which of the endpoints, and therefore which binding, is to be used, but they both satisfy the abstract feature requirement specified in the interface.</p><p>Note that it is not necessary to declare the abstract feature in order to use/require the SOAP module, or in order to use/require the secure binding.  Abstract feature declarations serve purely to indicate requirements which must be fulfilled by more concrete components such as modules or bindings.  In other words, the abstract feature declaration allows components such as interfaces to be reused without caring exactly which SOAP modules or bindings satisfy the feature.</p></div><div class="div3">
  <h4><a name="adv-fp-properties"></a>7.2.3 Properties</h4><p>So far we've discussed how to indicate the availability or the "requiredness" of features and modules.  Often it is not enough to indicate that a particular extension is available/required: you also need some way to control or parameterize aspects of its behavior.  This is achieved by the use of WSDL 2.0 <em>properties</em>.  Each feature, SOAP module, or SOAP binding may express a variety of <em>properties</em> in its specification.  These properties are very much like variables in a programming language.  If GreatH would like to indicate that the <code>securityLevel</code> property should be 5 for the "makeReservation" operation, it would look like this:</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-fp-def-prop"></a><i><span>Example 7-4. </span>Defining a Property</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 1245,1249 ****
  				</div><p>The <code>property</code> element specifies which property is to be set.  By setting the <code>value</code> element, a toolkit processing this WSDL 2.0 document is informed that the securityLevel property must be set to 5.   The particular meanings of any such values are up to the implementations of the modules/bindings that use them.  The <code>property</code> element can be placed at many different levels in a WSDL 2.0 document (see "Property Composition Model", section 2.8.1.1 in WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>]).
  </p><p>It is also possible to provide a <em>constraint</em> on the value space for a given property.  This allows the author of the WSDL 2.0 document to indicate that several valid values for the property are possible for a given scope, limiting the value space already described in the specification that defined the property.  Let's extend our  example to make this clearer.</p><p>The security feature specification defines securityLevel as an integer with values between 1 and 10, each of which indicates, according to the spec, a progressively higher level of security.  The GreatH service authors, having read the relevant specifications, have decided that any security level between 3 and 7 will be supported by their infrastructure.  Levels less than 3 are deemed unsafe for GreatH's purposes, and levels greater than 7 require too much in the way of resources to make it worthwhile.  We can express this in WSDL 2.0 as follows:</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-fp-def-prop-constraints"></a><i><span>Example 7-5. </span>Defining Property Constraints</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 1254,1258 ----
  				</div><p>The <code>property</code> element specifies which property is to be set.  By setting the <code>value</code> element, a toolkit processing this WSDL 2.0 document is informed that the securityLevel property must be set to 5.   The particular meanings of any such values are up to the implementations of the modules/bindings that use them.  The <code>property</code> element can be placed at many different levels in a WSDL 2.0 document (see "Property Composition Model", section 2.8.1.1 in WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core Language</a></cite>]).
  </p><p>It is also possible to provide a <em>constraint</em> on the value space for a given property.  This allows the author of the WSDL 2.0 document to indicate that several valid values for the property are possible for a given scope, limiting the value space already described in the specification that defined the property.  Let's extend our  example to make this clearer.</p><p>The security feature specification defines securityLevel as an integer with values between 1 and 10, each of which indicates, according to the spec, a progressively higher level of security.  The GreatH service authors, having read the relevant specifications, have decided that any security level between 3 and 7 will be supported by their infrastructure.  Levels less than 3 are deemed unsafe for GreatH's purposes, and levels greater than 7 require too much in the way of resources to make it worthwhile.  We can express this in WSDL 2.0 as follows:</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-fp-def-prop-constraints"></a><i><span>Example 7-5. </span>Defining Property Constraints</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 1294,1298 ****
  				
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="credit-card-faults"></a><i><span>Example 7-6. </span>Standard Credit Card Validation Faults (credit-card-faults.wsdl)</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
--- 1303,1307 ----
  				
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="credit-card-faults"></a><i><span>Example 7-6. </span>Standard Credit Card Validation Faults (credit-card-faults.wsdl)</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
***************
*** 1345,1349 ****
  			
  			<div class="exampleOuter">
! 				<p class="exampleHead" style="text-align: left"><a name="use-credit-card-faults"></a><i><span>Example 7-7. </span>Using the Standard Credit Card Validation Faults (use-credit-card-faults.wsdl)</i></p>
  				<div class="exampleInner"><pre>&lt;?xml version="1.0"?&gt;
  &lt;description
--- 1354,1358 ----
  			
  			<div class="exampleOuter">
! 				<p style="text-align: left" class="exampleHead"><a name="use-credit-card-faults"></a><i><span>Example 7-7. </span>Using the Standard Credit Card Validation Faults (use-credit-card-faults.wsdl)</i></p>
  				<div class="exampleInner"><pre>&lt;?xml version="1.0"?&gt;
  &lt;description
***************
*** 1536,1540 ****
  
   				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-MTOM-schema"></a><i><span>Example 7-8. </span>XML Schema with Optimizable Elements </i></p>
  
  <div class="exampleInner"><pre>. . .
--- 1545,1549 ----
  
   				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-MTOM-schema"></a><i><span>Example 7-8. </span>XML Schema with Optimizable Elements </i></p>
  
  <div class="exampleInner"><pre>. . .
***************
*** 1581,1585 ****
  
   				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-MTOM-soap-message"></a><i><span>Example 7-9. </span>Non-optimized SOAP Message with Embedded Binary Data </i></p>
  
  <div class="exampleInner"><pre>
--- 1590,1594 ----
  
   				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-MTOM-soap-message"></a><i><span>Example 7-9. </span>Non-optimized SOAP Message with Embedded Binary Data </i></p>
  
  <div class="exampleInner"><pre>
***************
*** 1606,1610 ****
   
   				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-MTOM-soap-binding"></a><i><span>Example 7-10. </span>Specifying MTOM in a WSDL 2.0 Binding</i></p>
  
  <div class="exampleInner"><pre>
--- 1615,1619 ----
   
   				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-MTOM-soap-binding"></a><i><span>Example 7-10. </span>Specifying MTOM in a WSDL 2.0 Binding</i></p>
  
  <div class="exampleInner"><pre>
***************
*** 1660,1664 ****
  signature. This example is a modified version of the GreatH reservation
  service.  In particular, the <code>interface</code> and <code>types</code> sections have been modified to specify and conform to the RPC Style.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-rpc-style"></a><i><span>Example 7-11. </span>Specifying RPC Style </i></p>
  
  <div class="exampleInner"><pre>. . .
--- 1669,1673 ----
  signature. This example is a modified version of the GreatH reservation
  service.  In particular, the <code>interface</code> and <code>types</code> sections have been modified to specify and conform to the RPC Style.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-rpc-style"></a><i><span>Example 7-11. </span>Specifying RPC Style </i></p>
  
  <div class="exampleInner"><pre>. . .
***************
*** 1719,1723 ****
  for mapping simple types to Java types and
  designated inout and output parameters by using Holder classes.</p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-rpc-style-java-sig"></a><i><span>Example 7-12. </span>Sample Java(TM) Signature for   RPC Style</i></p>
  
  <div class="exampleInner"><pre>public interface reservationInterface extends Remote{
--- 1728,1732 ----
  for mapping simple types to Java types and
  designated inout and output parameters by using Holder classes.</p><div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-rpc-style-java-sig"></a><i><span>Example 7-12. </span>Sample Java(TM) Signature for   RPC Style</i></p>
  
  <div class="exampleInner"><pre>public interface reservationInterface extends Remote{
***************
*** 1793,1797 ****
  
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="reservationDetails-OMX736.xml"></a><i><span>Example 7-13. </span>Detail for Reservation OMX736</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;reservationDetails
--- 1802,1806 ----
  
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="reservationDetails-OMX736.xml"></a><i><span>Example 7-13. </span>Detail for Reservation OMX736</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;reservationDetails
***************
*** 1822,1826 ****
  
  				<div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="reservationDetails.wsdl"></a><i><span>Example 7-14. </span>The Reservation Details Web Service Description: reservationDetails.wsdl</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
--- 1831,1835 ----
  
  				<div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="reservationDetails.wsdl"></a><i><span>Example 7-14. </span>The Reservation Details Web Service Description: reservationDetails.wsdl</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
***************
*** 1887,1891 ****
  
  	<div class="exampleOuter">
! 		<p class="exampleHead" style="text-align: left"><a name="reservationDetails.xsd"></a><i><span>Example 7-15. </span>
  			The Reservation Details Web Service XML Schema:
  			reservationDetails.xsd
--- 1896,1900 ----
  
  	<div class="exampleOuter">
! 		<p style="text-align: left" class="exampleHead"><a name="reservationDetails.xsd"></a><i><span>Example 7-15. </span>
  			The Reservation Details Web Service XML Schema:
  			reservationDetails.xsd
***************
*** 2071,2075 ****
  					</p>
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="reservationList-all.xml"></a><i><span>Example 7-16. </span>
  							Response from the Reservation List Web
  							Service</i></p>
--- 2080,2084 ----
  					</p>
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="reservationList-all.xml"></a><i><span>Example 7-16. </span>
  							Response from the Reservation List Web
  							Service</i></p>
***************
*** 2148,2152 ****
  
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="reservationList.wsdl"></a><i><span>Example 7-17. </span>
  							The Reservation List Web Service
  							Description: reservationList.wsdl
--- 2157,2161 ----
  
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="reservationList.wsdl"></a><i><span>Example 7-17. </span>
  							The Reservation List Web Service
  							Description: reservationList.wsdl
***************
*** 2241,2245 ****
  <p><a href="#reservationList.xsd">Example 7-18</a> shows the schema for the messages used in the Reservation List Web service.</p>
  <div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="reservationList.xsd"></a><i><span>Example 7-18. </span>The Reservation List Schema: reservationList.xsd</i></p>
  <div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
--- 2250,2254 ----
  <p><a href="#reservationList.xsd">Example 7-18</a> shows the schema for the messages used in the Reservation List Web service.</p>
  <div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="reservationList.xsd"></a><i><span>Example 7-18. </span>The Reservation List Schema: reservationList.xsd</i></p>
  <div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
***************
*** 2332,2336 ****
  
  					<div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="reservationServiceReferences-HSG635.xml"></a><i><span>Example 7-19. </span>A Service Reference to the Reservation Details Web Service</i></p>
  <div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
--- 2341,2345 ----
  
  					<div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="reservationServiceReferences-HSG635.xml"></a><i><span>Example 7-19. </span>A Service Reference to the Reservation Details Web Service</i></p>
  <div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
***************
*** 2360,2364 ****
  <h4><a name="reservationDetails_HTTP"></a>7.9.3 Reservation Details Web Service Using HTTP Transfer</h4><p>This section presents a variation on the example in <a href="#reservationDetails"><b>7.9.1 The Reservation Details Web Service</b></a>.   It  illustrates the use of HTTP transfer operations, GET and PUT, to retrieve and update GreatH hotel reservation details using the Representational State Transfer (REST) architectural style described by Roy Fielding [<cite><a href="#rest">REST</a></cite>].  REST is a distillation of  the architectural properties that Dr. Fielding identified as being vital to the Web's robustness and enormous scalability.  </p><p>Since each reservation in our example will have a distinct URI, the Reservation Details Web
  service can be offered using HTTP GET and HTTP PUT.  The binding would be modified as follows:</p><div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="reservationDetails_HTTP_example"></a><i><span>Example 7-20. </span>
  							Reservation Details Web Service Using HTTP Transfer</i></p>
  						<div class="exampleInner"><pre>
--- 2369,2373 ----
  <h4><a name="reservationDetails_HTTP"></a>7.9.3 Reservation Details Web Service Using HTTP Transfer</h4><p>This section presents a variation on the example in <a href="#reservationDetails"><b>7.9.1 The Reservation Details Web Service</b></a>.   It  illustrates the use of HTTP transfer operations, GET and PUT, to retrieve and update GreatH hotel reservation details using the Representational State Transfer (REST) architectural style described by Roy Fielding [<cite><a href="#rest">REST</a></cite>].  REST is a distillation of  the architectural properties that Dr. Fielding identified as being vital to the Web's robustness and enormous scalability.  </p><p>Since each reservation in our example will have a distinct URI, the Reservation Details Web
  service can be offered using HTTP GET and HTTP PUT.  The binding would be modified as follows:</p><div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="reservationDetails_HTTP_example"></a><i><span>Example 7-20. </span>
  							Reservation Details Web Service Using HTTP Transfer</i></p>
  						<div class="exampleInner"><pre>
***************
*** 2383,2387 ****
  operations.  These can also be expressed as various parameters in a URI
  used by HTTP GET:</p><div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="example_reservationList_HTTP_GET"></a><i><span>Example 7-21. </span>
  							Reservation List Web Service Using HTTP GET</i></p>
  						<div class="exampleInner"><pre>
--- 2392,2396 ----
  operations.  These can also be expressed as various parameters in a URI
  used by HTTP GET:</p><div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="example_reservationList_HTTP_GET"></a><i><span>Example 7-21. </span>
  							Reservation List Web Service Using HTTP GET</i></p>
  						<div class="exampleInner"><pre>
***************
*** 2419,2423 ****
  into the URI query string.  A query sequence for any of
  ConfirmationNumber, checkInDate, checkOutDate would look like this:</p><div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="example_reservationList_HTTP_GET_single"></a><i><span>Example 7-22. </span>Query Sequence Using a Single Query Type</i></p>
  						<div class="exampleInner"><pre>
  							&lt;element name="reservationQuery"&gt;
--- 2428,2432 ----
  into the URI query string.  A query sequence for any of
  ConfirmationNumber, checkInDate, checkOutDate would look like this:</p><div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="example_reservationList_HTTP_GET_single"></a><i><span>Example 7-22. </span>Query Sequence Using a Single Query Type</i></p>
  						<div class="exampleInner"><pre>
  							&lt;element name="reservationQuery"&gt;
***************
*** 2440,2444 ****
  						</pre></div>
  					</div><p>The WSDL service that offers this type serialized as a parameter would look like this:</p><div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="example_reservationList_HTTP_GET_single_wsdl"></a><i><span>Example 7-23. </span>WSDL for Using a Single Query Type</i></p>
  						<div class="exampleInner"><pre>
  							. . .
--- 2449,2453 ----
  						</pre></div>
  					</div><p>The WSDL service that offers this type serialized as a parameter would look like this:</p><div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="example_reservationList_HTTP_GET_single_wsdl"></a><i><span>Example 7-23. </span>WSDL for Using a Single Query Type</i></p>
  						<div class="exampleInner"><pre>
  							. . .
***************
*** 2499,2503 ****
  				<div class="div3">
  					
! <h4><a name="N110BD"></a>7.10.1 Schemas in Imported Documents</h4>
  					<p>
  						In this example, we consider some GreatH Hotel
--- 2508,2512 ----
  				<div class="div3">
  					
! <h4><a name="N69822"></a>7.10.1 Schemas in Imported Documents</h4>
  					<p>
  						In this example, we consider some GreatH Hotel
***************
*** 2536,2540 ****
  
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="retrieveDetails.wsdl"></a><i><span>Example 7-24. </span>
  							The Retrieve Reservation Details Web
  							Service: retrieveDetails.wsdl
--- 2545,2549 ----
  
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="retrieveDetails.wsdl"></a><i><span>Example 7-24. </span>
  							The Retrieve Reservation Details Web
  							Service: retrieveDetails.wsdl
***************
*** 2663,2667 ****
  
  					<div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="updateDetails.wsdl"></a><i><span>Example 7-25. </span>The Update Reservation Details Web Service: updateDetails.wsdl</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
--- 2672,2676 ----
  
  					<div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="updateDetails.wsdl"></a><i><span>Example 7-25. </span>The Update Reservation Details Web Service: updateDetails.wsdl</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
***************
*** 2706,2710 ****
  				<div class="div3">
  					
! <h4><a name="N11148"></a>7.10.2 Multiple Inline Schemas in One Document</h4>
  					<p>
  						A WSDL 2.0 document may define multiple inline
--- 2715,2719 ----
  				<div class="div3">
  					
! <h4><a name="N69961"></a>7.10.2 Multiple Inline Schemas in One Document</h4>
  					<p>
  						A WSDL 2.0 document may define multiple inline
***************
*** 2762,2766 ****
  
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="retrieveItems.wsdl"></a><i><span>Example 7-26. </span>
  							Multiple Inline Schemas: retrieveItems.wsdl
  						</i></p>
--- 2771,2775 ----
  
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="retrieveItems.wsdl"></a><i><span>Example 7-26. </span>
  							Multiple Inline Schemas: retrieveItems.wsdl
  						</i></p>
***************
*** 2840,2844 ****
  the <code>schema</code> element. The simplest way to accomplish this is to use the <code>id</code> attribute, however XPointer (see [<cite><a href="#XPTR">XPointer Framework</a></cite>]) can also be used.
  </p><div class="div4">
! <h5><a name="N111A8"></a>7.10.3.1 Using the id Attribute to Identify Inline
  						Schemas</h5><p>
  						<a href="#schemaIds.wsdl">Example 7-27</a>
--- 2849,2853 ----
  the <code>schema</code> element. The simplest way to accomplish this is to use the <code>id</code> attribute, however XPointer (see [<cite><a href="#XPTR">XPointer Framework</a></cite>]) can also be used.
  </p><div class="div4">
! <h5><a name="N70057"></a>7.10.3.1 Using the id Attribute to Identify Inline
  						Schemas</h5><p>
  						<a href="#schemaIds.wsdl">Example 7-27</a>
***************
*** 2857,2861 ****
  						attribute, i.e. <code>#items</code>.
  					</p>
! <div class="exampleOuter"><p class="exampleHead" style="text-align: left"><a name="schemaIds.wsdl"></a><i><span>Example 7-27. </span>Using Ids in Inline Schemas: schemaIds.wsdl</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
--- 2866,2870 ----
  						attribute, i.e. <code>#items</code>.
  					</p>
! <div class="exampleOuter"><p style="text-align: left" class="exampleHead"><a name="schemaIds.wsdl"></a><i><span>Example 7-27. </span>Using Ids in Inline Schemas: schemaIds.wsdl</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/2005/05/wsdl"
***************
*** 2924,2928 ****
  <h3><a name="adv-rdf-mapping"></a>7.11 Mapping to RDF and Semantic Web</h3>
  
! 				<table border="1" summary="Editorial note: KevinL"><tr><td width="50%" valign="top" align="left"><b>Editorial note: KevinL</b></td><td width="50%" valign="top" align="right">20050429</td></tr><tr><td valign="top" align="left" colspan="2">
  						This section might be removed - pending on the availability of the RDF mapping note.					</td></tr></table>
  
--- 2933,2937 ----
  <h3><a name="adv-rdf-mapping"></a>7.11 Mapping to RDF and Semantic Web</h3>
  
! 				<table border="1" summary="Editorial note: KevinL"><tr><td align="left" valign="top" width="50%"><b>Editorial note: KevinL</b></td><td align="right" valign="top" width="50%">20050429</td></tr><tr><td colspan="2" align="left" valign="top">
  						This section might be removed - pending on the availability of the RDF mapping note.					</td></tr></table>
  

Received on Monday, 13 June 2005 21:48:31 UTC