O'Reilly logo

Foundation XML and E4X for Flash and Flex by Sas Jacobs

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. CONSUMING WEB SERVICES WITH FLASH

As you learned in the previous chapter, a web service is a remote procedure that provides its results in XML format. A user consumes a web service by identifying which operations are available and providing the correct parameters. After a successful request, the web service sends back a response in XML format.

In the previous chapter, I showed you how to use Flex to consume a currency conversion web service. In this chapter, I'll show you how to repeat the process using Flash.

As you saw, Flex can access SOAP web services using the WebService class. The great advantage of this class is that it can assemble the SOAP requests for you automatically based on a Web Services Definition Language (WSDL) file. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required