Skip to main content

CS8661 - Internet Programming Lab - Experiment 10

Experiment 10 Problem Statement

Write a web service for finding what people think by asking 500 peoples opinion for any consumer product.

Web Service Creation

AIM

To develop a web service application for finding the user's opinion about the particular product.

ALGORITHM

WEB SERVICE PROVIDER

  1. Create a new Java Web Application in Netbeans IDE.
  2. Create a new Web service and name it as rating service.
  3. Add a rating operation under the rating web service.
  4. Define a rating operation to read 4 user rating opinions and return the average rating about the product.
WEB SERVICE PROVIDER

  1. Create a new Java Web Application in Netbeans IDE.
  2. Create a new Web Service Client and name it as ratingclient.
  3. Create a index.html page with 4 text fields to get opinion (rating) about the product from the user.
  4. Create an index.jsp file and call the rating operation of the rating service to find the users' opinion about the product.
  5. Display the rating about the product.

Program

Experiment 10 - Web Service Creation