Hi,
Abstract:
When I make a call to a webservice in a development environment I get a
response as expected. Funny thing is, if I make the exact same call to the same
template on a different machine (the testing environment) it does not work.
Elaboration:
when I make a call in my development environment to this remote method:
{hostname}/template/skins/auc/edit/RemoteHomepageEditService.cfc?method=loadHomepageAdvertisement
I note 2 things:
1 I get the requested data. In Firebug's Net tab under the request's line
'Html' tab I see the Json response this method returns.
2 If I add <cfdump var="#this#"><cfabort> in the body of the method I see a
dump of the component in firebug as expected.
If I follow the same scenario in a testing environment
(call
{hostname}/template/skins/auc/edit/RemoteHomepageEditService.cfc?method=loadHomepageAdvertisement
1 I see in Firebug's Net tab under the request line 'Html' nothing (stays
blank, no data returned).
2 If I add <cfdump var="#this#"><cfabort> in the body of the method I _don't_
see a dump of the method in Firebug. The HTML and Response tab are empty and
the Ext component that issued the call is eternally waiting for data.
BUT
If I put the <cfdump var="#this#"><cfabort> in the pseudo-constructor area of
the cfc (still on the faulty testing environment) I _do_ get a dump of a cfc in
Firebug but it is not a dump of RemoteHomepageEditService.cfc but of
Application.cfc in the root of the application!
So the component I call is found on both environment but it behaves as if it is
Application.cfc. only on te testing environment.
I tried removing the extends attribute of the component and minimizig to
<cfcomponent> but that makes no difference. The <cfdump> still outputs a dump
of the Application.cfc instead of itself (RemoteHomepageEditService.cfc)
Any hints?
CF 8,0,1
Windows server 2003
Thanks,
Marc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:347268
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm