2002/ws/desc/wsdl20 wsdl20-primer.html,1.94,1.95 wsdl20-primer.xml,1.130,1.131

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

Modified Files:
	wsdl20-primer.html wsdl20-primer.xml 
Log Message:
incorporated resolution for LC323

Index: wsdl20-primer.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-primer.xml,v
retrieving revision 1.130
retrieving revision 1.131
diff -C2 -d -r1.130 -r1.131
*** wsdl20-primer.xml	27 Sep 2005 20:05:38 -0000	1.130
--- wsdl20-primer.xml	27 Sep 2005 21:50:05 -0000	1.131
***************
*** 2435,2439 ****
   					indicate the type at runtime, respectively. These
   					attributes are defined in
!  					<bibref ref="DESCRIBEMEDIA"/>.
   				</p>
  
--- 2435,2443 ----
   					indicate the type at runtime, respectively. These
   					attributes are defined in
!  					<bibref ref="DESCRIBEMEDIA"/>. Also note that, when using the WSDL HTTP Binding, an
!     implementation MAY use incoming HTTP Accept headers to choose
!     between alternative media types listed in
!     xmime:expectedContentType.
! 
   				</p>
  

Index: wsdl20-primer.html
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-primer.html,v
retrieving revision 1.94
retrieving revision 1.95
diff -C2 -d -r1.94 -r1.95
*** wsdl20-primer.html	27 Sep 2005 21:16:22 -0000	1.94
--- wsdl20-primer.html	27 Sep 2005 21:50:05 -0000	1.95
***************
*** 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>
***************
*** 87,94 ****
  	<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="#advanced-topic_ii">Advanced Topics I: Importing Mechanisms</a><br>4. <a href="#advanced-topic_iii">Advanced Topics II: Extensibility and Predefined Extensions</a><br>5. <a href="#advanced-topic_iv">Advanced Topics III: Miscellaneous</a><br>6. <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="#UseIRI">Use of URI and IRI</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.4 <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="#basic-example">Getting Started: The GreatH Hotel Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.1 <a href="#basics-greath-scenario">Example Scenario: The GreatH Hotel Reservation Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.2 <a href="#basics-getting-started">Defining a WSDL 2.0 Target Namespace</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.2.1 <a href="#example-empty-shell-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.3 <a href="#basics-types">Defining Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.3.1 <a href="#example-initial-types-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.4 <a href="#basics-interface">Defining an Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.4.1 <a href="#example-initial-interface-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.5 <a href="#basics-binding">Defining a Binding</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.5.1 <a href="#example-initial-binding-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.6 <a href="#basics-service">Defining a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.6.1 <a href="#example-initial-service-explanation">Explanationof Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.7 <a href="#basics-documentation">Documenting the Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.7.1 <a href="#example-initial-documentation-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.2 <a href="#wsdl-xml-representation">WSDL 2.0 Infoset, Schema and Component Model</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.1 <a href="#wsdl-infoset-diagram">WSDL 2.0 Infoset</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.2 <a href="#wsdl-schema">WSDL 2.0 Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.2.1 <a href="#element-order">WSDL 2.0 Element Ordering</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.3 <a href="#component-model">WSDL 2.0 Component Model</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.3.1 <a href="#import-component">WSDL 2.0 Import and Include</a><br>&nbsp&nbsp;&nbsp;&nbsp;2.3 <a href="#more-types">More on Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.1 <a href="#more-types-schema-inline">Inlining XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.2 <a href="#more-types-schema-import">Importing XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.3 <a href="#more-types-import-include-summary">Summary of Import and Include Mechanisms</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.4 <a href="#more-interfaces">More on Interfaces</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.1 <a href="#more-interfaces-interfaces">Interface Syntax </a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.2 <a href="#more-interfaces-inheritance">Interface Inheritance</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.3 <a href="#more-interfaces-faults">Interface Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4 <a href="#more-interfaces-operations">Interface Operations</a><br>&nbsp;&nbsp;&nbp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.1 <a href="#more-interfaces-op-attr">Operation Attributes</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2 <a href="#N10961">Operation Message References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2.1 <a href="#N1097E">The messageLabel Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2.2 <a href="#N10996">The element Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2.3 <a href="#N109E7">Multiple infault or outfault Elements</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.3 <a href="#more-interfaces-meps">Understanding Message Exchange Patterns (MEPs)</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.5 <a href="#more-bindings">More on Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nsp;&nbsp;2.5.1 <a href="#more-bindings-wsdl">Syntax Summary for Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.2 <a href="#more-bindings-reusable">Reusable Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.3 <a href="#more-bindings-faults">Binding Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.4 <a href="#bindingOperations">Binding Operations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.5 <a href="#more-bindings-soap">The SOAP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.5.1 <a href="#more-bindings-soap-example-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.6 <a href="#more-bindings-http">The HTTP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.6.1 <a href="#N10BB5">Explanation of
! 			Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.7 <a href="#adv-get-vs-post">HTTP GET Versus POST: Which to Use?</a><br>3. <a href="#advanced-topic_ii">Advanced Topics I: Importing Mechanisms</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.1 <a href="#adv-import-and-authoring">Importing WSDL</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.2 <a href="#adv-multiple-inline-schemas">Importing Schemas</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.1 <a href="#N10D05">Schemas in Imported Documents</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.2 <a href="#N10D90">Multiple Inline Schemas in One Document</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.3 <a href="#adv-schema-location">The schemaLocation Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.3.1 <a href="#N10DF0">Using the id Attribute to Identify Inline
! 						Schemas</a><br>4. <a href="#advanced-topic_iii">Advanced Topics II: Extensibility and Predefined Extensions</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.1 <a href="#adv-extensibility">Extensibility</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.1.1 <a href="#adv-optional-versus-required">Optional Versus Required Extensions</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.2 <a href="#adv-FP">Features and Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.1 <a href="#adv-FP-soap-modules">SOAP Modules</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.2 <a href="#adv-FP-abstract-features">Abstract Features</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.3 <a href="#adv-fp-properties">Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.3 <a href="#adv-MEP">Defining New MEPs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.3.1 <a href="#challenge-confirm">Confirmed Challenge</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.4 <a href="#adv-RPCstyle">RPC Style</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.5 <a href"#adv-MTOM">MTOM and Attachments Support</a><br>5. <a href="#advanced-topic_iv">Advanced Topics III: Miscellaneous</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.1 <a href="#adv-message-dispatch">Enabling Easy Message Dispatch</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.2 <a href="#adv-versioning">Web Service Versioning</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.1 <a href="#adv-versioning-compatible-evolution">Compatible Evolution</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.2 <a href="#adv-versioning-big-bang">Big Bang</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.3 <a href="#ad-versioing-migration">Evolving a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.4 <a href="#adv-versioning-combined">Combined Approaches</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5 <a href="#adv-versioning-examples">Examples of Versioning and Extending a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.1 <a href="#N111D0">Additional Opional Elements Added in Content</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.2 <a href="#N111E7">Additional Optional Elements Added to a Header</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.3 <a href="#N111FE">Additional Mandatory Elements in Content</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.4 <a href="#N11215">Additional Optional Operation Added to Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.5 <a href="#N11221">Additional Mandatory Operation Added to Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.6 <a href="#N1123B">Indicating Incompatibility by Changing the Endpoint URI</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.7 <a href="#N11244">Indicating Incompatibility by Changing the SOAP Action</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bsp;&nbsp;&nbsp;5.2.5.8 <a href="#N1125B">Indicating Incompatibility by Changing the Element Content</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.3 <a href="#adv-service-references">Describing Web Service Messages That Refer to Other Web Services</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.1 <a href="#reservationDetails">The Reservation Details Web Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.2 <a href="#reservationList">The Reservation List Web Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.3 <a href="#reservationDetails_HTTP">Reservation Details Web Service Using HTTP Transfer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.4 <a href="#reservationList_HTTP_GET">Reservation List Web Service Using HTTP GET</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.4 <a href="#adv-multiple-docs-describing-same-service">Multiple Interfaces for the Same Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.5 <a href="#adv-rdf-mapping">Mapping to RDF and Semantic Web</a><br>&nbsp;&nbsp;&nbsp;&nsp;&nbsp;&nbsp;&nbsp;&nbsp;5.5.1 <a href="#adv-rdf-rep-wsdl">RDF Representation of WSDL 2.0</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.6 <a href="#adv-notes-on-uris">Notes on URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.6.1 <a href="#adv-namespaces-and-schema-locations">XML Namespaces and Schema Locations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.6.2 <a href="#adv-relative-uris">Relative URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.6.3 <a href="#adv-generating-uris">Generating Temporary URIs</a><br>6. <a href="#References">References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.1 <a href="#Normative-References">Normative References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.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">
  		
  		<div class="div1">
