You also mentioned that you call:
// connect to the gateway
var gw = NetServices.createGatewayConnection();
// get a reference to a service
var server = gw.getService("regencyhouse.components.vote", new Result());
server.GetQuestion();
On the production server - is the 'regencyhouse.components.vote' still the path to
the CFC from the root? or is the regencyhouse directory no longer actually there?
(i.e. if you accessed via ftp, would the regencyhouse dir actually be the root on
the production server)
Considering the paths have to be from the root, that may be your problem.
Hope that helps.
Mark
> Craig Riley <[EMAIL PROTECTED]> wrote:
>
> Mark, this is all my gateway stuff, works with one of the urls but
> not the
> one I want it to work with! I can't see what I need to change? The
> vote
> component is in exactly the same place so surely
> regencyhouse.components.vote should still work? Question though, I am
> using
> the dot notation to point to its location is this the best/only
> method or
> could I use absolute url eg
> http://regencyhouse.peoplenews.com/components/vote.cfc ?
> if (inited == null)
> {
> // do this code only once
> inited = true;
> // set the default gateway URL (this is used only in authoring)
>
> // connect to the gateway
> var gw = NetServices.createGatewayConnection();
> // get a reference to a service
> var server = gw.getService("regencyhouse.components.vote", new
> Result());
> server.GetQuestion();
> }
> aaghhhh!
>
>
>
> At 12:11 PM 2/17/2003 +1100, you wrote:
> >Craig -
> >
> >what have you set your gateway to?
> >
> >I'm assuming you set it within the
> http://regencyhouse.peoplenews.com, and
> >not
> >the http://miramar.ac3.com.au domain?
> >
> >Mark
> >
> >
> >
> > > Craig Riley <[EMAIL PROTECTED]> wrote:
> > >
> > > The first URL is just where the site sits on our hosting box, all
> > > sites
> > > will then have DNS set up to point to the relevant page eg
> > > www.somedomain.com will point to
> > > http://miramar.ac3.com.au/somedomain.com/
> > > SURELY flash remoting must still work when DNS for the site url
> is
> > > set up,
> > > otherwise it would be useless?! The only url I wish to work is
> > > http://regencyhouse.peoplenews.com but I'm not sure what I need
> to
> > > change
> > > to get it working?
> > > Curiously I get the following error when I try to browse to the
> > > component
> > > http://miramar.ac3.com.au/regencyhouse/components/vote.cfc (after
> I
> > > logon
> > > to the component administrator?)
> > >
> > > "Component not found
> > > The component definition file for component
> > > 'regencyhouse.components.vote'
> > > cannot be found on this server."
> > >
> > >
> > >
> > > Starting to panic! :-[]
> > >
> > >
> > >
> > > At 11:54 AM 2/17/2003 +1100, you wrote:
> > > >Craig
> > > >
> > > >Flash Remoting has security built into it that will not allow
> you to
> > > call
> > > >a gateway from a url that differs to the one that the Flash
> movie is
> > > being
> > > >hosted on.
> > > >
> > > >Andrew
> > > >
> > > >Craig Riley wrote:
> > > >>Hi All, set up a site on our live server that uses a flash
> remoting
> > > vote:
> > > >>http://miramar.ac3.com.au/regencyhouse/ (feel free to play :-)
> > > >>This works fine, but when I test the same site under the url
> that
> > > points
> > > >>to exactly the same place I get the following error:
> > > >>http://regencyhouse.peoplenews.com
> > > >>Sure its a simple fix but, err.. I haven't discovered it yet!
> :-(
> > > >>
> > > >>Love some help, cheers Craig
> > > >>
> > > >>
> > > >
> > > >--
> > > >Andrew Muller
> > > >Senior Macromedia Certified Instructor - ColdFusion, Flash
> > > >Certified Advanced Macromedia ColdFusion Developer
> > > >Certified Macromedia Flash Developer
> > > >
> > > >Daemon Internet Consultants
> > > >[EMAIL PROTECTED]
> > > >http://www.daemon.com.au/training
> > > >T:61 2 9380 4162
> > > >F:61 2 9380 4204
> > > >17 Roslyn Gardens
> > > >Elizabeth Bay NSW 2011 AUSTRALIA
> > > >
> > > >Daemon: Serious Web Development
> > > >
> > > >
> > > >MX DownUnder: The First AsiaPac Macromedia Devcon!
> > > >http://www.mxdu.com/
> > > >
> > > >
> > > >---
> > > >You are currently subscribed to cfaussie as:
> > > [EMAIL PROTECTED]
> > > >To unsubscribe send a blank email to
> > > [EMAIL PROTECTED]
> > > >
> > > >MX Downunder AsiaPac DevCon - http://mxdu.com/
> > >
> > >
> > > ---
> > > You are currently subscribed to cfaussie as:
> [EMAIL PROTECTED]
> > > To unsubscribe send a blank email to
> > > [EMAIL PROTECTED]
> > >
> > > MX Downunder AsiaPac DevCon - http://mxdu.com/
> >
> >
> >--
> >ICQ: 3094740
> >[EMAIL PROTECTED]
> >
> >---
> >You are currently subscribed to cfaussie as:
> [EMAIL PROTECTED]
> >To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> >
> >MX Downunder AsiaPac DevCon - http://mxdu.com/
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
> NetServices.setDefaultGatewayUrl("http://localhost:8100/flashservices
> /gateway");
--
ICQ: 3094740
[EMAIL PROTECTED]
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/