
ContractReference | 595
Discovery
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
ContractReference
System.Web.Services.Discovery (system.web.services.dll)
class
This class represents a discovery document reference to a WSDL service description.
This is the most common type of reference in a discovery document and the most
useful, as it directly corresponds to a web service that the client can consume. The
Contract property returns the System.Web.Services.Description.ServiceDescription object that repre-
sents the service description. Ref provides the URL to the WSDL document as a string,
while DocRef provides the URL to the web service that the WSDL document describes.
Figure 33-1
. The System.Web.Services.Discovery namespace
implementsextends
KEY
Abstract ClassClass Interface
Sealed
System System.Web.Services.Discovery
DiscoveryClientResult
System.Web.Services.Protocols
DiscoveryDocument
SoapBinding
DiscoveryClientReferenceCollection
DiscoveryClientDocumentCollection
DiscoveryExceptionDictionary
DiscoveryReference
DiscoveryClientResultCollection
DiscoveryReferenceCollection
ContractReference
DiscoveryDocumentReference
SchemaReference
*
Exception
Object
*
HttpClientProtocol DicoveryClientProtocol
System.Collections
CollectionBase
DictionaryBase
public class ContractReference : DiscoveryReference {
// Public Constructors
public ContractReference ...