Binding

Binding

System.Web.Services.Description (system.web.services.dll)sealed class

A WSDL document defines abstract information for data types, messages, and operations. 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 document 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).

public sealed class Binding : DocumentableItem { // Public Constructors    public Binding( ); // Public Instance Properties    public ServiceDescriptionFormatExtensionCollection Extensions{get; }    public string Name{set; get; }    public OperationBindingCollection Operations{get; }    public ServiceDescription ServiceDescription{get; }    public XmlQualifiedName Type{set; get; } }

Hierarchy

System.Object DocumentableItem Binding

Returned By

BindingCollection.this, OperationBinding.Binding, ProtocolImporter.Binding, ProtocolReflector.Binding, ServiceDescriptionCollection.GetBinding( )

Passed To

BindingCollection.{Add( ), Contains( ), CopyTo( ), IndexOf( ), Insert( ), Remove( ), this}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net