Remove the 'name' attribute from the cfcomponent tag in the CFC. Their is no need for it. The name of the CFC component is the file name without the '.cfc' extension. Example: Math.cfc is a component called 'Math'. What does your Flex code look like?
-ben On 10/16/07, Phill B <[EMAIL PROTECTED]> wrote: > > I made an app that hits a web service and it worked great. Now I'm > trying to put an app together that will call a cfc and I cant make it > work. So I want to make sure I haven't missed any basic setup steps. > > I put a Crossdomain.xml in the root dir of the site with the following in > it. > <?xml version="1.0"?> > <!DOCTYPE cross-domain-policy > SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> > <cross-domain-policy> > <allow-access-from domain="*" /> > </cross-domain-policy> > > I made a CFC as follows > > <cfcomponent name="hello"> > <cffunction name="sayHelloString" access="remote" returnType="string"> > <cfreturn "Hello World!"> > </cffunction> > </cfcomponent> > > Just cant get Flex to talk to it. > > Does it look like I have missed anything in the these areas? > > -- > Phil > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4688 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
