How do I pass data to a Remote Service?
This question came up twice on the same day; once via personal e-mail and once via the House of Fusion Flex list. The question, from the House of Fusion list is this:
How do I submit data to the ColdFusion component from the Flex interface?
Using RemoteObject in Flex, you can submit data like his:
RemoteObject.methodName(data);
Basically, you pass data to a remote method the same exact way you pass it to a local method. The same approach is used if you use the WebService or HTTPService objects.
Both people who asked this question were asking in relation to ColdFusion; however the same principles apply no matter what middleware you are using. From the perspective of Flex/Flash it's just a consistent interface for accessing remote services.
I love the questions that are easy to answer. Do you have one to ask me?





There are no comments for this entry.
[Add Comment] [Subscribe to Comments]