--- 87,94 ----
  	<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="#advanced-topic_ii">Advanced Topics I: Importing Mechanisms</a><br>4. <a href="#advanced-topic_iii">Advanced Topics II: Extensibility and Predefined Extensions</a><br>5. <a href="#advanced-topic_iv">Advanced Topics III: Miscellaneous</a><br>6. <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="#UseIRI">Use of URI and IRI</a><br>&nbsp;&nbsp;&nbsp;&nbsp;1.4 <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="#basic-example">Getting Started: The GreatH Hotel Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.1 <a href="#basics-greath-scenario">Example Scenario: The GreatH Hotel Reservation Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.2 <a href="#basics-getting-started">Defining a WSDL 2.0 Target Namespace</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.2.1 <a href="#example-empty-shell-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.3 <a href="#basics-types">Defining Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.3.1 <a href="#example-initial-types-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.4 <a href="#basics-interface">Defining an Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.4.1 <a href="#example-initial-interface-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.5 <a href="#basics-binding">Defining a Binding</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.5.1 <a href="#example-initial-binding-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.6 <a href="#basics-service">Defining a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.6.1 <a href="#example-initial-service-explanation">Explanationof Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.7 <a href="#basics-documentation">Documenting the Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.1.7.1 <a href="#example-initial-documentation-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.2 <a href="#wsdl-xml-representation">WSDL 2.0 Infoset, Schema and Component Model</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.1 <a href="#wsdl-infoset-diagram">WSDL 2.0 Infoset</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.2 <a href="#wsdl-schema">WSDL 2.0 Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.2.1 <a href="#element-order">WSDL 2.0 Element Ordering</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.3 <a href="#component-model">WSDL 2.0 Component Model</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.2.3.1 <a href="#import-component">WSDL 2.0 Import and Include</a><br>&nbsp&nbsp;&nbsp;&nbsp;2.3 <a href="#more-types">More on Message Types</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.1 <a href="#more-types-schema-inline">Inlining XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.2 <a href="#more-types-schema-import">Importing XML Schema</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.3.3 <a href="#more-types-import-include-summary">Summary of Import and Include Mechanisms</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.4 <a href="#more-interfaces">More on Interfaces</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.1 <a href="#more-interfaces-interfaces">Interface Syntax </a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.2 <a href="#more-interfaces-inheritance">Interface Inheritance</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.3 <a href="#more-interfaces-faults">Interface Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4 <a href="#more-interfaces-operations">Interface Operations</a><br>&nbsp;&nbsp;&nbp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.1 <a href="#more-interfaces-op-attr">Operation Attributes</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2 <a href="#N67937">Operation Message References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2.1 <a href="#N67966">The messageLabel Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2.2 <a href="#N67990">The element Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.2.3 <a href="#N68071">Multiple infault or outfault Elements</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.4.4.3 <a href="#more-interfaces-meps">Understanding Message Exchange Patterns (MEPs)</a><br>&nbsp;&nbsp;&nbsp;&nbsp;2.5 <a href="#more-bindings">More on Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nsp;&nbsp;2.5.1 <a href="#more-bindings-wsdl">Syntax Summary for Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.2 <a href="#more-bindings-reusable">Reusable Bindings</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.3 <a href="#more-bindings-faults">Binding Faults</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.4 <a href="#bindingOperations">Binding Operations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.5 <a href="#more-bindings-soap">The SOAP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.5.1 <a href="#more-bindings-soap-example-explanation">Explanation of Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.6 <a href="#more-bindings-http">The HTTP Binding Extension</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.6.1 <a href="#N68533">Explanation of
