O'Reilly logo

Web Technology: Theory and Practice by M. Srinivasan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required