Hi Doug, 1004 appears to be when XHR returns something unexpected like status == 0 or responseType == "text".
I think you need to set the RemoteObject endpoint to the be URL to hit. The RemoteObject source is passed as part of the message packet to the server and is not parsed to find the URL for the request. HTH, -Alex On 9/19/17, 8:09 PM, "doug777" <doug777...@gmail.com> wrote: >Hi All, > >Moonshine now working properly. The folks at Moonshine were fantastic, >instant response and quickly solved my problem. > >The complete code for the project is at >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjustpaste >.it%2F1bgfa&data=02%7C01%7C%7C064b7118afdb499aa75008d4ffd4f820%7Cfa7b1b5a7 >b34438794aed2c178decee1%7C0%7C0%7C636414737542717073&sdata=Ox%2BjR7Ya7DE25 >CZ2qJAMU%2FA6b2BEwGxfVhULSKHsDFM%3D&reserved=0 > >The important bit is here > ><js:RemoteObject id="roSTime" destination="ColdFusion" >source="localhost:8500.booxotel.STime" >result="roCheckTestResultHandler(event)" fault="roFaultHandler(event)"/> > >private function init():void{ > this.roSTime.send("getUTCDateTimeNow", []); >} > >private function roCheckTestResultHandler(event:ResultEvent):void{ > Alert.show("Date received " + event.data, this); >} > >private function roFaultHandler(event:FaultEvent):void{ > Alert.show("Fault " + event.message, this); >} > >When run, it generates this error in the console window > >destination fault handler Object { code: -1004, message: "Invalid response >type.", detail: "Invalid XMLHttpRequest response sta…", data: null } >Language.js:238:7 > >Does that mean it's reached CF and got a response it didn't understand? > >Doug > > > >-- >Sent from: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle >x-users.2333346.n4.nabble.com%2F&data=02%7C01%7C%7C064b7118afdb499aa75008d >4ffd4f820%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636414737542717073& >sdata=eK0nhnNAujNKvxJbnVARKVZ9SZ5BJcaX7Iiw4boiqws%3D&reserved=0