19 - WSDL 1.1 Service Element

The service element describes a group of related ports.

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

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

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


Like us on Facebook