I’m a ColdFusion developer looking to break into Flex. I have a couple test Flex applications Ii’m working on, but am having problem connecting to my CFCs. I’ve tried:
- creating mappings in CFAdmin,
- putting the CFC in the same folder as the Flex app,
- putting the CFC in the C:\Coldfusion8\Gateway\CFC folder,
all to no avail.
Each time, I get the ‘Could not find the ColdFusion Component or Interface’ error. What am I missing?
Here is how I’m invoking the CFC for Flex use.
<mx:RemoteObject id='conn' destination='ColdFusion' source='cfc.bulkmail' result='orderGrid.dataProvider = event.result;' showBusyCursor='true'>
C:\Coldfusion8\wwwroot\Gateway\CFC is the correct folder and the cfc.bulkmail is the correct source.
It works, I must’ve just not had the proper case at one point or the other.
But here’s the answer for anyone who has the same problem in the future.