Hi Carlos, 

I understand what you say but this means that there is no way to use the royale 
sdk to connect to coldfusion backend.

In this configuration always the destination property set to "ColdFusion" , the 
source property set to actual coldfusion component
and the name -in royale is the first parameter of send method- is the method 
inside the coldfusion component.

Another problem is the missing of method "setRemoteCredentials" and 
"setRemoteCredentials". 
This methods send a username and password the remote destrination (coldfusion) .


Thanks in advanced

Spiros

ps: I will change the source localy to see if I connect to CF source .
 


 


-----Original Message-----
From: Carlos Rovira [mailto:[email protected]] 
Sent: Tuesday, April 2, 2019 5:30 PM
To: [email protected]
Subject: Re: Remote Object and Coldfusion

Hi,

yes, in theory RemoteObject in MXRoyale (use this instead the one in
Network swc is what you need. It replicates flex remote object and has now
almost all functionality. Dictionary and Vector are the only types still
not supported. But you have even small messages and all functionality
tested in a BlazeDS project migration.

About "source" property: was a deprecated property in AMF0 (IIRC), so you
should not use it, and just use destination
using source was deprecated since you exposed in the client code the exact
backend source code class you're using, so making this a serious security
hole

code from our example in "examples/mxroyale"

<mx:RemoteObject id="serviceResp" fault="onFault(event)"
endpoint="http://localhost:8080/messagebroker/websocket-amf";
destination="exampleService"/>

HTH

Carlos


El mar., 2 abr. 2019 a las 13:44, spiros (<[email protected]>) escribió:

> Hi ,
>
> is there a way to use royale remote object to connect to coldfuison
> resources.
>
> I am not sure but I think there was a property "source" but I can't find
> anymore.
>
>
>
>
>
>               <js:RemoteObject id="service" result="onResult(event)"
> fault="onFault(event)"
>
>                                          endPoint =
> "http://localhost:80/flex2gateway";
>
>                                          destination = "ColdFusion"
>
>                                          source = "any cf source"/>
>
>
>
>
>
> I user the last js version 9.6.0
>
>
>
>
>
> Thanks
>
>
>
>
>
> Spiros
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to