
Binding | 559
Description
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Binding
System.Web.Services.Description (system.web.services.dll)
sealed class
A WSDL document defines abstract information for data types, messages, and opera-
tions. A binding bridges the gap between abstract, protocol-independent information,
and the encoding of that information (the concrete physical representation of
messages on the wire). The Binding class represents the WSDL <binding> element, which
provides binding information for a single protocol. For example, the WSDL docu-
ment ASP.NET generates for a web service called StockQuotes would have three
bindings: StockQuotesHttpGet, StockQuotesHttpPost, and StockQuotesSoap.
A Binding contains a collection of OperationBinding objects (provided through the Operations
property). Bindings must define WSDL ports (represented by the Port class).
Figure 32-3
. Collection classes
implementsextends
CollectionBase
KEY
Abstract ClassClass Interface
Sealed
System System.Web.Services.Description
BindingCollection
FaultBindingCollection
ImportCollection
MessageCollection
MessagePartCollection
OperationCollection
OperationBindingCollection
OperationFaultCollection
PortCollection
PortTypeCollection
ServiceCollection
ServiceDecriptionCollection
ServiceDecriptionFormatExtensionCollection
MimeTextMatchCollection
MimePartCollection ...