! 			Example</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.5.7 <a href="#adv-get-vs-post">HTTP GET Versus POST: Which to Use?</a><br>3. <a href="#advanced-topic_ii">Advanced Topics I: Importing Mechanisms</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.1 <a href="#adv-import-and-authoring">Importing WSDL</a><br>&nbsp;&nbsp;&nbsp;&nbsp;3.2 <a href="#adv-multiple-inline-schemas">Importing Schemas</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.1 <a href="#N68869">Schemas in Imported Documents</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.2 <a href="#N69008">Multiple Inline Schemas in One Document</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.3 <a href="#adv-schema-location">The schemaLocation Attribute</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.3.1 <a href="#N69104">Using the id Attribute to Identify Inline
! 						Schemas</a><br>4. <a href="#advanced-topic_iii">Advanced Topics II: Extensibility and Predefined Extensions</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.1 <a href="#adv-extensibility">Extensibility</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.1.1 <a href="#adv-optional-versus-required">Optional Versus Required Extensions</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.2 <a href="#adv-FP">Features and Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.1 <a href="#adv-FP-soap-modules">SOAP Modules</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.2 <a href="#adv-FP-abstract-features">Abstract Features</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.3 <a href="#adv-fp-properties">Properties</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.3 <a href="#adv-MEP">Defining New MEPs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.3.1 <a href="#challenge-confirm">Confirmed Challenge</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.4 <a href="#adv-RPCstyle">RPC Style</a><br>&nbsp;&nbsp;&nbsp;&nbsp;4.5 <a href"#adv-MTOM">MTOM and Attachments Support</a><br>5. <a href="#advanced-topic_iv">Advanced Topics III: Miscellaneous</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.1 <a href="#adv-message-dispatch">Enabling Easy Message Dispatch</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.2 <a href="#adv-versioning">Web Service Versioning</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.1 <a href="#adv-versioning-compatible-evolution">Compatible Evolution</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.2 <a href="#adv-versioning-big-bang">Big Bang</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.3 <a href="#ad-versioing-migration">Evolving a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.4 <a href="#adv-versioning-combined">Combined Approaches</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5 <a href="#adv-versioning-examples">Examples of Versioning and Extending a Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.1 <a href="#N70096">Additional Opional Elements Added in Content</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.2 <a href="#N70119">Additional Optional Elements Added to a Header</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.3 <a href="#N70142">Additional Mandatory Elements in Content</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.4 <a href="#N70165">Additional Optional Operation Added to Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.5 <a href="#N70177">Additional Mandatory Operation Added to Interface</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.6 <a href="#N70203">Indicating Incompatibility by Changing the Endpoint URI</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.2.5.7 <a href="#N70212">Indicating Incompatibility by Changing the SOAP Action</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&bsp;&nbsp;&nbsp;5.2.5.8 <a href="#N70235">Indicating Incompatibility by Changing the Element Content</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.3 <a href="#adv-service-references">Describing Web Service Messages That Refer to Other Web Services</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.1 <a href="#reservationDetails">The Reservation Details Web Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.2 <a href="#reservationList">The Reservation List Web Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.3 <a href="#reservationDetails_HTTP">Reservation Details Web Service Using HTTP Transfer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.3.4 <a href="#reservationList_HTTP_GET">Reservation List Web Service Using HTTP GET</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.4 <a href="#adv-multiple-docs-describing-same-service">Multiple Interfaces for the Same Service</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.5 <a href="#adv-rdf-mapping">Mapping to RDF and Semantic Web</a><br>&nbsp;&nbsp;&nbsp;&nsp;&nbsp;&nbsp;&nbsp;&nbsp;5.5.1 <a href="#adv-rdf-rep-wsdl">RDF Representation of WSDL 2.0</a><br>&nbsp;&nbsp;&nbsp;&nbsp;5.6 <a href="#adv-notes-on-uris">Notes on URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.6.1 <a href="#adv-namespaces-and-schema-locations">XML Namespaces and Schema Locations</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.6.2 <a href="#adv-relative-uris">Relative URIs</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.6.3 <a href="#adv-generating-uris">Generating Temporary URIs</a><br>6. <a href="#References">References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.1 <a href="#Normative-References">Normative References</a><br>&nbsp;&nbsp;&nbsp;&nbsp;6.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">
  		
  		<div class="div1">
***************
*** 169,173 ****
  			<div class="div3">
  <h4><a name="basics-greath-scenario"></a>2.1.1 Example Scenario: The GreatH Hotel Reservation Service</h4><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.  Thu, 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 eveloping 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; 
--- 169,173 ----
  			<div class="div3">
  <h4><a name="basics-greath-scenario"></a>2.1.1 Example Scenario: The GreatH Hotel Reservation Service</h4><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.  Thu, 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 eveloping 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; 
