18 - WSDL 1.1 Port Element

The port element describes an individual endpoint by specifying a single address for a binding.

The name attribute of the port element is used for defining a unique name among all the ports that can be defined within the WSDL 1.1 document.

The binding attribute of the port element is used for referencing the binding that it defines.

A port cannot specify more than one address.

A port cannot specify any binding information other than the address information.

The following is an example of the ports element in a WSDL 1.1 file. 

<wsdl:port binding = "impl:WSDemoSoapBinding" name = "WSDemo">
    <wsdlsoap:address location = " yoursite.com/WebServiceDemo/services/WSDemo"/>
</wsdl:port>

Like us on Facebook