20.2. Configuring Flash Remoting for ColdFusion
Problem
You want to configure Flash Remoting for ColdFusion MX.
Solution
Flash Remoting comes preinstalled as part of ColdFusion MX.
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
See Also
Recipe 20.1, Recipe 20.10, Recipe 20.11, Recipe 20.12, Recipe 20.15, Recipe 20.18, and Recipe 20.24
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access