ColdFusion 9.0 Resources |
Using the Config classUse the Config class to set the configuration parameters for ColdFusion Services, including the connection details and event handlers. Therefore, use the Config class before using any of the service classes. The parameters set on the Config class are global and can be overridden by the individual service proxy classes. The following table lists the Config class parameters, normally used as attributes of a Config tag.
You normally specify the config class using an MXML tag as follows: <cf:Config id="conf" cfServer="CF Server IP Address/HostName" CFPort="HTTP Port on Which CF accepts request" destination="UserDefinedRemotingDestination" > You can also override the server settings directly in the service tag, for example: <cf:Image id="image" action="AddBorder" cfServer="IP Address" cfPort="Port number" source="Uploaded Image server URL" thickness="5" color="Blue" destination="UserDefinedRemotingDestination" /> |