On 1/31/06, Mehdi, Agha <[EMAIL PROTECTED]> wrote:

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.

So, if its working for Flex, what exactly is not working that needs to work?

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?

Not really. What I was really stating is that a single CF instance can have multiple IIS sites pointing at it, while a single IIS site can only point at one CF instance (or a one cluster of CF instances). In other words, it is a many-to-one relationship between IIS sites and CF instances (or clusters of instances).

 

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




Reply via email to