Here’s the AWS WebService Application I mentioned in my last post.
Thanks to e4x, i could query the AWS (Amazon Web Service), get books with the tag of “Flex” and populate them in a DataGrid (complete with itemRenderers and all) . The challendges i faced in the application were as follows
- Understanding the way of using the required namespaces to access the result of the WebService. This was done using
private namespace AWSNS = “http://webservices.amazon.com/AWSECommerceService”;
use namespace AWSNS;
- Since the data was coming in as e4x XML, the sort functionality of DataGrid was not working as expected. I needed to write sortCompareFunctions to get that to work.
So, here’s the AWS WebService App
and its source