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
- Create a new Java Web Application in Netbeans IDE.
- Create a new Web service and name it as rating service.
- Add a rating operation under the rating web service.
- Define a rating operation to read 4 user rating opinions and return the average rating about the product.
WEB SERVICE PROVIDER
- Create a new Java Web Application in Netbeans IDE.
- Create a new Web Service Client and name it as ratingclient.
- Create a index.html page with 4 text fields to get opinion (rating) about the product from the user.
- Create an index.jsp file and call the rating operation of the rating service to find the users' opinion about the product.
- Display the rating about the product.