That's definitely incorrect.  You can certainly instantiate and use
CFCs that aren't in the web root from web service CFCs.  I just ran a
test (on CFMX 6.1) with the instantiation in the method and in the
psuedo-constructor, and had no issues.

cheers,
barneyb

On 8/9/05, Jim Davis <[EMAIL PROTECTED]> wrote:
> > -----Original Message-----
> > From: Jim Davis [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 09, 2005 4:40 PM
> > To: CF-Talk
> > Subject: RE: Web Service Can't Extend non-web service?
> >
> > For what it's worth it looks like my initial guess was correct - sorta.  A
> > web service CFC can't extend a CFC inaccessible to the web.  If I do a web
> > server mapping to the CFC extended everything works (regardless of whether
> > the CFC being extended has any "remote" methods or not).
> >
> > That's a little annoying... but at least it's explainable.
> >
> > Jim Davis
> 
> This is actually a little ridiculous... it looks like I can't even
> instantiate a CFC that's not available in the web root.
> 
> 
> I have this line in the pseudo-constructor:
> 
> <cfset variables.Broker = CreateObject("Component",
> "cfc_CPU.DB_Test.ReferenceData_Broker") />
> 
> And I get the same error unless I put the CFC in a web accessible path.
> 
> This doesn't seem right to me - why does EVERYTHING have to be web
> accessible?
> 
> Jim Davis
> 
> 
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214277
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to