Re: Application.applicaitonName not avialable in a webservice.

2011-03-12 Thread James Holmes

On 12 March 2011 06:51, Bobby Hartsfield bo...@acoderslife.com wrote:

 The problem I have run into is that application scope (and thus
 application.applicationName) is not available from within the webservice.

Why not? Is the webservice CFC not part of the same directory
structure that has your Application.cfc at its root?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342950
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Application.applicaitonName not avialable in a webservice.

2011-03-12 Thread Bobby Hartsfield

Ahh! Thanks for jump starting my brain.

It is indeed in the directory structure but it looks like someone stuck a
rogue (empty) application.cfm in the model. Removing it fixes the issue but
breaks other stuff.

I'll just relocate the webservice (it shouldn't have been where it is
anyway)

Thanks a lot.

.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-Original Message-
From: James Holmes [mailto:james.hol...@gmail.com] 
Sent: Saturday, March 12, 2011 5:56 AM
To: cf-talk
Subject: Re: Application.applicaitonName not avialable in a webservice.


On 12 March 2011 06:51, Bobby Hartsfield bo...@acoderslife.com wrote:

 The problem I have run into is that application scope (and thus
 application.applicationName) is not available from within the webservice.

Why not? Is the webservice CFC not part of the same directory
structure that has your Application.cfc at its root?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342951
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm