Home | | Web Technology | WSDL Service Element

Chapter: Web Technology : Web Services

WSDL Service Element

The element defines the ports supported by the Web service. For eachof the supported protocols, there is one port element. The service element is a collection of ports.

WSDL Service Element

 

The <service> element defines the ports supported by the Web service. For eachof the supported protocols, there is one port element. The service element is a collection of ports.

 

Web service clients can learn from the service element where to access the service, through which port to access the Web service, and how the communication messages are defined.

 

A <port> element defines an individual endpoint by specifying a single address for a binding. Here is the pice of code from Example:

 

<service name="Hello_Service">

 

<documentation>WSDL File for HelloService</documentation> <port binding="tns:Hello_Binding" name="Hello_Port"> <soap:address

 

 

location="http://www.examples.com/SayHello/">

</port>

</service>

 

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
Web Technology : Web Services : WSDL Service Element |


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2024 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.