Ok, so here's the progress note. I put the CFC under web root as Paul suggested and it started to work from flex. Flashservices/gateway still doesn't work but at least the service is running, which has confused me even more because on my other server, I don't have the cfc's under web root and it works fine with the mapping.
Also, if you are connecting to a CF server that has a different hostname, you have to use "http://{cfhostname}/{contextroot}/flashservices/gateway" as the endpoint. Using "/amfgateway" as the endpoint will send the request to the Flex server and that only works when using remote Java objects located on the Flex server and doesn't work for CFCs.
Paul, I didn't really understand your post. My single Flex instance mapped to its corresponding IIS site can communicate with both CF instances each of them mapped to it's own IIS site. Is that what you meant?
Agha Mehdi
IDT - eBusiness Program Manager
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Kenney
Sent: Tuesday, January 31, 2006 4:25 PM
To: [email protected]
Subject: Re: [flexcoders] Re: FlashServices/Gateway
Since Flex and CF are running on separate instances, then they must be mapped to different IIS websites, and therefore the two sites must have different hostnames. Each IIS site can only talk to a single JRun (or other java app server) instance, but one instance can have multiple sites mapped to it.
--
Paul Kenney
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pjk.us
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

