This paper is the first of a short series that illustrates the implementation
of a cross-platform, JavaScript-based SOAP Web services client based on the
Asynchronous JavaScript and XML (Ajax) design pattern for Web applications.
Popularized through its use in a number of well-known Web application services
like GMail, Google Maps, Flickr, and Odeo.com, Ajax provides Web developers with a
way of expanding the value and function of their Web applications
by using asynchronous XML messaging. The Web Services JavaScript
Library introduced here expands on the fundamental mechanisms that power the
Ajax pattern by introducing support for invoking SOAP-based Web services.
Web services in the browser
Invoking SOAP Web services from within a Web browser can be a tricky
exercise, particularly because the most popular Web browsers each handle
generating and processing of XML in slightly different ways. There are few
standard APIs or capabilities for XML processing that all browsers implement
consistently.