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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4687
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to