Assignment on Creating Web Services

For this assignment, it is required to install Apache Tomcat 4.1 and Apache Axis. The web services are to be created using Java.

Exercise 1

Create a web service that shall interact with the databank of patient records in XYZ Public Hospital. The web service shall let the client  obtain the number of patients affected by a certain disease. Use primitive types only. The web service must be deployed instantly on Axis by using JWS (Java Web Service) files.

Also create a client stub for this web service.

Exercise 2

Create a web service that shall interact with the databank of patient records in XYZ Public Hospital. The web service shall let the client obtain the name (last name, first name, middle initial) of a patient by providing the patient identification number. Use appropriate complex types. The web service must be created using custom deployment via a WSDD (Web Service Deployment Descriptor).

Exercise 3

Create a web service that acts as a File system. This file system lets the user read from, write to, delete and list files. In the list operation, the file system gives the file properties (name, type, size) of each file. The web service must be created using custom deployment via a WSDD (Web Service Deployment Descriptor). Only the read from, write to and list operations are to be the accessible methods.

Exercise 4

Create a web service that adds a Messenger (like ICQ , MSN Messenger, America Online Instant Messenger) to your applications. The operations that can be performed include user login, display online friends, send and receive messages. The web service must be created using custom deployment via a WSDD (Web Service Deployment Descriptor).