Problem: Configure return type in Flash Builder (using with Coldfusion) Mysql 5 driver (testing using localhost with CF also acting as the web server)
I have tried going thru the steps presented in the video presentations for hooking Flash Builder to Coldfusion query data. I provide a name for a Custom data type, provide variables (that are optionally required by the CFC), and then proceed. The operation comes back with the following message.
The operation returned a response of the type "Object"
You may either update server code to fix the return data or CLICK OK to set "Objecdt" as the returntype of this operation
In all of the videos I have watched, Flash Builder auto-magically introspected the table that was being called and knew the data types of each piece of the data returned by the query. In my case, I get the above message and cannot proceed.
I have tested the query by calling the CFC method via a coldfusion page and dumping the result. Everything is works with that.
I would like to get past the problem and learn what if anything I am doing wrong with this. Your input is appreciated. I have been learning CF and am getting pretty comfortable with that product. I would like to move forward with Flash Builder. I have some basic knowledge of Flex 3.
Thanks for your help
<cffunction name="getJewels" access="remote" returntype="any">
<cfargument name="jType" type="string" required="no" />
<cfargument name="jActive" type="boolean" required="no" />
<cfargument name="jOrder" type="boolean" required="no" />
Server Settings > Settings Summary
Report generated on Jul 08, 2009 11:07 AM
This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
This is the dataset I am trying to get at.
|CF data source name||dstones|
|Description||Dancing stones databases|
|Login timeout||30 seconds|
|Long text buffer size||64000|
|Restricted SQL operations|
Data & Services > Flex Integration
Lets a Flash client connect to this ColdFusion server and invoke ColdFusion Components (CFCs). NOTE: Disabling this feature also disables ColdFusion server monitoring and multiserver monitoring.
Lets LiveCycle Data Services ES connect to this ColdFusion server through RMI and use CFCs to read and update data that supports a Flex application. If you are not using this feature, disable it. This does not affect LiveCycle Data Services ES integrated in to the ColdFusion installation.
If you are running more than one instance of ColdFusion on this machine, you must configure each instance with a unique ID.
|Full path to keystore:|
|Select IP addresses where LiveCycle Data Services are running|
|To secure the LiveCycle Data Services ES integration point, the hosts that are allowed to perform Data Management operations are restricted. If you are running LiveCycle Data Services ES on a different computer, specify its IP address here. By default, only the local computer can perform Data Management operations in ColdFusion.|
FlashBuilderIssue.pdf 419.4 K