OAP, or Simple Object Access Protocol, is a method for exchanging information between disparate systems via a common web-based platform. SOAP uses XML-formatted documents to pass requests and responses over Internet protocols such as HTTP. With the introduction of Microsoft .NET and Apache SOAP, SOAP is fast becoming the protocol of choice for making remote procedure calls across disparate systems.
In this article, you will see how to create a Flash-based calculator that uses SOAP to make remote procedure calls (RPCs) to a basic arithmetic application on a server. To build the demo, you will need Flash 5, the Microsoft SOAP Toolkit 2.0 SP2 (see References section), Microsoft Visual Basic, and a Microsoft NT/2000 server running IIS.
First, you need to create the server application and the listener that will receive and process the SOAP requests. The Microsoft Active Server Pages (ASP) listener and the SOAPCalc ActiveX DLL used in this demo are slightly modified versions of the "low-level API" sample application that ships with the Microsoft SOAP Toolkit.
|