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.

You might also like...


About the author

Bruce Johnson Canada

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 ...

Interested in writing for us? Find out more.


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match” - Bill Bryson