Port

Port

System.Web.Services.Description (system.web.services.dll)sealed class

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 sealed class Port : DocumentableItem { // Public Constructors    public Port( ); // Public Instance Properties    public XmlQualifiedName Binding{set; get; }    public ServiceDescriptionFormatExtensionCollection Extensions{get; }    public string Name{set; get; }    public Service Service{get; } }

Hierarchy

System.Object DocumentableItem Port

Returned By

PortCollection.this, ProtocolImporter.Port, ProtocolReflector.Port

Passed To

PortCollection.{Add( ), Contains( ), CopyTo( ), IndexOf( ), Insert( ), Remove( ), this}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net