You should just need to change:
<use-mappings>true</use-mappings>
to:
<use-mappings>true</use-mappings>
I can't be 100% but I think I needed to restart ColdFusion.
My flex-remoting.xml with the default ColdFusion destination looks
like this:
<destination id="ColdFusion">
<channels>
<channel ref="my-cfamf"/>
</channels>
<properties>
<source>*</source>
<!-- define the resolution rules and access level of the
cfc being invoked -->
<access>
<!-- Use the ColdFusion mappings to find CFCs, by
default only CFC files under your webroot can be found. -->
<use-mappings>true</use-mappings>
<!-- allow "public and remote" or just "remote"
methods to be invoked -->
<method-access-level>remote</method-access-level>
</access>
<property-case>
<!-- cfc property names -->
<force-cfc-lowercase>false</force-cfc-lowercase>
<!-- Query column names -->
<force-query-lowercase>false</force-query-lowercase>
<!-- struct keys -->
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</properties>
</destination>
Paul
On 10/07/2009, at 8:34 PM, heath stein wrote:
>
>> Did you enable mappings in the remoting-config.xm file? Also does
>> the mapping exist? By default its off.
>>
>> Paul
>>
>>
>> On 10/07/2009, at 1:47 PM, heath stein wrote:
>>
>
>
> Paul, I have enabled mapping in the flex/remoting-config.xml file.
> I have set up a mapping in the CF Admin, But not in the flex/
> remoting-config.xml file. Do I need to set up mapping in the flex/
> remoting-config.xml file? If so what is the xml tags needed.
>
> Also this is strange but it doesn't throw any error just returns
> null. Is that a usual response if flash remoting is not configured
> properly?
>
> Thanks for the Help
>
> Heath
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324436
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4