AWS WebService App

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 = “”;
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


4 Responses to AWS WebService App

  1. Zaki says:

    Well i tried this example on my flex builder 2 but i get this errors :

    [RPC Fault faultString=”Array of input arguments did not contain a required parameter at position 1″ faultCode=”EncodingError” faultDetail=”null”]
    at mx.rpc.soap::Operation/
    at mx.rpc.soap::Operation/
    at mx.rpc.soap::AbstractWebService/mx.rpc.soap:AbstractWebService::unEnqueueCalls()
    at mx.rpc.soap::WebService/
    at mx.rpc.wsdl::WSDLLoader/private::checkLoadsOutstanding()
    at mx.rpc.wsdl::WSDLLoader/mx.rpc.wsdl:WSDLLoader::resultHandler()
    at mx.rpc::AbstractInvoker/
    at mx.rpc::AbstractInvoker/
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at private::DirectHTTPMessageResponder/completeHandler()
    at [io]

    Can you help me to sort this isssue.

  2. Josh says:

    I am having the same problem posting data to a CFC from flex.

  3. Sunil says:

    Same problem here when i am calling web service.

  4. Uday says:

    I am also facing the same problem. please suggest if smone is excellent in it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s