You can if you're using AIR or Flex to invoke the CFC. Below is the section of remoting-config.xml, it explains itself quite well.
Again I don't know if it works, but reason suggest it might. HTH ** *<!-- define the resolution rules and access level of the cfc being invoked -->* *<access>* *<!-- Use the ColdFusion mappings to find CFCs, by default only CFC files under your webroot can be found. -->* *<use-mappings>true</use-mappings>* *<!-- allow "public and remote" or just "remote" methods to be invoked -->* *<method-access-level>public</method-access-level>* *</access>* On Thu, May 22, 2008 at 1:01 PM, Steve Onnis <[EMAIL PROTECTED]> wrote: > you still need to get to the cfc and because you are talking about remote > servers i dont believe you can connect remotely to another server using > normal cfcs > > ------------------------------ > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *MrBuzzy > *Sent:* Thursday, 22 May 2008 12:54 PM > *To:* [email protected] > *Subject:* [cfaussie] Re: Connect To Remote CF Server Admin API from > AIRApplication > > Sorry, no time to try this out... > > I'm wondering if you can set the remoting CFC access to 'public' (from > memory that's set in remoting-config.xml). > > Then the admin API CFCs might be accessible to your AIR app via the flex > gateway, without the need for a facade. > On Thu, May 22, 2008 at 8:28 AM, Owen West <[EMAIL PROTECTED]> > wrote: > >> Steve, >> >> That sounds like what I will need to do. I have not managed to connect to >> it locally from an AIR application so using a facade web service is probably >> the best option. >> >> Thanks everybody for the input. >> >> Owen West M.SysDev (C.Sturt) MCP MCAD MCSD >> Computer Programmer >> Applications Development Team >> Information Technology & Telecommunications >> Hunter New England Health >> Ph: (02) 4921 4194 >> Fax: (02) 4921 4191 >> Email: [EMAIL PROTECTED] >> >> >> >>> "Steve Onnis" <[EMAIL PROTECTED]> 21/05/2008 12:38 am >>> >> i have done that sorta but using CF. Created a webservice and dropped >> it on each server. Then when i want to connect to the server from another >> server i use the webservice as my gateway. >> >> <cfcomponent extends="cfide.adminapi.administrator"></cfcomponent> could >> be your webservice but i am unsure if the adminapi is accessible remotely. >> If you are able to connect to it using air locally i would imagine it is so >> you should be able to call all the functions through the webservice. that >> is unless i am way off :) >> >> steve >> >> ------------------------------ >> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On >> Behalf Of *Owen West >> *Sent:* Tuesday, 20 May 2008 1:14 PM >> *To:* [email protected] >> *Subject:* [cfaussie] Connect To Remote CF Server Admin API from AIR >> Application >> >> Hi all, >> >> Hoping somebody can help me out. We have several clustered CF8 instances >> here at work and I want to develop an AIR application whereby our developers >> can connect to a CF Cluster name from the AIR app, enter CF DSN details, >> Mappings, etc and have these settings created automaticallly at the click of >> a button on each CF instance in the cluster. This will greatly simplify our >> deployment as currently we need to log in to each instance separately using >> the CF administrator URL, create all required elements, making sure we get >> all the settings right, and repeat for each cf server. >> >> My main problem at the moment is that I am having difficulty in getting >> the AIR application to connect to a remote ColdFusion server's Admin API >> cfcs. I can connect to my local development server's admin api, but not my >> remote testing server. It is certainly possible that I have missed something >> really obvious, however I cannot seem to figure out how to do this. All the >> examples I have seen show using cfml code such as >> >> adminObj = createObject("component", >> "cfide.adminapi.administrator<http://appdevcf.cfide.adminapi.administrator/> >> "); >> >> However, this only connects to the local CF server. How can I "point" this >> at a remote ColdFusion server's admin api? >> >> As I said, maybe I'm missing something really obvious - if so please point >> me in the right direction! >> >> Cheers, >> >> >> >> Owen West M.SysDev (C.Sturt) MCP MCAD MCSD >> Computer Programmer >> Applications Development Team >> Information Technology & Telecommunications >> Hunter New England Health >> Ph: (02) 4921 4194 >> Fax: (02) 4921 4191 >> Email: [EMAIL PROTECTED] >> >> >> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
