ColdFusion Query Objects and Central

It seems that Central does not deserialize ColdFusion query objects returned from web service calls in the same way that Flash MX 2004 does. Instead, you get back an object with a property called “columnList” (which is an array), and a property called “data” which is also an array. It’s not hard to massage the data from there, but fortunately, the Central SDK comes with a handy utility written by Mike Chambers called QueryToDataProvider which does the work for you. It’s located in Utilities/classes. If you are integrating Central with ColdFusion, you will probably want to check it out.

3 Responses to ColdFusion Query Objects and Central

  1. dave says:

    how does MX2k4 do it?

  2. Flash MX 2004 returns the query as an array of objects. The objects have properties for each column in the query.

  3. Niaron says:

    I couldn’t find the classes necessary in the utilities