9.8 A BASIC EXAMPLE
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access