0 Replies Latest reply on Jun 17, 2010 9:54 AM by jfb00

    CFC Mapping

    jfb00 Level 3

      Hi All,

      I see this link:


      I want to use cfc in my flex app.

      1. I already enable mapping for CF8 under C:\ColdFusion8\wwwroot\WEB-INF\flex\services-config.xml

      2. I have a main app and my flex app is in a folder inside my app:

           My App D:\MyApp (In IIS I have a site pointing to this folder)

           My Flex App D:\MyApp\MyFlexApp

      3. My IIS folder is C:\inetpub\wwwroot

      4. I have my cfc's in this folder:


      5. I create a mapping in my cf9 admin as:

           Logical Path                                                = /Flex

           Directory Path =                                                D:\MyApp

      6. I my Flex app I call the cfc like this:

           <mx:RemoteObject id="my_RO" destination="ColdFusion" source="myflexapp.cfcs.budget">
              <mx:method name="getBudgets" result="getBudgetsRO_Handler(event)" />

           where my cfc file is =  D:\MyApp\MyFlexApp\cfcs\budget.cfc

      This should work but it's not, I'm getting this error:

      [RPC Fault faultString="Unable to invoke CFC - Could not find the ColdFusion Component or Interface myflexapp.cfcs.budget." faultCode="Server.Processing" faultDetail="Ensure that the name is correct and that the component or interface exists."]

      Any ideas why it's not working?