Hi Rick, I think we may have confirmation that > <method-access-level>remote</method-access-level> allows remote AND public methods to be called. Case in hand, my server lets me call methods marked as public via Remoting while my services file is set to remote only.
Lastly, if you mark your functions as remote I *can* hit them via HTTP. Tell me the URL of your CFC and I'll show you. In my case (functions marked public and services config marked remote) I cannot hit my CFC remotely. Check this: https://secure.muchosmedia.com/brainwaveadministrator/cfc/brainwave.cfc?wsdl&method=getusers So can we confirm that there's a bug somewhere? Or am I still not understanding this correctly? Regards, Stefan On 15 Feb 2008, at 23:50, Rick Root wrote: > On 2/14/08, Douglas Knudsen <[EMAIL PROTECTED]> wrote: >> >> See my earlier response, access="remote" != remoting here. For >> the >> typical setup of Flex SWF served on same server as CF lives, I >> never set any >> of the 100+ CFC methods to access="remote", not one, and it all >> worked fine >> via RemoteObject. > > Isn't that because your CF server is configured to allow public and > remote classes to be exposed. > > see services-config.xml > > <!-- allow "public and remote" or just "remote" methods to be > invoked --> > <method-access-level>remote</method-access-level> > > This is how you restrict flex remoting calls to "remote" methods only. > > The thing that bothered *me* about the default setup (above, including > the comment) is that it allows any remote methods to be called as a > web service. I prefer to use access="remote" so people can't call my > CFCs via HTTP calls directly. > > -- > Rick Root ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4970 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
