I can not get flash to find the connection. Been messing with this for two days and can not get the hang of it, I hope Hal Helm's book will clear it up, but in the meantime --- HELP ---------------------------------------------------------- Flash action:
if (inited == undefined) { inited = true; var gwURL = "http://localhost:8500/flashservices/gateway"; NetServices.setDefaultGatewayURL(gwURL); gw = NetServices.createGatewayConnection(); categoryService = gw.getService("test.category", this); categoryService.GetCategories(); } --------------------------------------------------------- Cfc in the same Test folder: <!--- category.cfc ---> <CFCOMPONENT> <CFFUNCTION NAME="GetCategories" ACCESS="remote" RETURNTYPE="query" OUTPUT="false"> <!--- Get departments ---> <CFQUERY NAME="Categories" username="sa" password=" " DATASOURCE="Exec_exec"> SELECT * FROM Maincat ORDER BY maincat </CFQUERY> <CFRETURN Categories> </CFFUNCTION> </CFCOMPONENT> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4