System.Web.Services.Discovery.ContractReference Class

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

See Also: ContractReference Members


[System.Xml.Serialization.XmlRoot("contractRef", Namespace="", IsNullable=true)]
public class ContractReference : DiscoveryReference


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.


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