1 Reply Latest reply on Oct 27, 2010 8:32 PM by Laurence MacNeill

    RemoteObject with endpoint defined...

    Laurence MacNeill Level 1
      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/" id="roEventDAO" destination="ColdFusion" showBusyCursor="true" source="{loginFolderName + '.cfcs.dao.EventDAO'}">
           <mx:method name="getUserEvents" result="roGetUserEventsHandler(event);" fault="roFaultHandler(event);"/>
      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 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.
      Laurence MacNeill
      Mableton, Georgia, USA