Flash applications that use Flash Remoting MX can easily take advantage of ColdFusion components for business logic. Similarly, you can export CFCs so that any application can access CFC methods as web services.
For ColdFusion component methods to communicate with Flash Remoting MX applications, you must set the access
attribute of the cffunction
tag to remote
.
For more information on creating CFCs for Flash Remoting MX, see Using the Flash Remoting Service.
Any application, whether it is a ColdFusion application, a Java application, JSP page, or a .Net application, can access well-formed ColdFusion components as web services by referencing the WSDL file that ColdFusion automatically generates.
To see a component's WSDL definition, specify the component web address in a URL, followed by ?wsdl; for example:
http://localhost:8500/MyComponents/arithCFC.cfc?wsdl
For more information on using CFCs as web services, see Using Web Services.