Name

Port

Synopsis

This class represents the WSDL <port> element. It defines a service endpoint, which is the URL required to access the web service. In a WSDL document generated by ASP.NET, you will find three <port> elements—one for each type of transmission (HTTP GET, HTTP POST, and SOAP). Each element will point to the same URL, which is the fully qualified location of your .asmx file (for example, http://www.mysite.com/ws/MyService.asmx)

Public NotInheritable Class Port : Inherits DocumentableItem
' Public Constructors
   Public Sub New() 
' Public Instance Properties
   Public Property Binding As XmlQualifiedName  
   Public ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection  
   Public Property Name As String  
   Public ReadOnly Property Service As Service  
End Class

Hierarchy

System.ObjectDocumentableItem Port

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.