3 Replies Latest reply on Aug 29, 2008 7:38 AM by EvolvedDSM

    How can I use a ColdFusion data service with AIR?

    EvolvedDSM Level 2
      I'm looking for a solution to use a ColdFusion dataservice with Flex AIR. Previous to this project, I was able to use CF dataservices when making web applications. However, the same setup does not work for my AIR project.

      For my web apps, I'd set up the ColdFusion adapter and CFC destination in data-management-config and also set up the RTMP and HTTP channels for ColdFusion in my services-config. Then using DataService and ArrayCollection, be able to read, update, add, etc with the data from a ColdFusion datasource.

      With the same settings and means of calling the data, it just doesn't work in AIR. Can someone help me get this stuff set up correctly?

      My services-config is using these coldfusion channels:
      <channel-definition id="cf-dataservice-rtmp" class="mx.messaging.channels.RTMPChannel">
      <channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">

      So any help with setting up a CF dataservice on AIR would be greatly appreciated.