is your live and testing environments the same version of CF, same patch
level etc?
are the paths to the site and the CFC the same on both servers, can you
browse directly to the cfc in your test environment and view it with the
cfcbrowser.

Russ

On Wed, Sep 7, 2011 at 11:21 AM, marc -- <[email protected]> wrote:

>
> 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:347270
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to