
31
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
L
ast
u
p
dated
7/9/2
01
2
REST Services page
After you create the CFC you want to REST-enable, specify the folder for registering as web service in the ColdFusion
Administrator.
Note:
Nested REST applications cannot be registered.
When you specify a folder, all CFCs in that folder or subfolders for which you have specified
rest
or
restPath
are
registered.
1
Browse and select the application path or root folder where ColdFusion would search for CFCs.
2
(Optional) In the Service Mapping section, specify virtual mapping in place of application name.
If the folder has an Application.cfc and an application name, then the service is identified with the application
name. You can override this by specifying the service mapping. In this case, the service is identified with the service
mapping that is provided. If there is no Applicaiton.cfc in the folder, then it is mandatory to specify the Service
mapping.
3
(Optional) Specify an application as default REST service. Only one application can be set as default for a server
instance. You can change the default application at any time. Check Set the default application and then click Add
Service. To remove the service as default, uncheck it.
4
After you specify the details, click Add Service to register.
The Active ColdFusion REST Services section specifies the details of all registered web services.
After you register, all CFCs are published as RESTful services. On subsequent startups, the registered services
automatically get published.
Note:
Refresh the application whenever there is a change in REST-related component in the application.
Flex Integration page
Use this page to specify which Flex integration features to enable and which IP addresses can perform data-service
operations. If you enable Adobe LiveCycle Data Services ES support, but do not specify any IP addresses, only
processes on the local computer can connect to the LiveCycle Data Services ES server in ColdFusion.
To use SSL, create a keystore file. The keystore is a self-signed certificate. (You do not need a certificate signed by a
Certificate Authority, although if you do use one, you do not need to configure Flex as indicated in the following steps.)
The information in the keystore is encrypted and can be accessed only with the password that you specify. To create
the keystore, use the Java keytool utility, which is included in the Java Runtime Environment (JRE).
Option
Description
Enable Flash Remoting
Support
Specifies whether to enable Flash clients to connect to this ColdFusion server and invoke methods in ColdFusion
components (CFCs).
Enable Remote LiveCycle
Data Management Access
Specifies whether to enable a LiveCycle Data Services ES server to connect to this ColdFusion server and invoke
methods in CFCs to fill, sync, get, or count records in a result set used in a Flex application. Enable this option only
if you are running LiveCycle Data Services ES remotely.
Server Identity
Specifies the ColdFusion server on which you want to enable Flex Data Management Support.
Enable RMI Over SSL For
Data Management
To encrypt communication between ColdFusion and Flex, enable Secure Sockets Layer (SSL).
Select IP Addresses Where
LiveCycle Data Services
Are Running
Specifies which LiveCycle Data Services ES servers can connect to the LiveCycle Data Services ES support in
ColdFusion. If you do not specify a list of allowed IP addresses, only processes on the local computer can connect
to the LiveCycle Data Services ES support in ColdFusion