Tech and Media Labs
This site uses cookies to improve the user experience.




WSDL 2.0 - service

Jakob Jenkov
Last update: 2014-05-23

The WSDL service element describes the endpoint of your web service. In other words, the address where the web service can be reached.

Here is a service example:

<service
     name     ="latestTutorialService"
     interface="tns:latestTutorialInterface">

   <endpoint name ="latestTutorialEndpoint"
          binding ="tns:latestTutorialSOAPBinding"
          address ="http://jenkov.com/latestTutorial"/>

</service>

The name attribute describes the name of the service you are defining with the service element.

The interface attribute specifies which interface element this service element is related to.

The endpoint element describes the address of the web service. The endpoint binding attribute describes what binding element this endpoint uses. In other words, the protocol via which you can access the service. The address attribute describes the URI at which you can access the service.

Jakob Jenkov




Copyright  Jenkov Aps
Close TOC