System.Web.Services.Discovery.SoapBinding Class

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

See Also: SoapBinding


[System.Xml.Serialization.XmlRoot("soap", Namespace="", IsNullable=true)]
public sealed class SoapBinding


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.


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

The members of System.Web.Services.Discovery.SoapBinding are listed below.

See Also: Object

Public Constructors

Initializes a new instance of the SoapBinding class.

Public Fields


The XML namespace of the element that specifies a SOAP binding within a discovery document.

Public Properties


Gets or sets the URL of the XML Web service implementing the SOAP binding.


Gets or sets the XML qualified name of the SOAP binding implemented by the XML Web service.