Is the base component web accessible? That might (should?) be a requirement of any component that is used for web services, even if it's only used via inheritance, and never called directly.
cheers, barneyb On 8/9/05, Jim Davis <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 09, 2005 4:16 PM > > To: CF-Talk > > Subject: Re: Web Service Can't Extend non-web service? > > > > Did you click that URL? Because I got a "can't find component" error. > > Maybe that's the issue? > > The URL just worked for me... but it's a long one. Here's a tiny one: > > http://tinyurl.com/dxkd4 > > The problem I'm having however is on a different, non-public server. > > > I stand by my "no inheritance" statement. I'd put utility functions > > like that in an application.utilities CFC instance, and use them from > > there. Web service objects don't have any internal state, so there's > > no need for local methods. Again, composition rather than > > inheritance. > > I'm not sure... these are "extensions" (for the most part) not "Utilities". > I want to use the "setProp" method for all CFCs - so I remember to extend > this root one. Otherwise I'd have to create every CFC with properties as a > composite... doesn't seem right to me. > > Something like a generic getter or setter (which I know is probably > controversial in it's own right), a "clone" method or certain other things > seem to work best to me as methods of the object rather than properties of a > composite object. > > These are the kind of things I'd add to the Object prototype in a language > like JavaScript - but CF doesn't allow for that kind of thing so I'm left > with inheritance. > > But at the same time you might be right about NOT doing it with WebServices > (just to keep them simpler)... still, regardless of the choice I end up > making it would be nice to know why this is causing an error... > > Jim Davis > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214250 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

