Is CFC browsing, (or whatever it is called) enabled through the CFMX 
Administrator?

Also - you SHOULD be able to browse through Flash, using the Services 
Browser  to the CFC - if you set your gateway in flash to:
http://regencyhouse.peoplenews.com/flashservices/gateway

You should be able to test certain service paths to see if they work.

If they do, you will get a list of the available methods. (and can add them to your 
actionscript dictionary! Yay!)

Have you tried that route of debugging yet?

Mark



> Craig Riley <[EMAIL PROTECTED]> wrote:
> 
> At 02:21 PM 2/17/2003 +1100, you wrote:
> >Also -
> >
> >I think when you call the service it should be:
> >'components.vote'
> >NOT
> >'regency.components.vote'
> >
> >Looking at the actual website:
> >
> >gives me a 404
> >
> >where as
> >
> >'http://regencyhouse.peoplenews.com/components/vote.cfc'
> >
> >gives me what seems to be a disabled CFC browser.
> >
> >your root doesn't start before 'regencyhouse' it starts INSIDE
> 'regencyhouse'
> >
> >Does this make sense?
> 
> Good point Mark, agree the path to the component shouldn't contain 
> regencyhouse directory, however I get a 404 error for both urls?
> Something 
> funny going on with component broswer, it doesn't seem to be working 
> properly? I used to be able to login and get info on previous
> components 
> but now when i login I get  a "component not found error?!"
> 
> 
> 
> ><- doing 7 things at once.
> >
> >Mark
> >
> >
> >
> >
> >
> > > Andrew Muller <[EMAIL PROTECTED]> wrote:
> > >
> > > Craig
> > >
> > > Did you test the gateway?
> > >
> > > You should be able to call it directly and see a blank page if
> it's
> > > working ok.
> > >
> > > That's what I see when I browse to:
> > >
> > > http://regencyhouse.peoplenews.com/flashservices/gateway
> > >
> > > Craig Riley wrote:
> > > >
> > > > OK, sorry if I misunderstood, I have changed the code in flash
> to
> > > be:
> > > >
> > > >   // 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();
> > > >
> > > > and uploaded to http://regencyhouse.peoplenews.com/ but I still
> get
> > > the
> > > > same error! :-(((
> > > >
> > > >
> > > >
> > > > At 01:32 PM 2/17/2003 +1100, you wrote:
> > > >
> > > >> Craig -
> > > >>
> > > >> I am fairly sure you missunderstood.
> > > >>
> > > >> Andrew is saying that the gateway has to be pointing at
> > > >> http://regencyhouse.peoplenews.com NOT localhost.
> > > >>
> > > >> Localhost is considered a different domain by Flash, and you
> can't
> > > access
> > > >> outside of a domain outside where the Flash file is currently
> > > residing.
> > > >>
> > > >> Make more sense?
> > > >>
> > > >> Mark
> > > >>
> > > >>
> > > >>
> > > >> > Craig Riley <[EMAIL PROTECTED]> wrote:
> > > >> >
> > > >> > No Andrew, I'm not saying its a security issue, but you
> > > mentioned
> > > >> > that you
> > > >> > thought it was? I'm hoping, touching wood etc that this
> can't be
> > > the
> > > >> > case?
> > > >> > I have a site using flash remoting that works when I test it
> > > using
> > > >> > the path
> > > >> > where it resides on the server eg
> > > >> > http://miramar.ac3.com.au/regencyhouse/
> > > >> > (where http://miramar.ac.com.au is just the name of the
> server
> > > and
> > > >> > and is
> > > >> > effectively localhost). However obviously its not desirable
> to
> > > use
> > > >> > this url
> > > >> > for a live site so we set up DNS of a nice domain to point
> to
> > > this
> > > >> > location. Now for some reason one domain works and the other
> > > doesn't!
> > > >> > I'm
> > > >> > sure its just a simple path issue but I'm learning remoting
> as I
> > > go
> > > >> > (as
> > > >> > usual!) and I'm not sure what to change? I thought I had the
> > > thing
> > > >> > working
> > > >> > but DNS has just filtered through today and for some reason
> this
> > > is
> > > >> > producing the flash error previously mentioned - just seems
> > > strange?
> > > >> >
> > > >> > I don't mind if http://miramar.ac3.com.au/regencyhouse/
> doesn't
> > > work
> > > >> > anymore but I really need to get
> > > http://regencyhouse.peoplenews.com
> > > >> > to work?
> > > >> >
> > > >> > I've been pushing flash remoting to our UK offices and the
> site
> > > has
> > > >> > to be
> > > >> > live by this evening, panic!
> > > >> >
> > > >> > :-)
> > > >> >
> > > >> >
> > > >> > At 01:04 PM 2/17/2003 +1100, you wrote:
> > > >> > >Craig
> > > >> > >
> > > >> > >I hope that I've understood what you're saying.
> > > >> > >
> > > >> > >Flash Remoting's security is so specific that
> > > http://localhost:8500/
> > > >> > and
> > > >> > >http://127.0.0.1:8500/ are regarded as different domains
> and
> > > >> > therefore
> > > >> > >will not work.
> > > >> > >
> > > >> > >Andrew
> > > >> > >
> > > >> > >Craig Riley 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 <http://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
> > > >> > >><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
> > > >> > <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/
> > > >> > >
> > > >> > >--
> > > >> > >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/
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > 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/
> > >
> NetServices.setDefaultGatewayUrl("http://regencyhouse.peoplenews.com/
> > > 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/
> 
> 
> ---
> 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/
> >'http://regencyhouse.peoplenews.com/regencyhouse/components/vote.cfc
> '


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

Reply via email to