Web Service API-Apache, Eclipse,CXF

profileKailin-an
case_study.docx

Case study – Mississippi Book Store

Suppose you want to sell books over the Web (like the big eCommerce site) – but, you have decided that

you will also share the inventory so that others will sell your inventory (other than your site). Your

approach is to provide web service APIs for all functionalities that will help your partners to be able to

sell books (your inventory) using the API you provide.

Your web service functionalities

Search book database by title and/or author

Accept buy order for book or books

Accept Credit Card payment

Ship orders

Provide order status; Provide status of orders in progress

Order Cancel

ERROR Handling

Exception handling

Register partners

Security features

Authentication and Authorization - Adding username/Password

Implementing OAuth

Identity - Adding API Key mechanism

Treat avoidance - Implementing SSL

Bonus – adding OAuth implementation

Accept Book Reviews

update an inventory database

Pickup locations

Using Google Map API, plot possible locations for customers to pick-up instead

of mailing books

Integrate with PayPal for payment

You need to have a decent client (website) that will be customer facing to make use of the web

services you created.

Problems: Some steps complete but not all; mock the back end services as much as possible so

that you will concentrate on the Services side.

Project Requirements:

-Search Book

- Buy Book

· Include Payment information

· Include Shipping information

- Get Order Status Information

- Cancel Book Order