change the endpoint to:
<endpoint uri="{context.root}/flex2gateway/" 
class="flex.messaging.endpoints.AMFEndpoint" />

regards,
Muzak

----- Original Message ----- 
From: "Doug Hughes" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 28, 2006 9:49 PM
Subject: RE: [flexcoders] Beta 2 CF connectivity problems


So, I've done what you suggested and I'm able to create a project using
Remoting.  However, I'm still a bit confused..  I know I can edit the
flex-enterprise-services.xml to change the endpoint for Remoting calls. The
issue is that it's configured for http://localhost:8300/flex2gateway/ while
my sites (I've got more than one site on this server) are on two different
domains.



Let's say my domains are http://www.foo.com <http://www.foo.com/>  and
http://www.bar.com <http://www.bar.com/> ...



Both sites have been set up so I can go to http://www.foo.com/flex2gateway/
or http://www.bar.com/flex2gateway/ and they both return a blank page.  How
can I allow flex apps that rely on Remoting to work for both sites?  I can't
simply set the end point to one or the other, because one app breaks or the
other app breaks.  Is there a way to define more than one endpoint?



To Adobe:  Why isn't this configured on a per-application basis?  I'd love
to have one XML file in my application which I define that application's
settings in.  It's my humble opinion that configuration data is part of an
application, not the server it's running on.  (I have this same beef with
CF.  Why do I define datasources, custom tag paths, mappings, gateways, etc,
on the server and not in a configuration file that can be distributed with
my app?)



Thanks,



Doug




--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to