You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
628 lines
27 KiB
628 lines
27 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content=
|
|
"text/html; charset=utf-8" />
|
|
<title>Web Services Description Language (WSDL) Version 2.0 SOAP
|
|
1.1 Binding</title>
|
|
|
|
<style type="text/css" xml:space="preserve">
|
|
/*<![CDATA[*/
|
|
code { font-family: monospace; }
|
|
|
|
div.constraint,
|
|
div.issue,
|
|
div.note,
|
|
div.notice { margin-left: 2em; }
|
|
|
|
ol.enumar { list-style-type: decimal; }
|
|
ol.enumla { list-style-type: lower-alpha; }
|
|
ol.enumlr { list-style-type: lower-roman; }
|
|
ol.enumua { list-style-type: upper-alpha; }
|
|
ol.enumur { list-style-type: upper-roman; }
|
|
|
|
dt.label { display: run-in; }
|
|
|
|
li, p { margin-top: 0.3em;
|
|
margin-bottom: 0.3em; }
|
|
|
|
.diff-chg { background-color: yellow; }
|
|
.diff-del { background-color: red; text-decoration: line-through;}
|
|
.diff-add { background-color: lime; }
|
|
|
|
table { empty-cells: show; }
|
|
|
|
table caption {
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
text-align: left;
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
div.issue {
|
|
color: red;
|
|
}
|
|
.rfc2119 {
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
div.exampleInner pre { margin-left: 1em;
|
|
margin-top: 0em; margin-bottom: 0em}
|
|
div.exampleOuter {border: 4px double gray;
|
|
margin: 0em; padding: 0em}
|
|
div.exampleInner { background-color: #d5dee3;
|
|
border-top-width: 4px;
|
|
border-top-style: double;
|
|
border-top-color: #d3d3d3;
|
|
border-bottom-width: 4px;
|
|
border-bottom-style: double;
|
|
border-bottom-color: #d3d3d3;
|
|
padding: 4px; margin: 0em }
|
|
div.exampleWrapper { margin: 4px }
|
|
div.exampleHeader { font-weight: bold;
|
|
margin: 4px}
|
|
|
|
th { color: #000000; background-color: #CCCC99; }
|
|
span.test-assertion { background-color: #FFC0CB; }
|
|
span.test-assertion-tr:hover { background-color: #FFC0CB; }
|
|
/*]]>*/
|
|
</style>
|
|
<link rel="stylesheet" type="text/css" href=
|
|
"http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE.css" />
|
|
</head>
|
|
<body>
|
|
<div class="head">
|
|
<p><a href="http://www.w3.org/"><img src=
|
|
"http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width=
|
|
"72" /></a></p>
|
|
<h1><a name="title" id="title"></a>Web Services Description
|
|
Language (WSDL) Version 2.0 SOAP 1.1 Binding</h1>
|
|
<h2><a name="w3c-doctype" id="w3c-doctype"></a>W3C Working Group
|
|
Note 26 June 2007</h2>
|
|
<dl>
|
|
<dt>This version:</dt>
|
|
<dd><a href=
|
|
"http://www.w3.org/TR/2007/NOTE-wsdl20-soap11-binding-20070626">http://www.w3.org/TR/2007/NOTE-wsdl20-soap11-binding-20070626</a></dd>
|
|
<dt>Latest version:</dt>
|
|
<dd><a href=
|
|
"http://www.w3.org/TR/wsdl20-soap11-binding">http://www.w3.org/TR/wsdl20-soap11-binding</a></dd>
|
|
<dt>Previous version:</dt>
|
|
<dd><a href=
|
|
"http://www.w3.org/TR/2007/WD-wsdl20-soap11-binding-20070523">http://www.w3.org/TR/2007/WD-wsdl20-soap11-binding-20070523</a></dd>
|
|
<dt>Editor:</dt>
|
|
<dd>Asir S. Vedamuthu, Microsoft, formerly webMethods</dd>
|
|
</dl>
|
|
<p>This document is also available in these non-normative formats:
|
|
<a href="wsdl20-soap11-binding.pdf">PDF</a>, <a href=
|
|
"wsdl20-soap11-binding.ps">PostScript</a>, <a href=
|
|
"wsdl20-soap11-binding.xml">XML</a>, and <a href=
|
|
"wsdl20-soap11-binding.txt">plain text</a>.</p>
|
|
<p class="copyright"><a href=
|
|
"http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2007 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup>
|
|
(<a href="http://www.csail.mit.edu/"><acronym title=
|
|
"Massachusetts Institute of Technology">MIT</acronym></a>, <a href=
|
|
"http://www.ercim.org/"><acronym title=
|
|
"European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
|
|
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved.
|
|
W3C <a href=
|
|
"http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
|
|
<a href=
|
|
"http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
|
|
and <a href=
|
|
"http://www.w3.org/Consortium/Legal/copyright-documents">document
|
|
use</a> rules apply.</p>
|
|
</div>
|
|
<hr />
|
|
<div>
|
|
<h2><a name="abstract" id="abstract"></a>Abstract</h2>
|
|
<p>WSDL SOAP 1.1 Binding describes the concrete details for using
|
|
WSDL 2.0 in conjunction with SOAP 1.1 [<cite><a href=
|
|
"#SOAP11">SOAP11</a></cite>] protocol.</p>
|
|
</div>
|
|
<div>
|
|
<h2><a name="status" id="status"></a>Status of this Document</h2>
|
|
<p><em>This section describes the status of this document at the
|
|
time of its publication. Other documents may supersede this
|
|
document. A list of current W3C publications and the latest
|
|
revision of this technical report can be found in the <a href=
|
|
"http://www.w3.org/TR/">W3C technical reports index</a> at
|
|
http://www.w3.org/TR/.</em></p>
|
|
<p>This is a <a href=
|
|
"http://www.w3.org/2005/10/Process-20051014/tr.html#WGNote">W3C
|
|
Working Group Note</a> of Web Services Description Language (WSDL)
|
|
Version 2.0 SOAP 1.1 Binding. It has been produced by the <a href=
|
|
"http://www.w3.org/2002/ws/desc/">Web Services Description Working
|
|
Group</a>, which is part of the <a href=
|
|
"http://www.w3.org/2002/ws/Activity">W3C Web Services
|
|
Activity</a>.</p>
|
|
<p>Please send comments about this document to the public <a href=
|
|
"mailto:public-ws-desc-comments@w3.org">public-ws-desc-comments@w3.org</a>
|
|
mailing list (<a href=
|
|
"http://lists.w3.org/Archives/Public/public-ws-desc-comments/">public
|
|
archive</a>).</p>
|
|
<p>A <a href="wsdl20-soap11-binding-diff.html">diff-marked version
|
|
against the previous version of this document</a> is available.</p>
|
|
<p>Implementers are invited to send feedback to the public <a href=
|
|
"mailto:public-ws-desc-comments@w3.org">public-ws-desc-comments@w3.org</a>
|
|
mailing list (<a href=
|
|
"http://lists.w3.org/Archives/Public/public-ws-desc-comments/">public
|
|
archive</a>).</p>
|
|
<p>Publication as a Working Group Note does not imply endorsement
|
|
by the W3C Membership. However, this Working group Note reflects
|
|
the consensus of the Working Group, who provide it for the
|
|
convenience of the community.</p>
|
|
<p>This document is governed by the <a href=
|
|
"http://www.w3.org/TR/2002/NOTE-patent-practice-20020124">24
|
|
January 2002 CPP</a> as amended by the <a href=
|
|
"http://www.w3.org/2004/02/05-pp-transition">W3C Patent Policy
|
|
Transition Procedure</a>. W3C maintains a <a href=
|
|
"http://www.w3.org/2002/ws/desc/2/04/24-IPR-statements.html">public
|
|
list of any patent disclosures</a> made in connection with the
|
|
deliverables of the group; that page also includes instructions for
|
|
disclosing a patent. An individual who has actual knowledge of a
|
|
patent which the individual believes contains <a href=
|
|
"http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">
|
|
Essential Claim(s)</a> must disclose the information in accordance
|
|
with <a href=
|
|
"http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">
|
|
section 6 of the W3C Patent Policy</a>.</p>
|
|
</div>
|
|
<div class="toc">
|
|
<h2><a name="contents" id="contents"></a>Table of Contents</h2>
|
|
<p class="toc">1. <a href="#intro">Introduction</a>
|
|
<br />
|
|
    1.1 <a href="#notcon">Notational
|
|
Conventions</a>
|
|
<br />
|
|
2. <a href="#soap11-binding">SOAP 1.1 Binding</a>
|
|
<br />
|
|
    2.1 <a href=
|
|
"#soap11-binding-decl">Identifying a SOAP 1.1 Binding</a>
|
|
<br />
|
|
    2.2 <a href=
|
|
"#soap11-binding-description">Description</a>
|
|
<br />
|
|
    2.3 <a href="#soap11-defaults">Default
|
|
Binding Rule</a>
|
|
<br />
|
|
    2.4 <a href="#Example">Example
|
|
(Non-Normative)</a>
|
|
<br />
|
|
3. <a href="#References">References</a>
|
|
<br />
|
|
    3.1 <a href=
|
|
"#Normative-References">Normative References</a>
|
|
<br />
|
|
    3.2 <a href=
|
|
"#Informative-References">Informative References</a>
|
|
<br /></p>
|
|
<h3><a name="appendices" id="appendices"></a>Appendix</h3>
|
|
<p class="toc">A. <a href="#acknowledgments">Acknowledgements</a>
|
|
(Non-Normative)
|
|
<br /></p>
|
|
</div>
|
|
<hr />
|
|
<div class="body">
|
|
<div class="div1">
|
|
<h2><a name="intro" id="intro"></a>1. Introduction</h2>
|
|
<p>The Web Services Description Language (WSDL) provides a model
|
|
and an XML format for describing Web services. WSDL SOAP 1.1
|
|
Binding (this specification) describes the binding extension for
|
|
SOAP 1.1 [<cite><a href="#SOAP11">SOAP11</a></cite>] protocol. This
|
|
binding is intended to ease the migration from WSDL 1.1 to WSDL 2.0
|
|
for implementers describing services that use SOAP 1.1 protocol.
|
|
And, this binding allows users to continue using SOAP 1.1
|
|
protocol.</p>
|
|
<p>This specification depends on WSDL 2.0 [<cite><a href=
|
|
"#WSDL-PART1">WSDL 2.0 Core</a></cite>] and WSDL 2.0 Adjuncts
|
|
[<cite><a href="#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>].</p>
|
|
<div class="div2">
|
|
<h3><a name="notcon" id="notcon"></a>1.1 Notational
|
|
Conventions</h3>
|
|
<p>This specification uses a number of namespace prefixes
|
|
throughout; they are listed in <a href="#tabprefns">Table 1-1</a>.
|
|
Note that the choice of any namespace prefix is arbitrary and not
|
|
semantically significant (see [<cite><a href="#XMLInfoSet">XML
|
|
Information Set</a></cite>]).</p>
|
|
<p>This specification uses curly brackets (e.g., {property}) to
|
|
indicate a property in the WSDL component model, as defined in Part
|
|
1 [<cite><a href="#WSDL-PART1">WSDL 2.0 Core</a></cite>] Component
|
|
Model.</p>
|
|
<a name="tabprefns" id="tabprefns"></a>
|
|
<table border="1" summary=
|
|
"Mapping of prefixes used in this document to their associated namespace name">
|
|
<caption>Table 1-1. Prefixes and Namespaces used in this
|
|
specification</caption>
|
|
<tbody>
|
|
<tr>
|
|
<th rowspan="1" colspan="1">Prefix</th>
|
|
<th rowspan="1" colspan="1">Namespace</th>
|
|
<th rowspan="1" colspan="1">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="1" colspan="1">wsdl</td>
|
|
<td rowspan="1" colspan="1">"http://www.w3.org/ns/wsdl"</td>
|
|
<td rowspan="1" colspan="1">A normative XML Schema [<cite><a href=
|
|
"#XMLSchemaP1">XML Schema: Structures</a></cite>], [<cite><a href=
|
|
"#XMLSchemaP2">XML Schema: Datatypes</a></cite>] document for the
|
|
"http://www.w3.org/ns/wsdl" namespace can be found at <a href=
|
|
"http://www.w3.org/ns/wsdl">http://www.w3.org/ns/wsdl</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="1" colspan="1">wsoap</td>
|
|
<td rowspan="1" colspan="1">"http://www.w3.org/ns/wsdl/soap"</td>
|
|
<td rowspan="1" colspan="1">A normative XML Schema [<cite><a href=
|
|
"#XMLSchemaP1">XML Schema: Structures</a></cite>], [<cite><a href=
|
|
"#XMLSchemaP2">XML Schema: Datatypes</a></cite>] document for the
|
|
"http://www.w3.org/ns/wsdl/soap" namespace can be found at <a href=
|
|
"http://www.w3.org/ns/wsdl/soap">http://www.w3.org/ns/wsdl/soap</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="1" colspan="1">whttp</td>
|
|
<td rowspan="1" colspan="1">"http://www.w3.org/ns/wsdl/http"</td>
|
|
<td rowspan="1" colspan="1">A normative XML Schema [<cite><a href=
|
|
"#XMLSchemaP1">XML Schema: Structures</a></cite>], [<cite><a href=
|
|
"#XMLSchemaP2">XML Schema: Datatypes</a></cite>] document for the
|
|
"http://www.w3.org/ns/wsdl/http" namespace can be found at <a href=
|
|
"http://www.w3.org/ns/wsdl/http">http://www.w3.org/ns/wsdl/http</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="1" colspan="1">xs</td>
|
|
<td rowspan="1" colspan="1">"http://www.w3.org/2001/XMLSchema"</td>
|
|
<td rowspan="1" colspan="1">Defined in the W3C XML Schema
|
|
specification [<cite><a href="#XMLSchemaP1">XML Schema:
|
|
Structures</a></cite>], [<cite><a href="#XMLSchemaP2">XML Schema:
|
|
Datatypes</a></cite>].</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<br />
|
|
<p>Namespace names of the general form "http://example.org/..." and
|
|
"http://example.com/..." represent application or context-dependent
|
|
URIs [<cite><a href="#RFC3986">IETF RFC 3986</a></cite>].</p>
|
|
<p>All parts of this specification are normative, with the
|
|
EXCEPTION of examples, and sections explicitly marked as
|
|
"Non-Normative".</p>
|
|
</div>
|
|
</div>
|
|
<div class="div1">
|
|
<h2><a name="soap11-binding" id="soap11-binding"></a>2. SOAP 1.1
|
|
Binding</h2>
|
|
<div class="div2">
|
|
<h3><a name="soap11-binding-decl" id="soap11-binding-decl"></a>2.1
|
|
Identifying a SOAP 1.1 Binding</h3>
|
|
<p>A SOAP Binding is identified as a SOAP 1.1 binding by assigning
|
|
the value "1.1" to the {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-Binding.soapversion">soap
|
|
version</a>} property of the <a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-20070626#component-Binding">Binding</a>
|
|
component.</p>
|
|
</div>
|
|
<div class="div2">
|
|
<h3><a name="soap11-binding-description" id=
|
|
"soap11-binding-description"></a>2.2 Description</h3>
|
|
<p>The SOAP 1.1 binding enables Web Service applications to use
|
|
SOAP 1.1 [<cite><a href="#SOAP11">SOAP11</a></cite>] by extending
|
|
the SOAP binding in the WSDL Adjuncts specification [<cite><a href=
|
|
"#WSDL-PART2">WSDL 2.0 Adjuncts</a></cite>]. This binding supports
|
|
the following:</p>
|
|
<ul>
|
|
<li>
|
|
<p><strong>Message Exchange Patterns</strong> - supports two
|
|
Message Exchange Patterns defined by the WSDL Adjuncts
|
|
specification [<cite><a href="#WSDL-PART2">WSDL 2.0
|
|
Adjuncts</a></cite>]: In-Out and In-Only.</p>
|
|
</li>
|
|
<li>
|
|
<p><strong>SOAP Modules</strong> - supports SOAP Modules and allows
|
|
users to indicate SOAP Modules using the <a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#component-SOAPModule">
|
|
SOAP Module</a> component. For SOAP 1.1, this specification adopts
|
|
the conceptual definition of SOAP Module as described in the SOAP
|
|
1.2 specification [<cite><a href="#SOAP12-PART1">SOAP 1.2 Part 1:
|
|
Messaging Framework (Second Edition)</a></cite>].</p>
|
|
<p>The term "SOAP Module" (also known as SOAP Extensions) refers to
|
|
the specification of the syntax and semantics of one or more SOAP
|
|
header blocks.</p>
|
|
<div class="note">
|
|
<p class="prefix"><strong>Note:</strong></p>
|
|
<p>An IRI [<cite><a href="#RFC3987">IETF RFC 3987</a></cite>] is
|
|
required to indicate a SOAP Module in a SOAP 1.1 binding.</p>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<p><strong>SOAP 1.1 HTTP Binding</strong> - supports the SOAP 1.1
|
|
HTTP binding defined in Section 6, SOAP 1.1 specification
|
|
[<cite><a href="#SOAP11">SOAP11</a></cite>]. This is indicated by
|
|
assigning the URI "http://www.w3.org/2006/01/soap11/bindings/HTTP/"
|
|
to the {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-Binding.soapunderlyingprotocol">soap
|
|
underlying protocol</a>} property.</p>
|
|
<p>The value of the {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-BindingOperation.soapaction">soap
|
|
action</a>} property, if present, identifies the value of the SOAP
|
|
1.1 SOAPAction HTTP request header field, Section 6.1.1, SOAP 1.1
|
|
specification [<cite><a href="#SOAP11">SOAP11</a></cite>].</p>
|
|
<p>The values of {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-BindingOperation.httplocation">http
|
|
location</a>} properties are ignored for SOAP 1.1 HTTP binding.</p>
|
|
<div class="note">
|
|
<p class="prefix"><strong>Note:</strong></p>
|
|
<p>If the <a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-20070626#component-InterfaceOperation">
|
|
Interface Operation</a> component's {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-20070626#property-InterfaceOperation.messageexchangepattern">message
|
|
exchange pattern</a>} property has the value
|
|
"http://www.w3.org/ns/wsdl/in-only" and the <a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-20070626#component-Binding">Binding</a>
|
|
component's {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-Binding.soapunderlyingprotocol">soap
|
|
underlying protocol</a>} property has the
|
|
value"http://www.w3.org/2006/01/soap11/bindings/HTTP/", then the
|
|
HTTP response is undefined. For specific guidance on what the HTTP
|
|
response ought to be, implementers are referred to the Basic
|
|
Profile [<cite><a href="#WSI-BP10">BP10</a></cite>] and/or the
|
|
latest version of this specification(s).</p>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<p><strong>Other SOAP 1.1 Underlying Protocols</strong> - supports
|
|
other SOAP 1.1 underlying protocols. Other values can be used for
|
|
the {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-Binding.soapunderlyingprotocol">soap
|
|
underlying protocol</a>} property in conjunction with the SOAP 1.1
|
|
binding provided that the semantics of such protocols are
|
|
consistent with this binding.</p>
|
|
</li>
|
|
</ul>
|
|
<p>The values of {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-Binding.soapmepdefault">soap
|
|
mep default</a>}, {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-BindingOperation.soapmep">soap
|
|
mep</a>} and {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-BindingFault.soapfaultsubcodes">soap
|
|
fault subcodes</a>} properties are ignored for SOAP 1.1
|
|
binding.</p>
|
|
</div>
|
|
<div class="div2">
|
|
<h3><a name="soap11-defaults" id="soap11-defaults"></a>2.3 Default
|
|
Binding Rule</h3>
|
|
<p>The following default binding rule applies to SOAP 1.1
|
|
binding:</p>
|
|
<p><em>SOAP Action.</em> If the <a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-20070626#component-BindingOperation">
|
|
Binding Operation</a> component does NOT have a {<a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626#property-BindingOperation.soapaction">soap
|
|
action</a>} property defined, then the <em>quoted empty string
|
|
value ("")</em> value is used for the SOAP 1.1 SOAPAction HTTP
|
|
Header Field (see [<cite><a href="#SOAP11">SOAP11</a></cite>]).</p>
|
|
</div>
|
|
<div class="div2">
|
|
<h3><a name="Example" id="Example"></a>2.4 Example
|
|
(Non-Normative)</h3>
|
|
<p>The following example shows the WSDL definition of a simple
|
|
service providing stock quotes. This service supports a single
|
|
operation called GetLastTradePrice, which is deployed using the
|
|
SOAP 1.1 protocol over HTTP. GetLastTradePrice operation request
|
|
takes a ticker symbol of type string, and returns the price as a
|
|
float.</p>
|
|
<div class="exampleInner">
|
|
<pre xml:space="preserve">
|
|
<?xml version="1.0"?>
|
|
<wsdl:description name="StockQuote" xmlns:wsdl="http://www.w3.org/ns/wsdl"
|
|
targetNamespace="http://example.com/stockquote"
|
|
xmlns:tns="http://example.com/stockquote"
|
|
<strong>xmlns:wsoap="http://www.w3.org/ns/wsdl/soap"</strong>>
|
|
|
|
<wsdl:types>
|
|
<xs:schema targetNamespace="http://example.com/stockquote"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:element name="TradePriceRequest">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="tickerSymbol" type="xs:string"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="TradePrice">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="price" type="xs:float"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|
|
</wsdl:types>
|
|
|
|
<wsdl:interface name="StockQuoteInterface">
|
|
<wsdl:operation name="GetLastTradePrice"
|
|
pattern="http://www.w3.org/ns/wsdl/in-out">
|
|
<wsdl:input element="tns:GetLastTradePriceInput"/>
|
|
<wsdl:output element="tns:GetLastTradePriceOutput"/>
|
|
</wsdl:operation>
|
|
</wsdl:interface>
|
|
|
|
<wsdl:binding name="StockQuoteSoapBinding" interface="tns:StockQuoteInterface"
|
|
<strong>type="http://www.w3.org/ns/wsdl/soap"</strong>
|
|
<strong>wsoap:version="1.1"</strong>
|
|
<strong>wsoap:protocol="http://www.w3.org/2006/01/soap11/bindings/HTTP/"</strong>>
|
|
<wsdl:operation ref="tns:GetLastTradePrice"
|
|
<strong>wsoap:action="http://example.com/GetLastTradePrice"</strong>/>
|
|
</wsdl:binding>
|
|
|
|
<wsdl:service name="StockQuoteService" interface="tns:StockQuoteInterface">
|
|
<wsdl:documentation>My first service</wsdl:documentation>
|
|
<wsdl:endpoint name="StockQuoteEndPoint" binding="tns:StockQuoteBinding"
|
|
address="http://example.com/endpoint/stockquote"/>
|
|
</wsdl:service>
|
|
|
|
</wsdl:description>
|
|
|
|
</pre></div>
|
|
</div>
|
|
</div>
|
|
<div class="div1">
|
|
<h2><a name="References" id="References"></a>3. References</h2>
|
|
<div class="div2">
|
|
<h3><a name="Normative-References" id=
|
|
"Normative-References"></a>3.1 Normative References</h3>
|
|
<dl>
|
|
<dt class="label"><a name="WSI-BP10" id="WSI-BP10"></a>[BP10]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html">Basic
|
|
Profile Version 1.0</a></cite>, Keith Ballinger, David Ehnebuske,
|
|
Martin Gudgin, Mark Nottingham, and Prasad Yendluri, Editors. The
|
|
Web Services-Interoperability Organization, Final Material 16 April
|
|
2004.</dd>
|
|
<dt class="label"><a name="RFC2616" id="RFC2616"></a>[IETF RFC
|
|
2616]</dt>
|
|
<dd><cite><a href="http://www.ietf.org/rfc/rfc2616.txt">Hypertext
|
|
Transfer Protocol -- HTTP/1.1</a></cite>, R. Fielding, J. Gettys,
|
|
J. Mogul, H. Frystyk, L. Masinter, P. Leach, T. Berners-Lee,
|
|
Authors. Internet Engineering Task Force, June 1999. Available at
|
|
http://www.ietf.org/rfc/rfc2616.txt.</dd>
|
|
<dt class="label"><a name="RFC3986" id="RFC3986"></a>[IETF RFC
|
|
3986]</dt>
|
|
<dd><cite><a href="http://www.ietf.org/rfc/rfc3986.txt">Uniform
|
|
Resource Identifiers (URI): Generic Syntax</a></cite>, T.
|
|
Berners-Lee, R. Fielding, L. Masinter, Authors. Internet
|
|
Engineering Task Force, January 2005. Available at
|
|
http://www.ietf.org/rfc/rfc3986.txt.</dd>
|
|
<dt class="label"><a name="RFC3987" id="RFC3987"></a>[IETF RFC
|
|
3987]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.ietf.org/rfc/rfc3987.txt">Internationalized Resource
|
|
Identifiers (IRIs)</a></cite>, M. Duerst, M. Suignard, Authors.
|
|
Internet Engineering Task Force, January 2005. Available at
|
|
http://www.ietf.org/rfc/rfc3987.txt.</dd>
|
|
<dt class="label"><a name="SOAP12-PART1" id=
|
|
"SOAP12-PART1"></a>[SOAP 1.2 Part 1: Messaging Framework (Second
|
|
Edition)]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2007/REC-soap12-part1-20070427/">SOAP Version
|
|
1.2 Part 1: Messaging Framework (Second Edition)</a></cite>, M.
|
|
Gudgin, et al., Editors. World Wide Web Consortium, 24 June 2003,
|
|
revised 27 April 2007. This version of the "SOAP Version 1.2 Part
|
|
1: Messaging Framework (Second Edition)" Recommendation is
|
|
http://www.w3.org/TR/2007/REC-soap12-part1-20070427/. The <a href=
|
|
"http://www.w3.org/TR/soap12-part1/">latest version of "SOAP
|
|
Version 1.2 Part 1: Messaging Framework"</a> is available at
|
|
http://www.w3.org/TR/soap12-part1/.</dd>
|
|
<dt class="label"><a name="WSDL-PART1" id="WSDL-PART1"></a>[WSDL
|
|
2.0 Core]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-20070626">Web Services
|
|
Description Language (WSDL) Version 2.0 Part 1: Core
|
|
Language</a></cite>, R. Chinnici, J-J. Moreau, A. Ryman, S.
|
|
Weerawarana, Editors. World Wide Web Consortium, 26 June 2007. This
|
|
version of the "Web Services Description Language (WSDL) Version
|
|
2.0 Part 1: Core Language" Specification is available is available
|
|
at http://www.w3.org/TR/2007/REC-wsdl20-20070626. The <a href=
|
|
"http://www.w3.org/TR/wsdl20">latest version of "Web Services
|
|
Description Language (WSDL) Version 2.0 Part 1: Core Language"</a>
|
|
is available at http://www.w3.org/TR/wsdl20.</dd>
|
|
<dt class="label"><a name="WSDL-PART2" id="WSDL-PART2"></a>[WSDL
|
|
2.0 Adjuncts]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626">Web
|
|
Services Description Language (WSDL) Version 2.0 Part 2:
|
|
Adjuncts</a></cite> , R. Chinnici, H. Haas, A. Lewis, J-J. Moreau,
|
|
D. Orchard, S. Weerawarana, Editors. World Wide Web Consortium, 26
|
|
June 2007. This version of the "Web Services Description Language
|
|
(WSDL) Version 2.0 Part 2: Adjuncts" Specification is available at
|
|
http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626. The
|
|
<a href="http://www.w3.org/TR/wsdl20-adjuncts">latest version of
|
|
"Web Services Description Language (WSDL) Version 2.0 Part 2:
|
|
Adjuncts"</a> is available at
|
|
http://www.w3.org/TR/wsdl20-adjuncts.</dd>
|
|
<dt class="label"><a name="XMLSchemaP1" id="XMLSchemaP1"></a>[XML
|
|
Schema: Structures]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/">XML Schema
|
|
Part 1: Structures Second Edition</a></cite>, H. Thompson, D.
|
|
Beech, M. Maloney, and N. Mendelsohn, Editors. World Wide Web
|
|
Consortium, 2 May 2001, revised 28 October 2004. This version of
|
|
the XML Schema Part 1 Recommendation is
|
|
http://www.w3.org/TR/2004/REC-xmlschema-1-20041028. The <a href=
|
|
"http://www.w3.org/TR/xmlschema-1/">latest version of XML Schema
|
|
Part 1</a> is available at http://www.w3.org/TR/xmlschema-1.</dd>
|
|
<dt class="label"><a name="XMLSchemaP2" id="XMLSchemaP2"></a>[XML
|
|
Schema: Datatypes]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/">XML Schema
|
|
Part 2: Datatypes Second Edition</a></cite>, P. Byron and A.
|
|
Malhotra, Editors. World Wide Web Consortium, 2 May 2001, revised
|
|
28 October 2004. This version of the XML Schema Part 2
|
|
Recommendation is
|
|
http://www.w3.org/TR/2004/REC-xmlschema-2-20041028. The <a href=
|
|
"http://www.w3.org/TR/xmlschema-2/">latest version of XML Schema
|
|
Part 2</a> is available at http://www.w3.org/TR/xmlschema-2.</dd>
|
|
<dt class="label"><a name="XMLInfoSet" id="XMLInfoSet"></a>[XML
|
|
Information Set]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2004/REC-xml-infoset-20040204">XML
|
|
Information Set (Second Edition)</a></cite>, J. Cowan and R. Tobin,
|
|
Editors. World Wide Web Consortium, 24 October 2001, revised 4
|
|
February 2004. This version of the XML Information Set
|
|
Recommendation is
|
|
http://www.w3.org/TR/2004/REC-xml-infoset-20040204. The <a href=
|
|
"http://www.w3.org/TR/xml-infoset">latest version of XML
|
|
Information Set</a> is available at
|
|
http://www.w3.org/TR/xml-infoset.</dd>
|
|
</dl>
|
|
</div>
|
|
<div class="div2">
|
|
<h3><a name="Informative-References" id=
|
|
"Informative-References"></a>3.2 Informative References</h3>
|
|
<dl>
|
|
<dt class="label"><a name="SOAP11" id="SOAP11"></a>[SOAP11]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2000/NOTE-SOAP-20000508/">Simple Object
|
|
Access Protocol (SOAP) 1.1</a></cite>, Don Box, David Ehnebuske,
|
|
Gopal Kakivaya, Andrew Layman, Noah Mendelsohn, Henrik Frystyk
|
|
Nielsen, Satish Thatte, Dave Winer, Editors. World Wide Web
|
|
Consortium, Note 08 May 2000.</dd>
|
|
<dt class="label"><a name="SOAP12-PART2" id=
|
|
"SOAP12-PART2"></a>[SOAP 1.2 Part 2: Adjuncts (Second
|
|
Edition)]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2007/REC-soap12-part2-20070427/">SOAP Version
|
|
1.2 Part 2: Adjuncts (Second Edition)</a></cite>, M. Gudgin, et
|
|
al., Editors. World Wide Web Consortium, 24 June 2006, revised 27
|
|
April 2007. This version of the "SOAP Version 1.2 Part 2: Adjuncts
|
|
(Second Edition)" Recommendation is
|
|
http://www.w3.org/TR/2007/REC-soap12-part2-20070427/. The <a href=
|
|
"http://www.w3.org/TR/soap12-part2/">latest version of "SOAP
|
|
Version 1.2 Part 2: Adjuncts"</a> is available at
|
|
http://www.w3.org/TR/soap12-part2/.</dd>
|
|
<dt class="label"><a name="WSDL-PART0" id="WSDL-PART0"></a>[WSDL
|
|
2.0 Primer]</dt>
|
|
<dd><cite><a href=
|
|
"http://www.w3.org/TR/2007/REC-wsdl20-primer-20070626">Web Services
|
|
Description Language (WSDL) Version 2.0 Part 0: Primer</a></cite>,
|
|
D. Booth, C.K. Liu, Editors. World Wide Web Consortium, 26 June
|
|
2007. This version of "Web Services Description Language (WSDL)
|
|
Version 2.0 Part 0: Primer" is
|
|
http://www.w3.org/TR/2007/REC-wsdl20-primer-20070626. The <a href=
|
|
"http://www.w3.org/TR/wsdl20-primer">latest version of the "Web
|
|
Services Description Language (WSDL) Version 2.0 Part 0:
|
|
Primer"</a> document is available from
|
|
http://www.w3.org/TR/wsdl20-primer.</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="back div1">
|
|
<h2><a name="acknowledgments" id="acknowledgments"></a>A.
|
|
Acknowledgements (Non-Normative)</h2>
|
|
<p>This document is developed by the participants of the <a href=
|
|
"http://www.w3.org/2002/ws/desc/">W3C Web Service Description
|
|
Working Group</a>.</p>
|
|
<p>Many people have contributed ideas and feedback that has
|
|
improved this document. In particular, the editor acknowledges
|
|
contributions from Amy Gersema, webMethods.</p>
|
|
</div>
|
|
</body>
|
|
</html>
|