56284 web services development assignment create a rest web


Web Services Development Assignment-

Objectives: This assignment addresses the following subject objectives:

1. Describe and evaluate typical application architectures and requirements for web-based applications

2. Discuss some of the issues of designing web-based applications in an e-business context

3. Describe the roles and uses of web-based applications in organisational contexts

4. Apply concepts of information representation and parsing, in the context of XML and other relevant standards for information interchange

5. Describe and evaluate different technology options available for the development of web-based applications.

6. Develop a small, distributed web-based application based on existing software libraries.

Assignment Overview-

This assignment consists of 2 parts: development of a medium-sized web application incorporating web services and production of a report that contains analysis and reflection.

Part 1 - Web Application and Web Services

For Part 1 of the assignment, you are to develop a web application and web services using technologies and techniques taught in this subject as per the guidelines below. Your task is to develop a web site and web services for helping people agree on a meeting time, through a poll.

The web interface should support the following minimum functionality:

-Main page: Shows a list of open polls. For each open poll, the minimum information to be listed is the title of the poll, and the name of the person who created it. Users can click on a poll title on the main page to be taken to the poll detail page.

-Poll detail page: In addition to the poll title and creator's name, the top section of this page should also show the creation date of the poll, the meeting location, and a short description. Below this should be displayed a list of possible meeting times. The user viewing the page should have the ability to enter their name, and then use checkboxes to select which of the available meeting times (possibly multiple) that they are able to attend. When they press Submit, they are then taken to a summary of poll responses page.

-Summary of poll responses page: This page shows the same poll details as on the poll detail page, but now at the bottom of the page it should show a list of ALL users who have participated in this poll, and what their response was for each available meeting time.

Your web application should also maintain information about the poll creators and should allow a poll creator to:

  • Login and logout.
  • Create a new poll.
  • Close a poll. Each poll has a status which is either "open" or "closed". When a poll is created, its initial status should be "open". Only the person who created a poll should have the ability to close it.
  • View a list of their own existing polls (both open and closed).
  • When clicking on a poll, show the poll detail page and summary of poll responses page, as described above. The difference is that a logged-in user (a poll creator) can also view the poll detail page and summary of poll responses for their own closed polls, as well as any open ones.

In the web service side, you will need to do the following:

-Create a REST web service allowing a client to fetch a list of polls in XML format, according to given URL parameters. Possible parameters are the creator (a unique ID of a poll creator), the status (open or closed), or minResponses - only show polls that have so far received a minimum number of responses indicated (e.g. minResponses=2 would only show polls that have received at least 2 responses so far). Any or all (or none) of these parameters may be specified simultaneously, and your web service must filter the returned list according to all parameters that were given. If no parameters are given, all open polls should be returned.

-Create a SOAP web service that allows clients to:

  • create a poll
  • view a list of polls, with parameters as above (but now using SOAP rather than REST)
  • close a poll

-User authentication information (for poll creators) must be provided for creating and closing polls, as only poll creators have permission to perform these operations. Retrieving a list of polls can be done without authentication. If the username and password provided are incorrect, the operation should not be performed. If successful, the method for creating a poll should return the id number of the poll just created. For the method to close a poll, if the specified poll to be closed does not belong to the authenticated person (i.e. it was a poll created by another poll creator), then the operation should not be performed.

Note: for this assignment, it is adequate to pass the username and password in an unencrypted form as a SOAP message parameter.

-Create a SOAP web service CLIENT as a standalone Java application (i.e. with a main method) that invokes each of the SOAP web service operations.

Part 2 - Report

Your team will need to write a report describing the design and architecture of your web application and web services. In your report, you will also need to reflect on your experiences in developing your application, and discuss issues and challenges faced.

Describing the application design and architecture

Each team member should contribute to the report a description of the application architecture of the parts they developed. There should also be a section that describes the overall architecture of the web application. Diagrams are encouraged.

Attachment:- Assignment.rar

Request for Solution File

Ask an Expert for Answer!!
: 56284 web services development assignment create a rest web
Reference No:- TGS01578530

Expected delivery within 24 Hours