royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JoeBoxer <craigsi...@hotmail.com>
Subject Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET
Date Thu, 09 Aug 2018 18:31:21 GMT
Hello Alex and Carlos.

Thank you for responding to this issue.

I tried the nightly build of the feature/MXRoyale branch and noticed that
SimpleRemoteObject wasn't in that build so i used RemoteObject. 
Unfortunately i had the same problem.

I put together a test environment with WebORB at this endpoint:
http://66.155.36.74/remoting.aspx
I also made an Adobe AIR app with a successful remoting call to a country
list.  I'll paste the AIR code below and attach the air app as well.  I'm
not sure i have control of small messages so ill upload the WebORB config
file that I have the ability to modify on the server.

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
					   xmlns:s="library://ns.adobe.com/flex/spark" 
					   xmlns:mx="library://ns.adobe.com/flex/mx"
					   showStatusBar="false"
					   title="Remoting Test">
	<fx:Script>
		
	</fx:Script>
	<s:VGroup width="100%" height="100%">
		<s:Button id="testRemoting_btn" label="Test Remoting"
click="testHandler(event)"/>
		<s:List id="remoting_lst" width="100%" height="100%"
dataProvider="{_remotingList}"/>
	</s:VGroup>	
</s:WindowedApplication>

----------- Royale Code ------------

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   	xmlns:js="library://ns.apache.org/royale/express"
				xmlns:j="library://ns.apache.org/royale/basic">
	 <fx:Script>
		
	</fx:Script>

	<js:beads>
		<j:ClassAliasBead />
	 	<j:RemoteObject id="remotingService" result="onResult(event)"
fault="onFault(event)"
                         endPoint = "http://66.155.36.74/remoting.aspx"
						 source = "Remoting.Service.Components.RemotingTest"
                         destination = "GenericDestination"/>
    </js:beads>
Main.air <http://apache-royale-users.20374.n8.nabble.com/file/t53/Main.air>  
weborb.config
<http://apache-royale-users.20374.n8.nabble.com/file/t53/weborb.config>  
	<js:initialView>
		<js:View>
			<js:TextButton text="Get Data" width="200" height="200"
click="initRemoting()"/>
		</js:View>
	</js:initialView>

</js:Application>



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Mime
View raw message