Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Hey all. I'm really new to Flex and CF and I am having to get someone else's code running on my local machine (ie local apache, local mssql, local cf). I can get the page to semi load but when I load it I get an error that says Unable to invoke CFC - Could not find the ColdFusion Component or Interface I can't seem to figure out why the flex can't find the CFC. The cfc file is two directories below the main html file but the code points down those 2 directories (folder1.folder2.myservice.cfc). Any ideas what might be causing this error? It's driving me absolutely nuts. Thanks, Matt ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312625 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Flex searches from the web root down. You should be able to point from the web root down and invoke it using the url. http://localhost/folder1/folder2/myservice.cfc?method=test If you can not then it is not pointing to the right location of the cfc. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Tue, Sep 16, 2008 at 2:55 PM, Matthew Dolloff [EMAIL PROTECTED] wrote: Right now the service.xml file has the line SERVICE ALIAS=ABC SERVICEPATH=ABC.cfservices.MyService DESTINATION=ColdFusion CLASSNAME=ABC.services.MyService / Is this where i would change the path? The ABC folder is contained in my root directory such that localhost/ABC/ABC.html ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Hey all. I'm really new to Flex and CF and I am having to Are you using Remoting? Or WebService? If you're using Remoting, did you recompile your app after changing services-config.xml? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! I'm using web services since those were provided to me the database people that I am trying to talk to. I wish this were easier, but unfortunately this is my first hack at Flex/CF and this is not a straight forward program at all. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312631 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4