DekGenius.com
[ Team LiB ] Previous Section Next Section

Recipe 20.2 Configuring Flash Remoting for ColdFusion

20.2.1 Problem

You want to configure Flash Remoting for ColdFusion MX.

20.2.2 Solution

Flash Remoting comes preinstalled as part of ColdFusion MX.

20.2.3 Discussion

Flash Remoting comes preinstalled and preconfigured for ColdFusion MX. You do not need to make any modifications. If you are using CFMX with Updater 3, you must configure your web.xml file to turn on access for Flash Remoting to work with web services. Prior to Updater 3, this feature was on by default.

When you use Flash Remoting for ColdFusion MX, the gateway URL, as discussed in Recipe 20.1, should be of the form:

http://coldFusionServerNameOrIP[:port]/flashservices/gateway

in which coldFusionServerNameOrIP is the domain name or IP address to the ColdFusion MX server. If the ColdFusion MX server is running on a port other than 80, then you also need to specify the port. For example, if the ColdFusion server is running on localhost at port 8500, then the correct gateway URL is:

http://localhost:8500/flashservices/gateway

20.2.4 See Also

Recipe 20.1, Recipe 20.10, Recipe 20.11, Recipe 20.12, Recipe 20.15, Recipe 20.18, and Recipe 20.24

    [ Team LiB ] Previous Section Next Section