***************
*** 258,262 ****
  <div class="div3">
  <h4><a name="basics-getting-started"></a>2.1.2 Defining a WSDL 2.0 Target Namespace</h4><p>Before writing our WSDL 2.0 document, we need to decide on a <em>WSDL 2.0 target namespace</em> URI for it.  The WSDL 2.0 target namespace is analogous to an XML Schema target namespace. Interface, binding and service names that we define in our WSDL 2.0 document will be associated with the WSDL 2.0 target namespace, and thus will be distinguishable from similar names in a different WSDL 2.0 target namespace.  (This will become important if using WSDL 2.0's import or interface inheritance mechanisms.)  </p><p>The value of the  WSDL 2.0  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 2.0 target namespace is used to describe.  For example, the GreatH owners should make the WSDL 2.0 document available from this URI.  (And if a WSDL 2.0 description is split into multiple documents, then the WSDL 2.0 target namespaceshould resolve to a master document that includes all the WSDL 2.0 documents needed for that service description.)  However, there is no absolute requirement for this URI to be dereferenceable, so a WSDL 2.0 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 2.0 document from anywhere -- not necessarily an authoritative source.  But by dereferencing the WSDL 2.0 target namespace URI, a user  should be able to obtain an authoritative version.  Since GreatH will be the owner of the service, the WSDL 2.0 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 2.0 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 
--- 258,262 ----
  <div class="div3">
  <h4><a name="basics-getting-started"></a>2.1.2 Defining a WSDL 2.0 Target Namespace</h4><p>Before writing our WSDL 2.0 document, we need to decide on a <em>WSDL 2.0 target namespace</em> URI for it.  The WSDL 2.0 target namespace is analogous to an XML Schema target namespace. Interface, binding and service names that we define in our WSDL 2.0 document will be associated with the WSDL 2.0 target namespace, and thus will be distinguishable from similar names in a different WSDL 2.0 target namespace.  (This will become important if using WSDL 2.0's import or interface inheritance mechanisms.)  </p><p>The value of the  WSDL 2.0  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 2.0 target namespace is used to describe.  For example, the GreatH owners should make the WSDL 2.0 document available from this URI.  (And if a WSDL 2.0 description is split into multiple documents, then the WSDL 2.0 target namespaceshould resolve to a master document that includes all the WSDL 2.0 documents needed for that service description.)  However, there is no absolute requirement for this URI to be dereferenceable, so a WSDL 2.0 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 2.0 document from anywhere -- not necessarily an authoritative source.  But by dereferencing the WSDL 2.0 target namespace URI, a user  should be able to obtain an authoritative version.  Since GreatH will be the owner of the service, the WSDL 2.0 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 2.0 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 
***************
*** 279,283 ****
  <div class="div3">
  <h4><a name="basics-types"></a>2.1.3 Defining Message Types</h4><p>We know that the GreatH service will be sending and receiving messages, so a good starting point in describing the service is to define the message types that the service will use.  We'll use XML Schema to do so, because WSDL 2.0 processors are likely to support XML Schema at a minimum.  However, WSDL 2.0 does not prohibit the use of some other schema definition language.</p><p>WSDL 2.0 allows message types to be defined directly within the WSDL 2.0 document, inside the <code>types</code> element, which is a child of the <code>description</code> element.   (Later we'll see how we can provide the type definitions in a separate document, using XML Schema's <code>import</code> mechanism.)    The following schema defines <code>checkAvailability</code>, <code>checkAvailabilityResponse</code> and <code>invalidDataError</code> message types that we'll need.  </p><p>In WSDL 2.0, all normal and fault message types must be defined as single <em>elemnts</em> at the topmost level (though of course each element may have any amount of substructure inside it).  Thus, a message type must not directly consist of a sequence of elements or other complex type.  </p><div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-initial-types"></a><i><span>Example 2-3. </span>GreatH Message Types</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
--- 279,283 ----
  <div class="div3">
  <h4><a name="basics-types"></a>2.1.3 Defining Message Types</h4><p>We know that the GreatH service will be sending and receiving messages, so a good starting point in describing the service is to define the message types that the service will use.  We'll use XML Schema to do so, because WSDL 2.0 processors are likely to support XML Schema at a minimum.  However, WSDL 2.0 does not prohibit the use of some other schema definition language.</p><p>WSDL 2.0 allows message types to be defined directly within the WSDL 2.0 document, inside the <code>types</code> element, which is a child of the <code>description</code> element.   (Later we'll see how we can provide the type definitions in a separate document, using XML Schema's <code>import</code> mechanism.)    The following schema defines <code>checkAvailability</code>, <code>checkAvailabilityResponse</code> and <code>invalidDataError</code> message types that we'll need.  </p><p>In WSDL 2.0, all normal and fault message types must be defined as single <em>elemnts</em> at the topmost level (though of course each element may have any amount of substructure inside it).  Thus, a message type must not directly consist of a sequence of elements or other complex type.  </p><div class="exampleOuter">
! 					<p 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; 
***************
*** 321,325 ****
  				
  				<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 2.0 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; 
--- 321,325 ----
  				
  				<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 2.0 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; 
***************
*** 423,427 ****
  			</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 
--- 423,427 ----
  			</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 
***************
*** 478,482 ****
  <div class="div3">
  <h4><a name="basics-service"></a>2.1.6 Defining a Service</h4><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>5.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 
--- 478,482 ----
  <div class="div3">
  <h4><a name="basics-service"></a>2.1.6 Defining a Service</h4><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>5.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 
***************
*** 518,522 ****
  				<div class="div3">
  <h4><a name="basics-documentation"></a>2.1.7 Documenting the Service</h4><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 2.0 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>2..1 WSDL 2.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 
--- 518,522 ----
  				<div class="div3">
  <h4><a name="basics-documentation"></a>2.1.7 Documenting the Service</h4><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 2.0 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>2..1 WSDL 2.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 
***************
*** 552,556 ****
  <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 2-1. </span>WSDL 2.0 Infoset Diagram</i></p><br></div>
  
  </p>
--- 552,556 ----
  <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 2-1. </span>WSDL 2.0 Infoset Diagram</i></p><br></div>
  
  </p>
***************
*** 657,661 ****
  <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 hierarchy.
  
!  <div style="text-align: center" class="figure"><br><img src="images/WSDL20Components.png" alt="WSDL 2.0 Components Containment hierarchy"><p style="text-align:left"><i><span>Figure 2-2. </span>WSDL 2.0 Components Containment hierarchy</i></p><br></div></p>
  
  
--- 657,661 ----
  <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 hierarchy.
  
!  <div class="figure" style="text-align: center"><br><img src="images/WSDL20Components.png" alt="WSDL 2.0 Components Containment hierarchy"><p style="text-align:left"><i><span>Figure 2-2. </span>WSDL 2.0 Components Containment hierarchy</i></p><br></div></p>
  
  
***************
*** 800,804 ****
  				<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 2.0 as follows:  </p>
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-schema-import"></a><i><span>Example 2-8. </span>Example of Importing Message Definitions</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
--- 800,804 ----
  				<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 2.0 as follows:  </p>
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-schema-import"></a><i><span>Example 2-8. </span>Example of Importing Message Definitions</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;description 
***************
*** 996,1000 ****
  
  <div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-faults"></a><i><span>Example 2-9. </span>Interface Inheritance</i></p>
  				<div class="exampleInner"><pre>
  					
--- 996,1000 ----
  
  <div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-faults"></a><i><span>Example 2-9. </span>Interface Inheritance</i></p>
  				<div class="exampleInner"><pre>
  					
***************
*** 1108,1115 ****
  				
  				</div><div class="div4">
! <h5><a name="N10961"></a>2.4.4.2 Operation Message References</h5><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.1.4 Defining an Interface</b></a>, this section will merely comment on additional capabilities that were not previously explained.</p>
  				<div class="div5">
  					
! <h6><a name="N1097E"></a>2.4.4.2.1 The messageLabel Attribute</h6>
  					<p>
  						The
--- 1108,1115 ----
  				
  				</div><div class="div4">
! <h5><a name="N67937"></a>2.4.4.2 Operation Message References</h5><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.1.4 Defining an Interface</b></a>, this section will merely comment on additional capabilities that were not previously explained.</p>
  				<div class="div5">
  					
! <h6><a name="N67966"></a>2.4.4.2.1 The messageLabel Attribute</h6>
  					<p>
  						The
***************
*** 1131,1135 ****
  				<div class="div5">
  					
! <h6><a name="N10996"></a>2.4.4.2.2 The element Attribute</h6>
  					<p>
  						The
--- 1131,1135 ----
  				<div class="div5">
  					
! <h6><a name="N67990"></a>2.4.4.2.2 The element Attribute</h6>
  					<p>
  						The
***************
*** 1192,1196 ****
  				</div>
  				<div class="div5">
! <h6><a name="N109E7"></a>2.4.4.2.3 Multiple infault or outfault Elements</h6><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>
  			
  			
--- 1192,1196 ----
  				</div>
  				<div class="div5">
! <h6><a name="N68071"></a>2.4.4.2.3 Multiple infault or outfault Elements</h6><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>
  			
  			
***************
*** 1211,1215 ****
  		
  <div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-outbound-operation"></a><i><span>Example 2-10. </span>Use of outbound MEPs</i></p>
  				<div class="exampleInner"><pre>
  					
--- 1211,1215 ----
  		
  <div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-outbound-operation"></a><i><span>Example 2-10. </span>Use of outbound MEPs</i></p>
  				<div class="exampleInner"><pre>
  					
***************
*** 1305,1309 ****
  					
  				<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.1.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 (orboth), 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>2.5.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 2-11. </span>SOAP 1.2 and SOAP 1.1 Bindings</i></p>
  
  <div class="exampleInner"><pre>
--- 1305,1309 ----
  					
  				<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.1.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 (orboth), 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>2.5.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 2-11. </span>SOAP 1.2 and SOAP 1.1 Bindings</i></p>
  
  <div class="exampleInner"><pre>
***************
*** 1384,1388 ****
  				<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 2-12. </span>HTTP Binding Extension</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
--- 1384,1388 ----
  				<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 2-12. </span>HTTP Binding Extension</i></p>
  					<div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
***************
*** 1414,1418 ****
  				</div>
  			<div class="div4">
! <h5><a name="N10BB5"></a>2.5.6.1 Explanation of
  			Example</h5>
  			
--- 1414,1418 ----
  				</div>
  			<div class="div4">
! <h5><a name="N68533"></a>2.5.6.1 Explanation of
  			Example</h5>
  			
***************
*** 1438,1442 ****
  
  <p>Here is an alternate example that 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 2-13. </span>Serializing a Subset of Types in the Path</i></p>
  					<div class="exampleInner"><pre>
  
--- 1438,1442 ----
  
  <p>Here is an alternate example that 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 2-13. </span>Serializing a Subset of Types in the Path</i></p>
  					<div class="exampleInner"><pre>
  
***************
*** 1465,1469 ****
  
  <div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-binding-safety"></a><i><span>Example 2-14. </span>Safety and HTTP Binding</i></p>
  
  <div class="exampleInner"><pre>
--- 1465,1469 ----
  
  <div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-binding-safety"></a><i><span>Example 2-14. </span>Safety and HTTP Binding</i></p>
  
  <div class="exampleInner"><pre>
***************
*** 1522,1526 ****
  				
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="credit-card-faults"></a><i><span>Example 3-1. </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/@@@@/@@/wsdl"
--- 1522,1526 ----
  				
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="credit-card-faults"></a><i><span>Example 3-1. </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/@@@@/@@/wsdl"
***************
*** 1573,1577 ****
  			
  			<div class="exampleOuter">
! 				<p class="exampleHead" style="text-align: left"><a name="use-credit-card-faults"></a><i><span>Example 3-2. </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
--- 1573,1577 ----
  			
  			<div class="exampleOuter">
! 				<p style="text-align: left" class="exampleHead"><a name="use-credit-card-faults"></a><i><span>Example 3-2. </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
***************
*** 1660,1664 ****
  				<div class="div3">
  					
! <h4><a name="N10D05"></a>3.2.1 Schemas in Imported Documents</h4>
  					<p>
  						In this example, we consider some GreatH Hotel
--- 1660,1664 ----
  				<div class="div3">
  					
! <h4><a name="N68869"></a>3.2.1 Schemas in Imported Documents</h4>
  					<p>
  						In this example, we consider some GreatH Hotel
***************
*** 1697,1701 ****
  
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="retrieveDetails.wsdl"></a><i><span>Example 3-3. </span>
  							The Retrieve Reservation Details Web
  							Service: retrieveDetails.wsdl
--- 1697,1701 ----
  
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="retrieveDetails.wsdl"></a><i><span>Example 3-3. </span>
  							The Retrieve Reservation Details Web
  							Service: retrieveDetails.wsdl
***************
*** 1824,1828 ****
  
  					<div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="updateDetails.wsdl"></a><i><span>Example 3-4. </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/@@@@/@@/wsdl"
--- 1824,1828 ----
  
  					<div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="updateDetails.wsdl"></a><i><span>Example 3-4. </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/@@@@/@@/wsdl"
***************
*** 1867,1871 ****
  				<div class="div3">
  					
! <h4><a name="N10D90"></a>3.2.2 Multiple Inline Schemas in One Document</h4>
  					<p>
  						A WSDL 2.0 document may define multiple inline
--- 1867,1871 ----
  				<div class="div3">
  					
! <h4><a name="N69008"></a>3.2.2 Multiple Inline Schemas in One Document</h4>
  					<p>
  						A WSDL 2.0 document may define multiple inline
***************
*** 1923,1927 ****
  
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="retrieveItems.wsdl"></a><i><span>Example 3-5. </span>
  							Multiple Inline Schemas: retrieveItems.wsdl
  						</i></p>
--- 1923,1927 ----
  
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="retrieveItems.wsdl"></a><i><span>Example 3-5. </span>
  							Multiple Inline Schemas: retrieveItems.wsdl
  						</i></p>
***************
*** 2001,2005 ****
  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="N10DF0"></a>3.2.3.1 Using the id Attribute to Identify Inline
  						Schemas</h5><p>
  						<a href="#schemaIds.wsdl">Example 3-6</a>
--- 2001,2005 ----
  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="N69104"></a>3.2.3.1 Using the id Attribute to Identify Inline
  						Schemas</h5><p>
  						<a href="#schemaIds.wsdl">Example 3-6</a>
***************
*** 2018,2022 ****
  						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 3-6. </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/@@@@/@@/wsdl"
--- 2018,2022 ----
  						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 3-6. </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/@@@@/@@/wsdl"
***************
*** 2101,2105 ****
  <h3><a name="adv-FP"></a>4.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>
--- 2101,2105 ----
  <h3><a name="adv-FP"></a>4.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>
***************
*** 2108,2112 ****
  			<div class="div3">
  <h4><a name="adv-FP-soap-modules"></a>4.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 4-1. </span>Requiring a SOAP Module in an Endpoint</i></p>
  					<div class="exampleInner"><pre>
  
--- 2108,2112 ----
  			<div class="div3">
  <h4><a name="adv-FP-soap-modules"></a>4.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 4-1. </span>Requiring a SOAP Module in an Endpoint</i></p>
  					<div class="exampleInner"><pre>
  
***************
*** 2129,2133 ****
  </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>4.1.1 Optional Versus Required Extensions</b></a>.</p></div><div class="div3">
  <h4><a name="adv-FP-abstract-features"></a>4.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 4-2. </span>Declaring an Abstract Feature Requirement</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 2129,2133 ----
  </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>4.1.1 Optional Versus Required Extensions</b></a>.</p></div><div class="div3">
  <h4><a name="adv-FP-abstract-features"></a>4.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 4-2. </span>Declaring an Abstract Feature Requirement</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 2141,2145 ****
  . . .</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 4-3. </span>A SOAP Binding Over a Secure HTTP Protocol</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 2141,2145 ----
  . . .</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 4-3. </span>A SOAP Binding Over a Secure HTTP Protocol</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 2160,2164 ****
  				</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>4.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 4-4. </span>Defining a Property</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 2160,2164 ----
  				</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>4.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 4-4. </span>Defining a Property</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 2175,2179 ****
  				</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 in WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core</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 4-5. </span>Defining Property Constraints</i></p>
  					<div class="exampleInner"><pre>
  . . .
--- 2175,2179 ----
  				</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 in WSDL 2.0 Part 1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core</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 4-5. </span>Defining Property Constraints</i></p>
  					<div class="exampleInner"><pre>
  . . .
***************
*** 2229,2233 ****
  
  <div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="weather-not-initial"></a><i><span>Example 4-6. </span>Weather Notification Service (Initial)</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/@@@@/@@/wsdl"
--- 2229,2233 ----
  
  <div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="weather-not-initial"></a><i><span>Example 4-6. </span>Weather Notification Service (Initial)</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/@@@@/@@/wsdl"
***************
*** 2338,2342 ****
  
  <div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="weather-not-final"></a><i><span>Example 4-7. </span>Weather Notification Service (Revised)</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/@@@@/@@/wsdl"
--- 2338,2342 ----
  
  <div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="weather-not-final"></a><i><span>Example 4-7. </span>Weather Notification Service (Revised)</i></p>
  <div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;description xmlns="http://www.w3.org/@@@@/@@/wsdl"
***************
*** 2388,2392 ****
  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 4-8. </span>Specifying RPC Style </i></p>
  
  <div class="exampleInner"><pre>. . .
--- 2388,2392 ----
  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 4-8. </span>Specifying RPC Style </i></p>
  
  <div class="exampleInner"><pre>. . .
***************
*** 2447,2451 ****
  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 4-9. </span>Sample Java(TM) Signature for   RPC Style</i></p>
  
  <div class="exampleInner"><pre>public interface reservationInterface extends Remote{
--- 2447,2451 ----
  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 4-9. </span>Sample Java(TM) Signature for   RPC Style</i></p>
  
  <div class="exampleInner"><pre>public interface reservationInterface extends Remote{
***************
*** 2473,2477 ****
  
   				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-MTOM-schema"></a><i><span>Example 4-10. </span>XML Schema with Optimizable Elements </i></p>
  
  <div class="exampleInner"><pre>. . .
--- 2473,2477 ----
  
   				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-MTOM-schema"></a><i><span>Example 4-10. </span>XML Schema with Optimizable Elements </i></p>
  
  <div class="exampleInner"><pre>. . .
***************
*** 2512,2516 ****
   					indicate the type at runtime, respectively. These
   					attributes are defined in
!  					[<cite><a href="#DESCRIBEMEDIA">Describing Media Content of Binary Data in XML</a></cite>].
   				</p>
  
--- 2512,2520 ----
   					indicate the type at runtime, respectively. These
   					attributes are defined in
!  					[<cite><a href="#DESCRIBEMEDIA">Describing Media Content of Binary Data in XML</a></cite>]. Also note that, when using the WSDL HTTP Binding, an
!     implementation MAY use incoming HTTP Accept headers to choose
!     between alternative media types listed in
!     xmime:expectedContentType.
! 
   				</p>
  
***************
*** 2518,2522 ****
  
   				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-MTOM-soap-message"></a><i><span>Example 4-11. </span>Non-optimized SOAP Message with Embedded Binary Data </i></p>
  
  <div class="exampleInner"><pre>
--- 2522,2526 ----
  
   				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-MTOM-soap-message"></a><i><span>Example 4-11. </span>Non-optimized SOAP Message with Embedded Binary Data </i></p>
  
  <div class="exampleInner"><pre>
***************
*** 2543,2547 ****
   
   				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example-MTOM-soap-binding"></a><i><span>Example 4-12. </span>Specifying MTOM in a WSDL 2.0 Binding</i></p>
  
  <div class="exampleInner"><pre>
--- 2547,2551 ----
   
   				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example-MTOM-soap-binding"></a><i><span>Example 4-12. </span>Specifying MTOM in a WSDL 2.0 Binding</i></p>
  
  <div class="exampleInner"><pre>
***************
*** 2678,2682 ****
  for schema versioning as a part of the Schema 1.1 activity.  See XML Schema Versioning Use Cases [<cite><a href="#xsd-versioning">XML Schema: Versioning Use-Cases</a></cite>].</p></li><li><p>The <a href="http://www.w3.org/2001/sw/BestPractices/">Semantic Web Best Practices and Deployments Working Group</a> is  
  examining how vocabularies may evolve.  See  [<cite><a href="#sw-vocabulary">SW VocabManagementNote</a></cite>]</p></li></ul>
! <table border="1" summary="Editorial note: PaulD"><tr><td width="50%" valign="top" align="left"><b>Editorial note: PaulD</b></td><td width="50%" valign="top" align="right">20050706</td></tr><tr><td valign="top" align="left" colspan="2">This section may be subject to change dependent upon the outcome of the WSDL Last Call Issue LC124, which discusses support compatible evolution of messages described using XML Schema 1.0.</td></tr></table>
  
  <p>While incomplete, these activities all agree in one important 
--- 2682,2686 ----
  for schema versioning as a part of the Schema 1.1 activity.  See XML Schema Versioning Use Cases [<cite><a href="#xsd-versioning">XML Schema: Versioning Use-Cases</a></cite>].</p></li><li><p>The <a href="http://www.w3.org/2001/sw/BestPractices/">Semantic Web Best Practices and Deployments Working Group</a> is  
  examining how vocabularies may evolve.  See  [<cite><a href="#sw-vocabulary">SW VocabManagementNote</a></cite>]</p></li></ul>
! <table border="1" summary="Editorial note: PaulD"><tr><td align="left" valign="top" width="50%"><b>Editorial note: PaulD</b></td><td align="right" valign="top" width="50%">20050706</td></tr><tr><td colspan="2" align="left" valign="top">This section may be subject to change dependent upon the outcome of the WSDL Last Call Issue LC124, which discusses support compatible evolution of messages described using XML Schema 1.0.</td></tr></table>
  
  <p>While incomplete, these activities all agree in one important 
***************
*** 2774,2778 ****
      <div class="div4">
  	
! <h5><a name="N111D0"></a>5.2.5.1 Additional Optional Elements Added in Content</h5>
  	<p> The following example demonstrates how content may be extended with
  	    additional content. The reservation service is changed to a newer version that can accept an optional
--- 2778,2782 ----
      <div class="div4">
  	
! <h5><a name="N70096"></a>5.2.5.1 Additional Optional Elements Added in Content</h5>
  	<p> The following example demonstrates how content may be extended with
  	    additional content. The reservation service is changed to a newer version that can accept an optional
***************
*** 2781,2785 ****
  	    into the schema as an optional element. </p>
  	<div class="exampleOuter">
! 	    <p class="exampleHead" style="text-align: left"><a name="example-versioning-additional-elements"></a><i><span>Example 5-1. </span>XML Schema with Optional Elements</i></p>
  	    <div class="exampleInner"><pre>
  &lt;xs:complexType name="tCheckAvailability"&gt;     
--- 2785,2789 ----
  	    into the schema as an optional element. </p>
  	<div class="exampleOuter">
! 	    <p style="text-align: left" class="exampleHead"><a name="example-versioning-additional-elements"></a><i><span>Example 5-1. </span>XML Schema with Optional Elements</i></p>
  	    <div class="exampleInner"><pre>
  &lt;xs:complexType name="tCheckAvailability"&gt;     
***************
*** 2803,2807 ****
      <div class="div4">
  	
! <h5><a name="N111E7"></a>5.2.5.2 Additional Optional Elements Added to a Header</h5>
  	<p> Another option is to add the extension as a header block. This is
  	    accomplished by defining an element for the extension and adding a
--- 2807,2811 ----
      <div class="div4">
  	
! <h5><a name="N70119"></a>5.2.5.2 Additional Optional Elements Added to a Header</h5>
  	<p> Another option is to add the extension as a header block. This is
  	    accomplished by defining an element for the extension and adding a
***************
*** 2809,2813 ****
  	    child of the input. </p>
  	<div class="exampleOuter">
! 	    <p class="exampleHead" style="text-align: left"><a name="example-versioning-additional-header-elements"></a><i><span>Example 5-2. </span>Additional optional elements added to a SOAP header</i></p>
  	    <div class="exampleInner"><pre>
  &lt;xs:element name="NumberOfGuests" type="tNumberOfGuests"/&gt;
--- 2813,2817 ----
  	    child of the input. </p>
  	<div class="exampleOuter">
! 	    <p style="text-align: left" class="exampleHead"><a name="example-versioning-additional-header-elements"></a><i><span>Example 5-2. </span>Additional optional elements added to a SOAP header</i></p>
  	    <div class="exampleInner"><pre>
  &lt;xs:element name="NumberOfGuests" type="tNumberOfGuests"/&gt;
***************
*** 2838,2842 ****
      <div class="div4">
  	
! <h5><a name="N111FE"></a>5.2.5.3 Additional Mandatory Elements in Content</h5>
  	<p> This following example demonstrates an extension with additional
  	    content. The reservation service requires a number of guests parameter.
--- 2842,2846 ----
      <div class="div4">
  	
! <h5><a name="N70142"></a>5.2.5.3 Additional Mandatory Elements in Content</h5>
  	<p> This following example demonstrates an extension with additional
  	    content. The reservation service requires a number of guests parameter.
***************
*** 2845,2849 ****
  	    element.</p>
  	<div class="exampleOuter">
! 	    <p class="exampleHead" style="text-align: left"><a name="example-versioning-additional-mandatory-elements"></a><i><span>Example 5-3. </span>Additional Mandatory Elements in Content</i></p>
                              <div class="exampleInner"><pre>
  &lt;xs:complexType name="tCheckAvailabilityV2"&gt;     
--- 2849,2853 ----
  	    element.</p>
  	<div class="exampleOuter">
! 	    <p style="text-align: left" class="exampleHead"><a name="example-versioning-additional-mandatory-elements"></a><i><span>Example 5-3. </span>Additional Mandatory Elements in Content</i></p>
                              <div class="exampleInner"><pre>
  &lt;xs:complexType name="tCheckAvailabilityV2"&gt;     
***************
*** 2866,2870 ****
      <div class="div4">
  	
! <h5><a name="N11215"></a>5.2.5.4 Additional Optional Operation Added to Interface</h5>
  	<p> Section <a href="#more-interfaces-inheritance"><b>2.4.2 Interface Inheritance</b></a> shows another type
  	    of versioning or extension, where the reservationInterface extends the
--- 2870,2874 ----
      <div class="div4">
  	
! <h5><a name="N70165"></a>5.2.5.4 Additional Optional Operation Added to Interface</h5>
  	<p> Section <a href="#more-interfaces-inheritance"><b>2.4.2 Interface Inheritance</b></a> shows another type
  	    of versioning or extension, where the reservationInterface extends the
***************
*** 2875,2879 ****
      <div class="div4">
  	
! <h5><a name="N11221"></a>5.2.5.5 Additional Mandatory Operation Added to Interface</h5>
  	<p> Often mandatory operations are added to an interface. The Hotel service
  	    decides to add an operation to the reservation service which is a
--- 2879,2883 ----
      <div class="div4">
  	
! <h5><a name="N70177"></a>5.2.5.5 Additional Mandatory Operation Added to Interface</h5>
  	<p> Often mandatory operations are added to an interface. The Hotel service
  	    decides to add an operation to the reservation service which is a
***************
*** 2884,2888 ****
  	    inheritance for defining the extension.</p>
  	<div class="exampleOuter">
! 	    <p class="exampleHead" style="text-align: left"><a name="example-versioning-additional-mandatory-operation"></a><i><span>Example 5-4. </span>Additional Mandatory Operation Added to the Interface</i></p>
  	    <div class="exampleInner"><pre>
  &lt;interface name="reservationWithConfirmation" extends="cc:creditCardFaults"&gt;
--- 2888,2892 ----
  	    inheritance for defining the extension.</p>
  	<div class="exampleOuter">
! 	    <p style="text-align: left" class="exampleHead"><a name="example-versioning-additional-mandatory-operation"></a><i><span>Example 5-4. </span>Additional Mandatory Operation Added to the Interface</i></p>
  	    <div class="exampleInner"><pre>
  &lt;interface name="reservationWithConfirmation" extends="cc:creditCardFaults"&gt;
***************
*** 2918,2922 ****
      <div class="div4">
  	
! <h5><a name="N1123B"></a>5.2.5.6 Indicating Incompatibility by Changing the Endpoint URI</h5>
  	<p> To indicate incompatibility, the URI of the Hotel Endpoint can be
  	    changed and messages send to the old Endpoint return a Fault.</p>
--- 2922,2926 ----
      <div class="div4">
  	
! <h5><a name="N70203"></a>5.2.5.6 Indicating Incompatibility by Changing the Endpoint URI</h5>
  	<p> To indicate incompatibility, the URI of the Hotel Endpoint can be
  	    changed and messages send to the old Endpoint return a Fault.</p>
***************
*** 2924,2932 ****
      <div class="div4">
  	
! <h5><a name="N11244"></a>5.2.5.7 Indicating Incompatibility by Changing the SOAP Action</h5>
  	<p> The SOAP Action can be set for the makeReservation request, and making
  	    it different than the earlier version should indicate incompatibility.</p>
  	<div class="exampleOuter">
! 	    <p class="exampleHead" style="text-align: left"><a name="example-versioning-SOAP-Action"></a><i><span>Example 5-5. </span>Indicating Incompatibility by changing the SOAP Action</i></p>
                              <div class="exampleInner"><pre>
  &lt;binding name="reservationSOAPBinding" 
--- 2928,2936 ----
      <div class="div4">
  	
! <h5><a name="N70212"></a>5.2.5.7 Indicating Incompatibility by Changing the SOAP Action</h5>
  	<p> The SOAP Action can be set for the makeReservation request, and making
  	    it different than the earlier version should indicate incompatibility.</p>
  	<div class="exampleOuter">
! 	    <p style="text-align: left" class="exampleHead"><a name="example-versioning-SOAP-Action"></a><i><span>Example 5-5. </span>Indicating Incompatibility by changing the SOAP Action</i></p>
                              <div class="exampleInner"><pre>
  &lt;binding name="reservationSOAPBinding" 
***************
*** 2945,2949 ****
      <div class="div4">
  	
! <h5><a name="N1125B"></a>5.2.5.8 Indicating Incompatibility by Changing the Element Content</h5>
  	<p> The namespace or name of the makeReservation element can be changed, and
  	    then the interface and bindings changed. To indicate incompatibility,
--- 2949,2953 ----
      <div class="div4">
  	
! <h5><a name="N70235"></a>5.2.5.8 Indicating Incompatibility by Changing the Element Content</h5>
  	<p> The namespace or name of the makeReservation element can be changed, and
  	    then the interface and bindings changed. To indicate incompatibility,
***************
*** 2951,2955 ****
  	    fault. The new interface, with a changed makeReservation, is:</p>
  	<div class="exampleOuter">
! 	    <p class="exampleHead" style="text-align: left"><a name="example-versioning-changing-element-content"></a><i><span>Example 5-6. </span>Indicating incompatibility by changing the element content</i></p>
  	    <div class="exampleInner"><pre>
  &lt;xs:element name="ghns2:makeReservation" type="ghns:tmakeReservation"/&gt;
--- 2955,2959 ----
  	    fault. The new interface, with a changed makeReservation, is:</p>
  	<div class="exampleOuter">
! 	    <p style="text-align: left" class="exampleHead"><a name="example-versioning-changing-element-content"></a><i><span>Example 5-6. </span>Indicating incompatibility by changing the element content</i></p>
  	    <div class="exampleInner"><pre>
  &lt;xs:element name="ghns2:makeReservation" type="ghns:tmakeReservation"/&gt;
***************
*** 3046,3050 ****
  
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="reservationDetails-OMX736.xml"></a><i><span>Example 5-7. </span>Detail for Reservation OMX736</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;reservationDetails
--- 3050,3054 ----
  
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="reservationDetails-OMX736.xml"></a><i><span>Example 5-7. </span>Detail for Reservation OMX736</i></p>
  					<div class="exampleInner"><pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;reservationDetails
***************
*** 3075,3079 ****
  
  				<div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="reservationDetails.wsdl"></a><i><span>Example 5-8. </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/@@@@/@@/wsdl"
--- 3079,3083 ----
  
  				<div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="reservationDetails.wsdl"></a><i><span>Example 5-8. </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/@@@@/@@/wsdl"
***************
*** 3140,3144 ****
  
  	<div class="exampleOuter">
! 		<p class="exampleHead" style="text-align: left"><a name="reservationDetails.xsd"></a><i><span>Example 5-9. </span>
  			The Reservation Details Web Service XML Schema:
  			reservationDetails.xsd
--- 3144,3148 ----
  
  	<div class="exampleOuter">
! 		<p style="text-align: left" class="exampleHead"><a name="reservationDetails.xsd"></a><i><span>Example 5-9. </span>
  			The Reservation Details Web Service XML Schema:
  			reservationDetails.xsd
***************
*** 3246,3250 ****
  					</p>
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="reservationList-all.xml"></a><i><span>Example 5-10. </span>
  							Response from the Reservation List Web
  							Service</i></p>
--- 3250,3254 ----
  					</p>
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="reservationList-all.xml"></a><i><span>Example 5-10. </span>
  							Response from the Reservation List Web
  							Service</i></p>
***************
*** 3307,3311 ****
  
  					<div class="exampleOuter">
! 						<p class="exampleHead" style="text-align: left"><a name="reservationList.wsdl"></a><i><span>Example 5-11. </span>
  							The Reservation List Web Service
  							Description: reservationList.wsdl
--- 3311,3315 ----
  
  					<div class="exampleOuter">
! 						<p style="text-align: left" class="exampleHead"><a name="reservationList.wsdl"></a><i><span>Example 5-11. </span>
  							The Reservation List Web Service
  							Description: reservationList.wsdl
***************
*** 3400,3404 ****
  <p><a href="#reservationList.xsd">Example 5-12</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 5-12. </span>The Reservation List Schema: reservationList.xsd</i></p>
  <div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
--- 3404,3408 ----
  <p><a href="#reservationList.xsd">Example 5-12</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 5-12. </span>The Reservation List Schema: reservationList.xsd</i></p>
  <div class="exampleInner"><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
***************
*** 3480,3484 ****
  
  					<div class="exampleOuter">
! <p class="exampleHead" style="text-align: left"><a name="reservationServiceReferences-HSG635.xml"></a><i><span>Example 5-13. </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;
--- 3484,3488 ----
  
  					<div class="exampleOuter">
! <p style="text-align: left" class="exampleHead"><a name="reservationServiceReferences-HSG635.xml"></a><i><span>Example 5-13. </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;
***************
*** 3502,3506 ****
  <h4><a name="reservationDetails_HTTP"></a>5.3.3 Reservation Details Web Service Using HTTP Transfer</h4><p>This section presents a variation on the example in <a href="#reservationDetails"><b>5.3.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 5-14. </span>
  							Reservation Details Web Service Using HTTP Transfer</i></p>
  						<div class="exampleInner"><pre>
--- 3506,3510 ----
  <h4><a name="reservationDetails_HTTP"></a>5.3.3 Reservation Details Web Service Using HTTP Transfer</h4><p>This section presents a variation on the example in <a href="#reservationDetails"><b>5.3.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 5-14. </span>
  							Reservation Details Web Service Using HTTP Transfer</i></p>
  						<div class="exampleInner"><pre>
***************
*** 3540,3544 ****
  				</p>
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example_reservationList_HTTP_GET"></a><i><span>Example 5-15. </span>
  						Reservation List Web Service Using HTTP GET
  					</i></p>
--- 3544,3548 ----
  				</p>
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example_reservationList_HTTP_GET"></a><i><span>Example 5-15. </span>
  						Reservation List Web Service Using HTTP GET
  					</i></p>
***************
*** 3590,3594 ****
  				</p>
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example_reservationList_HTTP_GET_single"></a><i><span>Example 5-16. </span>
  						Query Sequence Using a Single Query Type
  					</i></p>
--- 3594,3598 ----
  				</p>
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example_reservationList_HTTP_GET_single"></a><i><span>Example 5-16. </span>
  						Query Sequence Using a Single Query Type
  					</i></p>
***************
*** 3618,3622 ****
  				</p>
  				<div class="exampleOuter">
! 					<p class="exampleHead" style="text-align: left"><a name="example_reservationList_HTTP_GET_single_wsdl"></a><i><span>Example 5-17. </span>WSDL 2.0 for Using a Single Query Type</i></p>
  					<div class="exampleInner"><pre>
  						. . .
--- 3622,3626 ----
  				</p>
  				<div class="exampleOuter">
! 					<p style="text-align: left" class="exampleHead"><a name="example_reservationList_HTTP_GET_single_wsdl"></a><i><span>Example 5-17. </span>WSDL 2.0 for Using a Single Query Type</i></p>
  					<div class="exampleInner"><pre>
  						. . .
***************
*** 3687,3691 ****
  <h3><a name="adv-rdf-mapping"></a>5.5 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>
  
--- 3691,3695 ----
  <h3><a name="adv-rdf-mapping"></a>5.5 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 Tuesday, 27 September 2005 21:50:24 UTC