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

Featured Videos

Java Generics

Java ForkJoinPool

P2P Networks Introduction



















Close TOC
All Tutorial Trails
All Trails
Table of contents (TOC) for this tutorial trail
Trail TOC
Table of contents (TOC) for this tutorial
Page TOC
Previous tutorial in this tutorial trail
Previous
Next tutorial in this tutorial trail
Next