System.Web.Services.Discovery.SoapBinding Class

Represents a SOAP binding in a discovery document. This class cannot be inherited.

See Also: SoapBinding Members

Syntax

[System.Xml.Serialization.XmlRoot("soap", Namespace="http://schemas.xmlsoap.org/disco/soap/", IsNullable=true)]
public sealed class SoapBinding

Remarks

A SOAP binding is similar to an interface for XML Web services. It is useful for versioning and when you look for a XML Web service implementing a specific SOAP binding. For instance, a discovery document might contain optional information about SOAP bindings, which specify the SOAP bindings implemented by referenced Web Servcies. SOAP bindings are specified within the XML document containd within a discovery document by adding a SOAP XML element with an XML namespace equal to the SoapBinding.Namespace constant. The SoapBinding.Address property specifies the URL of the XML Web service and the SoapBinding.Binding property specifies the SOAP binding implemented by that XML Web service.

Requirements

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0