Skip to main content
nikos101
Inspiring
June 18, 2009
Question

2 CF servers,but different remote object path for flash

  • June 18, 2009
  • 1 reply
  • 2961 views

I have 2 CF servers,but different remote object path for flex in each server.

Eg for one flex program in my dev server I define the remote object as follows

<mx:RemoteObject id="myService" destination="ColdFusion" source="cfide.flex.path_to_file" showBusyCursor="true">

But in my live sevrver I have to do this.

<mx:RemoteObject id="myService" destination="ColdFusion" source="path_to_file" showBusyCursor="true">

How can I make both the same?

This topic has been closed for replies.

1 reply

Michael Borbor
Inspiring
June 18, 2009

Set a mapping on both servers.

nikos101
nikos101Author
Inspiring
June 19, 2009

I  added the following mapping to the server but it did not fix the problem

/CFIDE/FLEXC:\ColdFusion8\wwwroot\CFIDE\FLEX
Michael Borbor
Inspiring
June 20, 2009

You also have to enabled the use-mappings in the services-config.xml within

CF, restart and test again.