I'm an idiot -- was leaving off the "/flex2gateway/" at the end of my domain. Added it in there, and it works great now.
L. On Wed, Oct 27, 2010 at 10:13 PM, Laurence MacNeill <[email protected]>wrote: > So I've never used a <mx:RemoteObject> with an endpoint defined > before... I don't really know what I'm doing here... And I can't seem to > find any help on Google... Well, not any understandable (by me) help, that > is. > > I have the following code in a module being loaded by an AIR program: > <mx:RemoteObject endpoint="http://{domainName}:80/<http://%7bdomainname%7d/>" > id="roEventDAO" destination="ColdFusion" showBusyCursor="true" > source="{loginFolderName + '.cfcs.dao.EventDAO'}"> > <mx:method name="getUserEvents" > result="roGetUserEventsHandler(event);" fault="roFaultHandler(event);"/> > </mx:RemoteObject> > > And whenever I call the getUserEvents method, it returns this ColdFusion > error: > faultCode:Client.Error.MessageSend faultString:'Send failed' > faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: > Status 405: url: 'http://www.mydomain.com:80/ <http://www.mydomain.com/>'' > > 'HTTP Status 405' means Method Not Allowed. So what do I need to do to > allow this? Or is it something else that's blocking it, like a > configuration of some weird thing on the ColdFusion server? > > Any help will be appreciated. > > Thanks, > Laurence MacNeill > Mableton, Georgia, USA > >
