I have done this before but can't get it to work this time (first time with
CF8).
I am using Flex to connect to CFC's via mapping. I have enabled mapping use
in the XML and restarted the server but I get this error.
[RPC Fault faultString="[MessagingError message='Destination 'ColdFusion'
either does not exist or the destination has no channels defined (and the
application does not define any default channels.)']"
faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to
'ColdFusion'"]
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()
[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.
as:264]
at
mx.rpc.remoting.mxml::Operation/http://www.adobe.com/2006/flex/mx/internal::
invoke()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\remoting
\mxml\Operation.as:204]
at
mx.rpc.remoting::Operation/send()[E:\dev\flex_3_beta3\sdk\frameworks\project
s\rpc\src\mx\rpc\remoting\Operation.as:120]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.rpc.remoting.mxml::Operation/send()[E:\dev\flex_3_beta3\sdk\frameworks\pr
ojects\rpc\src\mx\rpc\remoting\mxml\Operation.as:177]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::
callProperty()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Ab
stractService.as:292]
at
DataGrid1/___DataGrid1_Button1_click()[F:\DataGrid1\src\DataGrid1.mxml:17]
It seems to be asking for a Channel, but I want to using a mapping and not
define channels.
Regards
Dale Fraser
http://learncf.com