Drive your Flash Front-Ends with SOAP

Take advantage of Flash 5's XML capabilities and SOAP messaging to create lightweight interfaces that can communicate with your server.
by Ian Bogost

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.

 
Step 1: Create the ASP Listener

Introduction Step 1: Create the ASP Listener Step 2: Build the Server Calculator Component
Step 3: Create the Flash Interface Step 4: Implement SOAP messaging  







 TALK BACK
Did you know that Flash 5 was capable of making SOAP calls to server-side code? Using Flash 5's XML capabilities, you can build highly interactive thin-client applications? Let us know what you think of the techniques in this article? Join the discussions at web.server.general and let us know.
Click here to Join
Try the demo

Get the code for this article

Macromedia Flash 5

Macromedia Flash Support Center

Learn more about SOAP

Microsoft SOAP Toolkit 2.0 SP2





 
Sponsored Links

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map
Jupiterweb networks

internet.comearthweb.comDevx.comClickZ

Search Jupiterweb:

Jupitermedia Corporation has four divisions:
JupiterWeb, JupiterResearch, JupiterEvents, and JupiterImages

Copyright 2004 Jupitermedia Corporation All Rights Reserved.
Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Jupitermedia Corporate Info | Newsletters | Tech Jobs | E-mail Offers

Copyright Information/Privacy Statement