Hi,

MXRoyale is almost 1:1 port of RPC flex code, so if you used that before
you have the same (even source property that is not in network remote
object bead version).

I can see the setRemoteCredentials in the code as well

So my bet is that you are using the Network RO class instead of the
MRRoyale one as I told you. That version probably don't work for you, or to
make it work will need more work for people interested in it.

try MXRoyale RemoteObject and let us know if that solve your problem

best

Carlos



El mié., 3 abr. 2019 a las 9:03, spiros (<[email protected]>) escribió:

> 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
>
>

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

Reply via email to