One of the most important of the “abilities” is performance. The Web Service needs to be able to return results back to the user as fast as possible. Most of the time, there will be simple things you can do to improve speed. Occasionally, you will have situations where the Web Service call will take several minutes or even hours to complete. In this section, we will look at the simple cases and then the hard case of long-lived calls.

First, let's take a look at some simple gains you can get through improvements to your own hardware. The first thing you should do is identify which Web Methods tied to the Web Service get called the most. Identify the Web Methods that make up 80 percent of the calls to the Web Service. Then, look at ...

Get Creating and Consuming Web Services in Visual Basic® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.