royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlosrov...@apache.org>
Subject Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET
Date Thu, 09 Aug 2018 19:13:14 GMT
Hi Alex,
ok I'll try it and report my findings.

Just one thing from Joe's email: It seems you are trying to use MXRoyale
branch? I think that could be a problem. I'm not familiar with that branch
but I think is not already synced with develop, so if what I think is real,
RO will not work, since not all the working code is synced in that branch
and for that reason you can't find SimpleRO in that branch. I think Alex
did a cheery pic of jus one commit.

So before I do something I want you to test the following:

1.- Check develop branch
2.- build the three repos in the order: compiler, typedefs, asjs. I assume
you're building with Maven, since I'm not sure if ANT build can have some
issue, since I don't have ANT in my system
3.- taking into account this link [1] and since in step 2 you build
projects and examples you can go to the SampleAmfWebApp  Java example
folder and inside run "java -jar
target/SampleAmfWebApp-0.9.3-SNAPSHOT-exec.war" (you should have Java 8,
since other java versions will give you errors)
4.- go to a browsers and try http://localhost:8080 and see if all is
working fine (check AMF samples are working for you)

>From that "safe" point we go to your project (I Think is better to go from
safe points and progress from that):

5.- Use RemoteObjectAMFTest   as a sample project and modify with your test
server settings

For example take the

<js:RemoteObject id="service" result="onResult(event)" fault=
"onFault(event)"
endPoint = "http://localhost:8080/messagebroker/websocket-amf"
destination = "exampleService"/>

and change endPoint to http://66.155.36.74/remoting.aspx

and so on...

If you don't get it working I'll need you post here the code you tried and
no works and I'll try to get it working.

>From that point, since the project is a Jewel Example and for what I
understand you want to try MXRoyale, we'll need Alex's help to see what
problems could be. I think it could be just a matter of sync MXRoyale with
develop and fix possible problems at that time.

Please let me know if that plan is right for you.

Thanks


[1]
https://github.com/apache/royale-asjs/wiki/Apache-Royale-communication-with-AMF-and-RemoteObject



2018-08-09 20:46 GMT+02:00 Alex Harui <aharui@adobe.com>:

> Carlos,
>
> Since you've debugged this stuff more recently than me, I will let you
> debug this too unless you are too busy.
>
> Let me know,
> -Alex
>
> ´╗┐On 8/9/18, 11:31 AM, "JoeBoxer" <craigsills@hotmail.com> wrote:
>
>     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:
>     https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2F66.155.36.74%2Fremoting.aspx&amp;data=02%
> 7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%
> 7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&amp;sdata=
> 4riHOJeYYttb5opEmDxZi2S40P8cChWLr4OynnKuHBM%3D&amp;reserved=0
>     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="https://na01.
> safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.
> adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Caharui%40adobe.com%
> 7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C1%7C636694362868057831&amp;sdata=Vldme%
> 2BmQ08UQUlI765L0jJ7GJSrGknp2GFPGHiVd%2BNQ%3D&amp;reserved=0"
>                                            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="https://na01.safelinks.protection.outlook.
> com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;
> data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%
> 7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&amp;
> sdata=Vldme%2BmQ08UQUlI765L0jJ7GJSrGknp2GFPGHiVd%2BNQ%3D&amp;reserved=0"
>                                 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 = "https://na01.safelinks.
> protection.outlook.com/?url=http%3A%2F%2F66.155.36.74%
> 2Fremoting.aspx&amp;data=02%7C01%7Caharui%40adobe.com%
> 7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C1%7C636694362868057831&amp;sdata=4riHOJeYYttb5opEmDxZi2S40P8cCh
> WLr4OynnKuHBM%3D&amp;reserved=0"
>                                                  source =
> "Remoting.Service.Components.RemotingTest"
>                              destination = "GenericDestination"/>
>         </js:beads>
>     Main.air <https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%
> 2Ffile%2Ft53%2FMain.air&amp;data=02%7C01%7Caharui%40adobe.com%
> 7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C1%7C636694362868057831&amp;sdata=2doCLN2GBg0tm9sTxSos1qwrV3tEt9
> W6XU2pxYMKnQI%3D&amp;reserved=0>
>     weborb.config
>     <https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%
> 2Ffile%2Ft53%2Fweborb.config&amp;data=02%7C01%7Caharui%40adobe.com%
> 7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C1%7C636694362868057831&amp;sdata=yDwquYgko07Hbes%2FukKwY9%
> 2BAN6SQZXJ0yniBCTfjffE%3D&amp;reserved=0>
>         <js:initialView>
>                 <js:View>
>                         <js:TextButton text="Get Data" width="200"
> height="200"
>     click="initRemoting()"/>
>                 </js:View>
>         </js:initialView>
>
>     </js:Application>
>
>
>
>     --
>     Sent from: https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&
> amp;data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%
> 7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&amp;sdata=
> WxOI6rdtOK96MExgvQZssmH9O4iTglZ4Hm1qG%2F9bckg%3D&amp;reserved=0
>
>
>


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

Mime
View raw message