Choosing the Right Technology

As you've already learned, XML Web Services have a great deal of flexibility, but they aren't the right choice for every situation. While you could write all your applications using only XML Web Services, this would not be the best approach. For one, XML Web Services are not high performance components and would cause local applications to be too slow to be useful. Web Services don't provide the “stateful” programming environment that many developers require. They will provide information on demand, much like a Web site.

However, XML Web Services do make sense in a number of scenarios, some of which are documented here as examples.

Read-Only Access to Data

There are many cases in which users or applications require ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.