[ https://issues.apache.org/jira/browse/FLEX-35357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208753#comment-16208753 ]
Alex Harui commented on FLEX-35357: ----------------------------------- I realized that I was testing against a Royale SDK (new name for FlexJS). So replace "royale" with "flex" and you might have better luck. <?xml version="1.0" encoding="utf-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flex/basic" xmlns:mdl="library://ns.apache.org/flex/mdl" xmlns:local="*" applicationComplete="sendIt()"> <fx:Script> <![CDATA[ import org.apache.flex.net.events.FaultEvent; import org.apache.flex.net.events.ResultEvent; protected function sendIt():void { service.send("getUTCDateTimeNow", []); } private function onResult(evt:ResultEvent):void { trace("Result=" + evt.data); if (evt.data is String) received.text = "Received: " + evt.data; } private function onFault(evt:FaultEvent):void { trace("Fault=" + evt.message); } ]]> </fx:Script> <js:beads> <js:ClassAliasBead /> <js:RemoteObject id="service" result="onResult(event)" fault="onFault(event)" endPoint = "http://www.booxotel.com/flex2gateway/" destination = "ColdFusion" source = "1_2_0.STime"/> </js:beads> <js:initialView> <js:View> <js:beads> <js:VerticalLayout /> </js:beads> <js:TextButton text="Send request to CF" click="sendIt()"/> <js:Label id="received" width="300"/> </js:View> </js:initialView> <js:valuesImpl> <js:SimpleCSSValuesImpl /> </js:valuesImpl> </js:Application> > FlexJS RemoteObject and ColdFusion > ---------------------------------- > > Key: FLEX-35357 > URL: https://issues.apache.org/jira/browse/FLEX-35357 > Project: Apache Flex > Issue Type: Bug > Components: RPC: RemoteObject > Affects Versions: Apache FlexJS 0.9.0 > Environment: Windows 10, Firefox Developer > Reporter: Doug Simmons > Fix For: Apache FlexJS 0.9.0 > > Attachments: MSTest.zip, js-debug.zip > > > The project at https://justpaste.it/1bl2l > Generates error - stack trace at https://justpaste.it/1bksx > Doug -- This message was sent by Atlassian JIRA (v6.4.14#64029)