Hi Paul, Thanks so much for your help! the file is locate in the webroot (not sure if this is a best practice, but just on localhost for testing) /Documents/Library/WebServer/com/cfcs/ArtistGateway.cfc (http://localhost/com/cfcs/ArtistGateway.cfc)
I have not set any mappings, and I have checked in services-config.xml and mappings are set to true. I think that Flex is looking for a function getArtist, but the method is getArtists. I wrote a blog on this,maybe the blog is more clear, and I have tested the cfc which is working properly too: http://hawaiiflash.net/blog/post.cfm/database-results-flex Thanks so much! Johnny > On 12/14/2009 2:00 PM, John Barrett wrote: > > <mx:RemoteObject id="ArtistGateway_RO" destination = "ColdFusion" > source ="com.cfcs.ArtistGateway"> > > is "com" under the web root or cf mapped? if cf mapped, did you change > > remoting-config.xml use mapping option to true? > > <!-- Use the ColdFusion mappings to find CFCs, by default only CFC > files under > your webroot can be found. --> <use-mappings>true</use-mappings> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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/flex/message.cfm/messageid:6207 Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
