Name

ContractReference

Synopsis

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 represents 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.

Public Class ContractReference : Inherits DiscoveryReference
' Public Constructors
   Public Sub New() 
   Public Sub New(ByVal href As String) 
   Public Sub New(ByVal href As String, 
        ByVal docRef As String) 
' Public Shared Fields
   public const Namespace As String        // =http://schemas.xmlsoap.org/disco/scl/
                  ' Public Instance Properties
   Public ReadOnly Property Contract As ServiceDescription  
   Overrides Public ReadOnly Property DefaultFilename As String  
   Public Property DocRef As String  
   Public Property Ref As String  
   Overrides Public Property Url As String  
' Public Instance Methods
   Overrides Public Function ReadDocument(
        ByVal stream As System.IO.Stream) As Object  
   Overrides Public Sub WriteDocument(
        ByVal document As Object, 
        ByVal stream As System.IO.Stream) 
' Protected Instance Methods
   Overrides Protected Friend Sub Resolve(
        ByVal contentType As String, 
        ByVal stream As System.IO.Stream) 
End Class

Hierarchy

System.ObjectDiscoveryReference ContractReference

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.