by Christian Cantrell

 Comments (3)

Created

January 6, 2004

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.

COMMENTS

  • By dave - 5:32 PM on January 6, 2004   Reply

    how does MX2k4 do it?

  • By Christian Cantrell - 10:17 AM on January 7, 2004   Reply

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

  • By Niaron - 7:41 AM on February 14, 2004   Reply

    I couldn’t find the classes necessary in the utilities

ADD A COMMENT