Seems I was being a little dense yesterday, I tried setting the URI of
the endpoint to just URI="/rubyAMF/gateway" (note: no http://domain/)
and it works fine. Obvious.

-D

--- In [email protected], "dave_defusion" <[EMAIL PROTECTED]>
wrote:
>
> The backend portion of my app is setup the handle accounts
> automatically via an account key (which is currently set via the
> subdomain), e.g.:
> 
> accountA.test.com > will be restricted to accountA
> accountB.test.com > will be restricted to accountB
> etc. 
> 
> I'm going to be putting a Flex frontend on all of this using AMF, but
> I can't figure out what to do with my service/channels as I don't
> really have a single endpoint URI - as it will be different for each
> account.
> 
> Is there anyway to make the endpoint URI dynamic?
> 
> The only other thing I can think of would require a massive amount of
> refactoring on the backend (which is nearly complete) to have it
sited at:
> 
> app.test.com
> 
> And accounts handled via:
> 
> app.test.com/accountA/ > will be restricted to accountA
> app.test.com/accountB/ > will be restricted to accountB
> 
> Dynamic endpoints would be the easiest and cleanest solution.
>


Reply via email to