12.6. The Web Service Behavior

There's no doubt that browsers are now the standard application client for both intranet and Internet applications. Given that Internet Explorer is the most popular browser, you might want to leverage IE features when building intranet applications. One of IE's interesting features is the Web service DHTML behavior, which lets you invoke Web services directly from client-side script code. Being a DHTML behavior, there's nothing to install on the client, except of course IE 5.0 or later. In this section I will show you how to use the Web service behavior to invoke RPC/encoded and document/literal services.

12.6.1. Setting Up the Behavior

To get started with the Web service behavior, you first need to copy Webservice.htc ...

Get Real World XML Web Services: For VB and VB .NET Developers 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.