Project Phase III

Project Groups Page

Goal:

To equip you with more SQL querying skills and more importantly, familiarize you with Web Service technology.

Through this project, you will learn:

Milestones:

Details:

Web Services:

Before we go into the details of the Web Services you will implement, let's first discuss their purposes. Your companies will compete with each other to generate the most revenue. At the beginning of the day, the TAs will first clear and then randomly populate your inventory with products of certain quantities and prices. TAs will play the customers' role by trying to buy certain products from your company. Your company will try to sell the customers items currently stocked in your inventory as well as items out of stock, in which case your company can order them from other companies depending on their availability and price. You may add 5% of the transaction as your revenue for being the middleman. At the end of the trading day, your company will report your total revenue to the TAs, which is used to determine the winner group. NOTE: You will not be graded on how much money you make. But only on the correctness of your Web Services.

First, you will create your Web Services project under iisqlsrv.cs.washington.edu/[group name]WebService . Here are the five Web Services functions you will be implementing. You must create them with the given function signatures.

  1. Clear your inventory
  2. Accept inventory assignment
  3. Availability and price
  4. Accept product orders
  5. Report revenue

Example code for dynamic Web Service invocation is here

Log the Transactions:

Every time a transaction occurs, you must report that to the IRS, played by the TA's web services. If you receive an order, you need to write to the seller log. If you make an order, you need to write to the buyer log.

These two Web Services will be located athttp://iisqlsrv.cs.washington.edu/briancks/phase3/log.asmx (Will be up after all of you submit your group password).