Library tutorials & articles

Building a Web Service - Start with the Design

Methods Exposed

So, getting down to the nitty gritty, our web service will expose the following methods for use by anyone who registers with us.
Rate Takes the information about a shipment necessary to calculate the shipping rates. The result from this method will be a list of the appropriate shipping methods and an estimate of the cost for each one.

Ship Generates the labels and any other documentation that isrequired for the shipment to be processed by the carrier.
CheckInventory Receives a list of inventory items and the quantities that are to be checked for availability. The result is a list of the same items with an indication of whether the requested quantity is available. As well, there will be an option that allows the specified inventory to be reserved.
ReleaseInventory Releases the specified allocation for an inventory item. A list of the inventory items to be treated in this manner will be provided.

Comments

  1. 07 Feb 2003 at 05:29

    This was a great tutorial as my basic doubts got cleared on reading your Article.It was an excellent one.Waiting for more like that
    Good luck

  2. 01 Jan 1999 at 00:00

    This thread is for discussions of Building a Web Service - Start with the Design.

Leave a comment

Sign in or Join us (it's free).

Bruce Johnson I am the owner of a small application development consulting company that specialized in the design and implementation of Internet-based applications. While there are others who can make a web site...

Related discussion

Related podcasts

  • Introduction to Atlas

    Get your feet wet with an introduction to Atlas. Atlas is the new part of the .NET framework specifically for web clients. Features include AJAX and web services support, new validation controls, behaviors, and an object orientation layer sitting on top of JavaScript.

Events coming up

  • Dec 8

    December Silicon Valley Ruby Meetup

    Moffett Field, United States

    In a World of Middleware, Who Needs Monolithic Applications? by Jon Crosby With Rack emerging as the standard for composing web applications and services, most recently with Rails adoption, an architectural shift is taking place. Learn how to create next generation web services by reusing existing Rack middleware and supplementing with your own components and micro-frameworks like Sinatra. Bio : Jon likes music, the Open Web, Ruby, Erlang, Haskell, Objective-C, JavaScript and coffee.

We'd love to hear what you think! Submit ideas or give us feedback