Consider a simple example of fetching a random quote, used perhaps for flashing Thought-for-the-day kind of service. This could be used independently or as part of a web application, but in this example, it is simplified to be standalone. The service is implemented in a Java environment (service provider). Let us use the same WSDL as explained in the previous paragraphs.

For demonstrating interoperability, the example shows the client (service requestor) in a different environment, in this case Ruby on Rails, that is, the rails application calls the service that is running in a Java environment. It is equally easy to have the client in a different environment like Microsoft.NET or PHP or even in Java itself, in which the service ...

Get Web Technology: Theory and Practice now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.