About this tutorial
Learn how to create a Web service that provides a DVD rental service and a client for that service. The next two tutorials will cover some additional services as outlined below:
- Two DVD rental services
- A rental service search aggregator service
The two DVD rental services have slightly different interfaces to show you how the search aggregator can search two (slightly) disparate sources. Initially we only focus on the client side of the Web service, which will access the aggregator that searches for and sends rental recommendations. The next 2 tutorials will cover the aggregator and DVD Rental provider's interfaces more in depth.
What you need to know for this tutorial
This tutorial assumes you have a working knowledge of Java programming and XML. Knowledge of J2EE technology is helpful but not required. All of the example applictions will be deployed on the IBM WebSphere® Application Server (Application Server) that ships as part of WebSphere Studio Application Developer Integration Edition (Application Developer -- see Resources for link to a trial version).
This tutorial explores the world of Web services and Service-Oriented Architecture. The following topics, tools, and techniques will be covered:
Topics
- Introduction to SOA
- Introduction to creating Web services from Java classes using Application Developer
- Introduction to Web services tools
Tools
- Application Developer Web services wizard
- Application Developer Web services exploration
Techniques
- Create Web services from Java classes
- Deploy that model as a Web service
- Create services that interact with each other
All of these tutorials focus on a DVD rental search engine that aggregates search results from one or more DVD rental shops that have made their catalogs available online. The use case we address, Rental Recommendation , involves allowing users to submit the movie category they would like to rent and, based on their rental history, using Web services to suggest other movies. In the first tutorial ("Build SOA with Web services using WebSphere Studio, Part 1: Introduction to SOA and Web services," see Resources), we simply created a simple Web service and ran it. In this secod tutorial, you can expand your exploration of working with Web services with three labs:
- Lab 1: Build and deploy a Web service -- In this lab you create and deploy a simple Web service that your aggregator will expose for the client.
- Lab 2: Exchange complex SOAP objects -- In this lab you can enhance your Web service by allowing it to return more complex SOAP objects for your rental client to use.
- Lab 3: Dynamic Web service client -- In this lab you can dynamically create a Web service client for consuming the complex SOAP objects.
Tools you need for this tutorial
At a minimum you need a Java SDK 1.3.1 or higher in order to run Application Developer. The IBM developerWorks site has a trial version WebSphere Application Developer Integration Edition and other information.

