views:

14

answers:

0

SOLVED. Dumb error. Failed to check that table specified was on remote server!

I have a Flex project which uses ColdFusion remoting to access an SQL database

The html/swf works fine both locally and remotely (where the coldfusion cfc is in the same folder struture as locally)

I have adapted the project to an Air application. Again this works fine on my computer with a local connection but, of course, for it to be of any value it needs to point to the remote server

my cfc is scraping.cfc and resides in a 'components' folder under the wwwroot I also named my dataservice Scraping

In the _Super_Scraping.as file I have amended one line from _serviceControl.endpoint = "http://localhost:8500/flex2gateway/" to _serviceControl.endpoint = "http://www.mySite.com/flex2gateway/"

This should be OK as if I enter that URL I do not get an error

The other line I see as relevant is serviceControl.source = "components.scraping"; but as the directory structures are the same both locally and remotely I have not changed it However, I get an "unable to invoke cfc" error when I attempt to interact with the Air app

related questions