Log In  
  Getting Started  
----------------------------------------

Resources

 

Part II: Exchanging Data

Subtopics:

  • Learning Points - A summary of information and concepts for building the applications
  • Code Files - Complete code files for the samples
  • Code Anatomy - An interactive approach to understanding the shipping Costs code
  • Tutorial - Step-by-step instructions on building the Shipping Costs applications

In this module, you will learn how to build several applications that retrieve shipping data in both XML and plain text format based on user-supplied information. To build this application you will use Flex Builder, pre-built Flex components, and the Flex HTTP service.

In this module you will create two applications using HTTPService that retrieve two types of data:

  • Plain text
  • XML
    You will retrieve both types of data from ColdFusion, PHP, Java and ASP.NET servers.
previous page next page

User rating?

Try two versions of the running Shipping Costs Application

The rest of this page features two running versions of the Shipping Costs application. Try them out; they are not screen shots.

The plain text sample application

The following application shows an embedded application created using Flex Builder. Type a 5-digit zip code, like 80401, and a shipping weight, like 3, into the text boxes and click the Get Shipping Options button to retrieve and display the plain text data in a text box.

The XML sample application

The following application shows an embedded application created using Flex Builder. Type a 5-digit zip code, like 80401, and a shipping weight, like 3, into the text boxes and click the Get Shipping Options button to retrieve and display the XML data in a grid.

previous page next page

The plain text sample application gives an error: "Security error accessing URL"

I get the same error: "Security error accessing URL"

Same here.  The problem is that Flex is trying to access this URL:  http://www.flexmonkeys.com/crossdomain.xml

It is failing because (evidently) flexmonkeys.com is no longer registered as a valid Internet host.

Yeah, my understanding is that flexmonkeys.com has evolved to flexhumans.com.

 

Added by Mark Nichoson , last edited by Randy Nielsen on May 04, 2009  (view change)
Labels: 
(None)

Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators