System.Web.Services.Discovery.ContractReference Class

Represents a reference in a discovery document to a service description.

See Also: ContractReference Members

Syntax

[System.Xml.Serialization.XmlRoot("contractRef", Namespace="http://schemas.xmlsoap.org/disco/scl/", IsNullable=true)]
public class ContractReference : DiscoveryReference

Remarks

XML Web services discovery involves discovering the available Web Services given an URL. The URL usually points to a discovery document, which typically has a.disco file name extension. Within a discovery document are references to information about the existance of XML Web services. These references can refer to service descriptions, XML Schema Definition language (XSD) schemas or other discovery documents. This class represents a reference to a Service Description.

Within a discovery document, a reference to a Service Description is contained within a contractRef XML element. The contractRef XML element has two attributes: ref and docRef. The contractRef element must have an XML namespace matching the ContractReference.Namespace constant, whereas the ref and docRef attributes are placed in the ContractReference.Ref and ContractReference.DocRef properties.

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