System.Web.Services.Discovery.SoapBinding Class

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

See Also: SoapBinding

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

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

const
NamespaceString.

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

Public Properties

AddressString.

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

BindingXmlQualifiedName.

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