> -----Original Message-----
> From: Barney Boisvert [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 09, 2005 7:06 PM
> To: CF-Talk
> Subject: Re: Web Service Can't Extend non-web service?
>
> 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.
Well - it may be more complicated, but I can make it work or break just by
adding or removing a virtual server mapping in IIS.
The line in question is definitely the cause as far as I can tell:
<cfset variables.Broker = CreateObject("Component",
"cfc_CPU.DB_Test.ReferenceData_Broker") />
However I misrepresented things a bit: this CFC
(cfc_CPU.DB_Test.ReferenceData_Broker) is already in a web accessible folder
- it extends one that isn't however.
However the CFC itself is just being instantiated by the service - it's
never being called AS a service (even tho' it's in a location that might be)
- it's essentially just a DAO object.
I'm currently using MX6.1 as well.
Jim Davis
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:214283
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