Web Service Interfaces

Jakob Jenkov
Last update: 2014-05-23

If a web service is to be "callable" for clients from the outside world, the client need a description of the service interface. Without a description of the interface, how would the client know what data to send to the service?

You can think of a service interface like an interface in Java or C#. The only extra information needed is where the service is located (IP address), and the message format used by the service. Here is what a service description should contain:

  • Interface Name
  • Operation Name(s) (if the service has more than one operation).
  • Operation Input Parameters
  • Operation Return Values
  • Service Message Format
  • Service Location (IP Address / URL)

How a web service interface description looks depends on the message format used by the web service. Currently, only SOAP web services has a standardized interface description - the Web Service Description Language (WSDL). WSDL will be described in its own trail later.

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