Configuring a destination for the ColdFusion Data Service adapter

To provide the information necessary for the Flex application to connect to the ColdFusion back-end application, you configure a destination. In the destination, you specify the ColdFusion Data Service adapter, the channels to use to transport messages to and from the destination, the CFC that contains the fill, get, sync, and count methods, and other settings.

To provide configuration information, you edit the following files:

  1. services-config.xml

    You specify channel definitions and enable ColdFusion-specific debugging output in the Flex console in this file. Change the port numbers in the services-config.xml file for the RTMP channels if you run more than one ColdFusion instance with the integrated LiveCycle Data Services ES.

  2. data-management-config.xml

    This file is added only when you install LiveCycle Data Services 2.6.1 manually. You specify adapters and destinations in this file.

To ensure that Flex recognizes the LiveCycle Data Services ES assembler and can transport messages to and from the destination, by doing the following:

  • Specifying ColdFusion-specific channel definitions

  • Specifying the ColdFusion Data Service adapter

  • Specifying a destination

  • Enabling ColdFusion-specific debugging output