-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Flex how are you trying to connect to the CFC, I am using RemoteObject and do not have any issues.
Phill B 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? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRxUceXnjLHMPlkANAQKZYgf/R5FzpqfdVJHa2s1CfsS/hq1D1ovvDWjr v+w7HD6vCJ5iaj/HEUrRlOUbgAcL3nOC2rNpB842zf6tZZC0my67Hp2jOA8/3ZxR DVMU8K0IBe866w8HcGQN716o/DCYDz92qGwBzPg+jatGReEfyQullc9S44e7KO/X yWPUk7NvSGxN+vcRGOKVexEHfL1yZjOlBw7GDtDCcVEdAWPGTtl1KrbOOFm4mFZE q3knfU3U/eszE8K8XVhYbVMVRYR/OcfG4gRV+pzzETQMGYbHvWVPRDFDY7Kx+/MC vc7O3Jt6HX7eZwv3wjK2N1p2K+yMxrFiJEKnpQNFuexx55nhQ5VmZg== =QGP2 -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4689 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
