How to Consume Web Services in Adobe Flex

Help! My Flex application is cool, but where are the data from?

You spend quit a lot of time building your Flex application with nice layout, fancy panels, and cool animations. Then all of a sudden, you realize one thing is missing:

Where and How to get the server-side data for my Flex application?

It feels like you have just got a most powerful cannon, but no ammunition to fire.

Using Adobe Flex as a front-end RIA tool, many people are familiar with common Flex components like Panel, HBox, or TileList. However, when coming to the topic like How to Consume Web Services in Adobe Flex, you might encounter some challenges including:

  • What Flex component can I use to call web services?
  • What are the differences among Flex WebService, HttpService, and RemoteObject?
  • What is SOAP? What is WSDL? How to interpret a WSDL and map it to Flex WebService?
  • How to consume Web Services in both MXML and ActionScript?
  • How to pass request parameters to Web Services from Flex?
  • How to set up the return data format for Flex WebService?
  • How to handle the Flex WebService events, such as result event and fault event?
  • How to retrieve, sort, filter, and bind the Web Services data in Flex?
  • Is there any automatic tool to simplify my work on consuming Web Services in Flex?

Over the next week, I want to write a series of 5 tutorials for Flex users facing some of the above problems – those who need to access server-side data by consuming web services in Adobe Flex and who need ammunition for their RIA cannon.

Here are the topics we will be covering over the next week:

  1. Creating a Web Service Powered Flex Application in One Minute
  2. Understanding Flex Web Service from A to Z
  3. Mapping SOAP and WSDL to Flex WebService
  4. Retrieving, Processing, and Binding Web Services Data in Flex
  5. Utilizing Tools to Simplify the Work on Consuming Web Services in Flex

To follow along with this series, make sure you subscribe to our RSS feed or bookmark and come back to this page.

Stay tuned for the next post of this tutorial series on How to Comsume Web Services in Adobe Flex.

About Bryan
Bryan Li has more than 10 years business consulting and project development experience with major corporate clients including Sony, Bank of Montreal, Bruce Power, etc. As a fan and advocate for RIA(Rich Internet Application) technologies, Bryan helps companies and developers learn, design, and build richer applications using Adobe Flex.

3 Comments on How to Consume Web Services in Adobe Flex

  1. Hi Bryan,

    How to create sample webservices in Netbeans?
    Also how to access webservice without using tag.

    Thanks & Regards,
    Naveen.

  2. Hi Bryan,

    How to create sample webservices in Netbeans?
    Also how to access webservice without using webservices tag.

    Thanks & Regards,
    Naveen.

  3. how to create Sample Webservice using Import process and also send request and receive response

Leave a comment

Your email address will not be published.

*