Re: RemoteObject cannot work with ColdFusion without source attribute

2022-08-27 Thread Doug Simmons

Hi,

If I replace RemoteObject.js, Operation.js and RemotingMessage.js in the 
compiled project org.apache.royale.net folder with these files from a js 
project compiled with 0.9.0 then the ColdFusion POST through the 
flex2gateway works correctly again.


So there is no doubt that your removal of 'source' from the parameters 
available prevents ColdFusion from working.


I'm working in Moonshine and at the moment I can't find a way to get 
Moonshine to pick up source from a modified SDK, so I have to compile 
without source then add it back into the compiled project file then 
replace the net folder and then everything works correctly.


I can live with this, but of course it would be nice if the current SDK 
allowed CF to work as before.


Doug


On 15/06/2022 02:48, Yishay Weiss wrote:


Thanks and keep us posted either way.

*From: *Doug Simmons <mailto:doug777...@gmail.com>
*Sent: *Tuesday, June 14, 2022 11:21 AM
*To: *users@royale.apache.org
*Subject: *Re: RemoteObject cannot work with ColdFusion without source 
attribute


Apologies, I should have said that Royale RemoteObject worked with 
ColdFusion in sdk 0.9.0 (not 0.9.3).


I've run out of time right now and won't be back for 2 months, but 
I'll get back to you if I can reinstate source locally.


Doug

On 14/06/2022 14:20, Yishay Weiss wrote:

Hi Doug,

I am not familiar with this area of code, but it sounds like you
have an idea for a patch. Can you make this work locally?

*From: *Doug Simmons <mailto:doug777...@gmail.com>
*Sent: *Tuesday, June 14, 2022 4:21 AM
*To: *users@royale.apache.org
*Subject: *Re: RemoteObject cannot work with ColdFusion without
source attribute

Hi Alex,

js:RemoteObject worked flawlessly with ColdFusion in sdk 0.9.3.

I don't know why source was removed before 0.9.9, but surely it's
simple
to re-instate it and surround it with
if(destination = 'ColdFusion').

Doug

On 14/06/2022 00:51, Alex Harui wrote:
> Hi Doug,
>
> I might have missed a post, but have you tried Charles or a
network analyzer to compare what Flex sends and receives vs Royale?
> Knowing the difference can help determine next steps.
>
> Thanks,
> -Alex
>
> On 6/13/22, 1:31 AM, "Doug Simmons" 
<mailto:doug777...@gmail.com> wrote:
>
>  EXTERNAL: Use caution when clicking on links or opening
attachments.
>
>
>  Hi All,
>
>  After trying everything I can think of including trying all
the examples
>  for js:RemoteObject and mx:RemoteObject, I can only get CF
to respond
>  with js:RemoteObject set up normally. Unfortunately it
responds -
>
>  Exception: flex.messaging.MessageException: Unable to find
source to
>  invoke (in the CF log)
>
>  If using source is a problem with some messaging services,
can't the
>  source be written so that it only has an effect when
destination =
>  'ColdFusion'?
>
>  Please let me know if source can be returned to the sdk as
otherwise I
>  have to give up on Apache Royale,
>
>  Thanks,
>  Doug
>



RE: RemoteObject cannot work with ColdFusion without source attribute

2022-06-14 Thread Yishay Weiss
Thanks and keep us posted either way.

From: Doug Simmons<mailto:doug777...@gmail.com>
Sent: Tuesday, June 14, 2022 11:21 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: RemoteObject cannot work with ColdFusion without source attribute

Apologies, I should have said that Royale RemoteObject worked with ColdFusion 
in sdk 0.9.0 (not 0.9.3).

I've run out of time right now and won't be back for 2 months, but I'll get 
back to you if I can reinstate source locally.

Doug
On 14/06/2022 14:20, Yishay Weiss wrote:
Hi Doug,

I am not familiar with this area of code, but it sounds like you have an idea 
for a patch. Can you make this work locally?

From: Doug Simmons<mailto:doug777...@gmail.com>
Sent: Tuesday, June 14, 2022 4:21 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: RemoteObject cannot work with ColdFusion without source attribute

Hi Alex,

js:RemoteObject worked flawlessly with ColdFusion in sdk 0.9.3.

I don't know why source was removed before 0.9.9, but surely it's simple
to re-instate it and surround it with
if(destination = 'ColdFusion').

Doug

On 14/06/2022 00:51, Alex Harui wrote:
> Hi Doug,
>
> I might have missed a post, but have you tried Charles or a network analyzer 
> to compare what Flex sends and receives vs Royale?
> Knowing the difference can help determine next steps.
>
> Thanks,
> -Alex
>
> On 6/13/22, 1:31 AM, "Doug Simmons" 
> <mailto:doug777...@gmail.com> wrote:
>
>  EXTERNAL: Use caution when clicking on links or opening attachments.
>
>
>  Hi All,
>
>  After trying everything I can think of including trying all the examples
>  for js:RemoteObject and mx:RemoteObject, I can only get CF to respond
>  with js:RemoteObject set up normally. Unfortunately it responds -
>
>  Exception: flex.messaging.MessageException: Unable to find source to
>  invoke (in the CF log)
>
>  If using source is a problem with some messaging services, can't the
>  source be written so that it only has an effect when destination =
>  'ColdFusion'?
>
>  Please let me know if source can be returned to the sdk as otherwise I
>  have to give up on Apache Royale,
>
>  Thanks,
>  Doug
>





Re: RemoteObject cannot work with ColdFusion without source attribute

2022-06-14 Thread Doug Simmons
Apologies, I should have said that Royale RemoteObject worked with 
ColdFusion in sdk 0.9.0 (not 0.9.3).


I've run out of time right now and won't be back for 2 months, but I'll 
get back to you if I can reinstate source locally.


Doug

On 14/06/2022 14:20, Yishay Weiss wrote:


Hi Doug,

I am not familiar with this area of code, but it sounds like you have 
an idea for a patch. Can you make this work locally?


*From: *Doug Simmons <mailto:doug777...@gmail.com>
*Sent: *Tuesday, June 14, 2022 4:21 AM
*To: *users@royale.apache.org
*Subject: *Re: RemoteObject cannot work with ColdFusion without source 
attribute


Hi Alex,

js:RemoteObject worked flawlessly with ColdFusion in sdk 0.9.3.

I don't know why source was removed before 0.9.9, but surely it's simple
to re-instate it and surround it with
if(destination = 'ColdFusion').

Doug

On 14/06/2022 00:51, Alex Harui wrote:
> Hi Doug,
>
> I might have missed a post, but have you tried Charles or a network 
analyzer to compare what Flex sends and receives vs Royale?

> Knowing the difference can help determine next steps.
>
> Thanks,
> -Alex
>
> On 6/13/22, 1:31 AM, "Doug Simmons"  wrote:
>
>  EXTERNAL: Use caution when clicking on links or opening 
attachments.

>
>
>  Hi All,
>
>  After trying everything I can think of including trying all the 
examples
>  for js:RemoteObject and mx:RemoteObject, I can only get CF to 
respond

>  with js:RemoteObject set up normally. Unfortunately it responds -
>
>  Exception: flex.messaging.MessageException: Unable to find 
source to

>  invoke (in the CF log)
>
>  If using source is a problem with some messaging services, 
can't the

>  source be written so that it only has an effect when destination =
>  'ColdFusion'?
>
>  Please let me know if source can be returned to the sdk as 
otherwise I

>  have to give up on Apache Royale,
>
>  Thanks,
>  Doug
>



RE: RemoteObject cannot work with ColdFusion without source attribute

2022-06-13 Thread Yishay Weiss
Hi Doug,

I am not familiar with this area of code, but it sounds like you have an idea 
for a patch. Can you make this work locally?

From: Doug Simmons<mailto:doug777...@gmail.com>
Sent: Tuesday, June 14, 2022 4:21 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: RemoteObject cannot work with ColdFusion without source attribute

Hi Alex,

js:RemoteObject worked flawlessly with ColdFusion in sdk 0.9.3.

I don't know why source was removed before 0.9.9, but surely it's simple
to re-instate it and surround it with
if(destination = 'ColdFusion').

Doug

On 14/06/2022 00:51, Alex Harui wrote:
> Hi Doug,
>
> I might have missed a post, but have you tried Charles or a network analyzer 
> to compare what Flex sends and receives vs Royale?
> Knowing the difference can help determine next steps.
>
> Thanks,
> -Alex
>
> On 6/13/22, 1:31 AM, "Doug Simmons"  wrote:
>
>  EXTERNAL: Use caution when clicking on links or opening attachments.
>
>
>  Hi All,
>
>  After trying everything I can think of including trying all the examples
>  for js:RemoteObject and mx:RemoteObject, I can only get CF to respond
>  with js:RemoteObject set up normally. Unfortunately it responds -
>
>  Exception: flex.messaging.MessageException: Unable to find source to
>  invoke (in the CF log)
>
>  If using source is a problem with some messaging services, can't the
>  source be written so that it only has an effect when destination =
>  'ColdFusion'?
>
>  Please let me know if source can be returned to the sdk as otherwise I
>  have to give up on Apache Royale,
>
>  Thanks,
>  Doug
>



Re: RemoteObject cannot work with ColdFusion without source attribute

2022-06-13 Thread Doug Simmons

Hi Alex,

js:RemoteObject worked flawlessly with ColdFusion in sdk 0.9.3.

I don't know why source was removed before 0.9.9, but surely it's simple 
to re-instate it and surround it with

if(destination = 'ColdFusion').

Doug

On 14/06/2022 00:51, Alex Harui wrote:

Hi Doug,

I might have missed a post, but have you tried Charles or a network analyzer to 
compare what Flex sends and receives vs Royale?
Knowing the difference can help determine next steps.

Thanks,
-Alex

On 6/13/22, 1:31 AM, "Doug Simmons"  wrote:

 EXTERNAL: Use caution when clicking on links or opening attachments.


 Hi All,

 After trying everything I can think of including trying all the examples
 for js:RemoteObject and mx:RemoteObject, I can only get CF to respond
 with js:RemoteObject set up normally. Unfortunately it responds -

 Exception: flex.messaging.MessageException: Unable to find source to
 invoke (in the CF log)

 If using source is a problem with some messaging services, can't the
 source be written so that it only has an effect when destination =
 'ColdFusion'?

 Please let me know if source can be returned to the sdk as otherwise I
 have to give up on Apache Royale,

 Thanks,
 Doug





Re: RemoteObject cannot work with ColdFusion without source attribute

2022-06-13 Thread Alex Harui
Hi Doug,

I might have missed a post, but have you tried Charles or a network analyzer to 
compare what Flex sends and receives vs Royale?
Knowing the difference can help determine next steps.

Thanks,
-Alex

On 6/13/22, 1:31 AM, "Doug Simmons"  wrote:

EXTERNAL: Use caution when clicking on links or opening attachments.


Hi All,

After trying everything I can think of including trying all the examples
for js:RemoteObject and mx:RemoteObject, I can only get CF to respond
with js:RemoteObject set up normally. Unfortunately it responds -

Exception: flex.messaging.MessageException: Unable to find source to
invoke (in the CF log)

If using source is a problem with some messaging services, can't the
source be written so that it only has an effect when destination =
'ColdFusion'?

Please let me know if source can be returned to the sdk as otherwise I
have to give up on Apache Royale,

Thanks,
Doug



RemoteObject cannot work with ColdFusion without source attribute

2022-06-13 Thread Doug Simmons

Hi All,

After trying everything I can think of including trying all the examples 
for js:RemoteObject and mx:RemoteObject, I can only get CF to respond 
with js:RemoteObject set up normally. Unfortunately it responds -


Exception: flex.messaging.MessageException: Unable to find source to 
invoke (in the CF log)


If using source is a problem with some messaging services, can't the 
source be written so that it only has an effect when destination = 
'ColdFusion'?


Please let me know if source can be returned to the sdk as otherwise I 
have to give up on Apache Royale,


Thanks,
Doug


RE: Royale RemoteObject with ColdFuaion

2022-06-10 Thread Maria Jose Esteve
I have not worked much with RemoteObject, and never with CF (I use FluorineFX) 
but I do remember reading some earlier posts about it.
Maybe someone else can help on this point.

Hiedra

De: Doug Simmons 
Enviado el: viernes, 10 de junio de 2022 11:06
Para: users@royale.apache.org
Asunto: Re: Royale RemoteObject with ColdFuaion

Don't worry, I have changed MouseEvent to Event and now it compiles no problem. 
But still problem with RemoteObject. I'm trying to see what is happening with 
this. It's different with mx:RemoteObject but still not quite right.

On 10/06/2022 16:58, Maria Jose Esteve wrote:
Maybe this afternoon I will be able to see the example. I'll be back here with 
my conclusions.
Hiedra

De: Doug Simmons <mailto:doug777...@gmail.com>
Enviado el: viernes, 10 de junio de 2022 10:00
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Re: Royale RemoteObject with ColdFuaion

Thanks, but sadly the example has the same problem. Its MouseEvents are also 
marked as ambiguous. This is with the latest SDK 0.9.9
On 10/06/2022 14:58, Maria Jose Esteve wrote:
Hi, it might help to look at one of the examples included in the SDK:  
“royale-asjs\examples\mxroyale\RemoteObjectAMFTest\src\main\royale”

Hiedra

De: Doug Simmons <mailto:doug777...@gmail.com>
Enviado el: viernes, 10 de junio de 2022 6:18
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Re: Royale RemoteObject with ColdFuaion

Hi All,

I have added mx and can now use mx:RemoteObject, but now all my MouseEvents are 
marked as "Ambiguous Reference" even though I've chosen the js version.

I've seen things like -

 function myFunction(event : js::MouseEvent){

in other languages, but I can't find any way to specify which library to use in 
actionscript.

How do you get this to work?

Doug



On 07/06/2022 05:18, Alina Kazi wrote:
Hi Doug,

I have used mx:RemoteObject in several applications.
Remote Object in declaration block of mxml file

Responder and fault handlers I have added using AsyncTolen and Responder.

var responder680:Responder = new Responder(on_sel_ScanDocTypeCd_SimpleRH, 
ROFaultHandler);
 var token680:AsyncToken = 
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication as 
IEPS).getAppUserInfo(true)); token680.addResponder(responder680); 
trace(token680);


In some cases I have created the RemoteObject in actionscript class too and it 
works fine.
In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH
And fault handler is :
ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve, 
mailto:mjest...@iest.com>> wrote:
Have you tried mx:RemoteObject?

Hiedra

De: Doug Simmons mailto:doug777...@gmail.com>>
Enviado el: domingo, 5 de junio de 2022 6:38
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for use with ColdFusion, 
but I can't get it to work.

In a Flex (AIR) project I have :





this.roWeDates.getmonthdates(this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to the CF method : -

No data is returned from CF and neither result or fault handlers are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302 Found 
972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "", data: null }
Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes a CORS preflight 
error.

Does anyone have a solution?

Doug





Re: Royale RemoteObject with ColdFuaion

2022-06-10 Thread Doug Simmons
Don't worry, I have changed MouseEvent to Event and now it compiles no 
problem. But still problem with RemoteObject. I'm trying to see what is 
happening with this. It's different with mx:RemoteObject but still not 
quite right.



On 10/06/2022 16:58, Maria Jose Esteve wrote:


Maybe this afternoon I will be able to see the example. I'll be back 
here with my conclusions.


Hiedra

*De:* Doug Simmons 
*Enviado el:* viernes, 10 de junio de 2022 10:00
*Para:* users@royale.apache.org
*Asunto:* Re: Royale RemoteObject with ColdFuaion

Thanks, but sadly the example has the same problem. Its MouseEvents 
are also marked as ambiguous. This is with the latest SDK 0.9.9


On 10/06/2022 14:58, Maria Jose Esteve wrote:

Hi, it might help to look at one of the examples included in the
SDK:
 “royale-asjs\examples\mxroyale\RemoteObjectAMFTest\src\main\royale”

Hiedra

*De:* Doug Simmons 
<mailto:doug777...@gmail.com>
*Enviado el:* viernes, 10 de junio de 2022 6:18
*Para:* users@royale.apache.org
*Asunto:* Re: Royale RemoteObject with ColdFuaion

Hi All,

I have added mx and can now use mx:RemoteObject, but now all my
MouseEvents are marked as "Ambiguous Reference" even though I've
chosen the js version.

I've seen things like -

 function myFunction(event : js::MouseEvent){

in other languages, but I can't find any way to specify which
library to use in actionscript.

How do you get this to work?

Doug


On 07/06/2022 05:18, Alina Kazi wrote:

Hi Doug,

I have used mx:RemoteObject in several applications.

Remote Object in declaration block of mxml file



Responder and fault handlers I have added using AsyncTolen and
Responder.

var responder680:Responder = new
Responder(on_sel_ScanDocTypeCd_SimpleRH, ROFaultHandler);

 var token680:AsyncToken =
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication
as IEPS).getAppUserInfo(true));
token680.addResponder(responder680); trace(token680);

    In some cases I have created the RemoteObject in actionscript
class too and it works fine.

In the above case the Result handler is:
on_sel_ScanDocTypeCd_SimpleRH

And fault handler is :

ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve,
 wrote:

Have you tried mx:RemoteObject?

Hiedra

*De:* Doug Simmons 
*Enviado el:* domingo, 5 de junio de 2022 6:38
*Para:* users@royale.apache.org
*Asunto:* Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for
use with ColdFusion, but I can't get it to work.

In a Flex (AIR) project I have :


    


this.roWeDates.getmonthdates(this.yearChooser.selectedItem,
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";
<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates",
[this.yearChooser.selectedItem,
this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send
to the CF method : -

No data is returned from CF and neither result or fault
handlers are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc
[HTTP/1.1 302 Found 972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.",
detail: "", data: null }    Language.js:280:22

I have tried with flex2gateway in the cfc url, but this
causes a CORS preflight error.

Does anyone have a solution?

Doug



RE: Royale RemoteObject with ColdFuaion

2022-06-10 Thread Maria Jose Esteve
Maybe this afternoon I will be able to see the example. I'll be back here with 
my conclusions.
Hiedra

De: Doug Simmons 
Enviado el: viernes, 10 de junio de 2022 10:00
Para: users@royale.apache.org
Asunto: Re: Royale RemoteObject with ColdFuaion

Thanks, but sadly the example has the same problem. Its MouseEvents are also 
marked as ambiguous. This is with the latest SDK 0.9.9
On 10/06/2022 14:58, Maria Jose Esteve wrote:
Hi, it might help to look at one of the examples included in the SDK:  
“royale-asjs\examples\mxroyale\RemoteObjectAMFTest\src\main\royale”

Hiedra

De: Doug Simmons <mailto:doug777...@gmail.com>
Enviado el: viernes, 10 de junio de 2022 6:18
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Re: Royale RemoteObject with ColdFuaion

Hi All,

I have added mx and can now use mx:RemoteObject, but now all my MouseEvents are 
marked as "Ambiguous Reference" even though I've chosen the js version.

I've seen things like -

 function myFunction(event : js::MouseEvent){

in other languages, but I can't find any way to specify which library to use in 
actionscript.

How do you get this to work?

Doug


On 07/06/2022 05:18, Alina Kazi wrote:
Hi Doug,

I have used mx:RemoteObject in several applications.
Remote Object in declaration block of mxml file

Responder and fault handlers I have added using AsyncTolen and Responder.

var responder680:Responder = new Responder(on_sel_ScanDocTypeCd_SimpleRH, 
ROFaultHandler);
 var token680:AsyncToken = 
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication as 
IEPS).getAppUserInfo(true)); token680.addResponder(responder680); 
trace(token680);


In some cases I have created the RemoteObject in actionscript class too and it 
works fine.
In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH
And fault handler is :
ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve, 
mailto:mjest...@iest.com>> wrote:
Have you tried mx:RemoteObject?

Hiedra

De: Doug Simmons mailto:doug777...@gmail.com>>
Enviado el: domingo, 5 de junio de 2022 6:38
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for use with ColdFusion, 
but I can't get it to work.

In a Flex (AIR) project I have :





this.roWeDates.getmonthdates(this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to the CF method : -

No data is returned from CF and neither result or fault handlers are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302 Found 
972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "", data: null }
Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes a CORS preflight 
error.

Does anyone have a solution?

Doug




Re: Royale RemoteObject with ColdFuaion

2022-06-10 Thread Doug Simmons
Thanks, but sadly the example has the same problem. Its MouseEvents are 
also marked as ambiguous. This is with the latest SDK 0.9.9


On 10/06/2022 14:58, Maria Jose Esteve wrote:


Hi, it might help to look at one of the examples included in the SDK: 
 “royale-asjs\examples\mxroyale\RemoteObjectAMFTest\src\main\royale”


Hiedra

*De:* Doug Simmons 
*Enviado el:* viernes, 10 de junio de 2022 6:18
*Para:* users@royale.apache.org
*Asunto:* Re: Royale RemoteObject with ColdFuaion

Hi All,

I have added mx and can now use mx:RemoteObject, but now all my 
MouseEvents are marked as "Ambiguous Reference" even though I've 
chosen the js version.


I've seen things like -

 function myFunction(event : js::MouseEvent){

in other languages, but I can't find any way to specify which library 
to use in actionscript.


How do you get this to work?

Doug

On 07/06/2022 05:18, Alina Kazi wrote:

Hi Doug,

I have used mx:RemoteObject in several applications.

Remote Object in declaration block of mxml file



Responder and fault handlers I have added using AsyncTolen and
Responder.

var responder680:Responder = new
Responder(on_sel_ScanDocTypeCd_SimpleRH, ROFaultHandler);

 var token680:AsyncToken =
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication
as IEPS).getAppUserInfo(true));
token680.addResponder(responder680); trace(token680);

In some cases I have created the RemoteObject in actionscript
class too and it works fine.

In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH

And fault handler is :

ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve, 
wrote:

Have you tried mx:RemoteObject?

Hiedra

*De:* Doug Simmons 
*Enviado el:* domingo, 5 de junio de 2022 6:38
*Para:* users@royale.apache.org
*Asunto:* Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for use
with ColdFusion, but I can't get it to work.

In a Flex (AIR) project I have :


    


this.roWeDates.getmonthdates(this.yearChooser.selectedItem,
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";
<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates",
[this.yearChooser.selectedItem,
this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to
the CF method : -

No data is returned from CF and neither result or fault
handlers are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc
[HTTP/1.1 302 Found 972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail:
"", data: null }    Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes
a CORS preflight error.

Does anyone have a solution?

Doug



RE: Royale RemoteObject with ColdFuaion

2022-06-09 Thread Maria Jose Esteve
Hi, it might help to look at one of the examples included in the SDK:  
“royale-asjs\examples\mxroyale\RemoteObjectAMFTest\src\main\royale”

Hiedra

De: Doug Simmons 
Enviado el: viernes, 10 de junio de 2022 6:18
Para: users@royale.apache.org
Asunto: Re: Royale RemoteObject with ColdFuaion

Hi All,

I have added mx and can now use mx:RemoteObject, but now all my MouseEvents are 
marked as "Ambiguous Reference" even though I've chosen the js version.

I've seen things like -

 function myFunction(event : js::MouseEvent){

in other languages, but I can't find any way to specify which library to use in 
actionscript.

How do you get this to work?

Doug

On 07/06/2022 05:18, Alina Kazi wrote:
Hi Doug,

I have used mx:RemoteObject in several applications.
Remote Object in declaration block of mxml file

Responder and fault handlers I have added using AsyncTolen and Responder.

var responder680:Responder = new Responder(on_sel_ScanDocTypeCd_SimpleRH, 
ROFaultHandler);
 var token680:AsyncToken = 
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication as 
IEPS).getAppUserInfo(true)); token680.addResponder(responder680); 
trace(token680);


In some cases I have created the RemoteObject in actionscript class too and it 
works fine.
In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH
And fault handler is :
ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve, 
mailto:mjest...@iest.com>> wrote:
Have you tried mx:RemoteObject?

Hiedra

De: Doug Simmons mailto:doug777...@gmail.com>>
Enviado el: domingo, 5 de junio de 2022 6:38
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for use with ColdFusion, 
but I can't get it to work.

In a Flex (AIR) project I have :





this.roWeDates.getmonthdates(this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to the CF method : -

No data is returned from CF and neither result or fault handlers are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302 Found 
972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "", data: null }
Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes a CORS preflight 
error.

Does anyone have a solution?

Doug



Re: Royale RemoteObject with ColdFuaion

2022-06-09 Thread Doug Simmons

Hi All,

I have added mx and can now use mx:RemoteObject, but now all my 
MouseEvents are marked as "Ambiguous Reference" even though I've chosen 
the js version.


I've seen things like -

 function myFunction(event : js::MouseEvent){

in other languages, but I can't find any way to specify which library to 
use in actionscript.


How do you get this to work?

Doug


On 07/06/2022 05:18, Alina Kazi wrote:

Hi Doug,

I have used mx:RemoteObject in several applications.
Remote Object in declaration block of mxml file
endpoint="{ROEndpoint}" showBusyCursor="true" source="{ROSource}">

Responder and fault handlers I have added using AsyncTolen and Responder.

var responder680:Responder = new 
Responder(on_sel_ScanDocTypeCd_SimpleRH, ROFaultHandler);
 var token680:AsyncToken = 
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication as 
IEPS).getAppUserInfo(true)); token680.addResponder(responder680); 
trace(token680);



In some cases I have created the RemoteObject in actionscript class 
too and it works fine.

In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH
And fault handler is :
ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve,  wrote:

Have you tried mx:RemoteObject?

Hiedra

*De:* Doug Simmons 
*Enviado el:* domingo, 5 de junio de 2022 6:38
*Para:* users@royale.apache.org
*Asunto:* Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for use with
ColdFusion, but I can't get it to work.

In a Flex (AIR) project I have :


    


this.roWeDates.getmonthdates(this.yearChooser.selectedItem,
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";
<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates",
[this.yearChooser.selectedItem, this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to the
CF method : -

No data is returned from CF and neither result or fault handlers
are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc
[HTTP/1.1 302 Found 972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "",
data: null } Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes a
CORS preflight error.

Does anyone have a solution?

Doug



Re: Royale RemoteObject with ColdFuaion

2022-06-08 Thread Doug Simmons

Hi Jim,

Thanks for suggestion, but I now have everything running in the same 
domain, so no more CORS problems.


I have continued checking Royale RemoteObject. It certainly looks as 
though it sends the right data, and the CF log shows the data is 
received, but CF fails with a Null Pointer Exception at 
coldfusion.filter.ComponentFilter.normalizeParamTypeForAjax(ComponentFilter.java:297)


I don't know anything about Ajax, but perhaps this means the request 
header needs some Ajax info. Does anyone know anything about Ajax?


Doug


On 07/06/2022 16:53, Jim McNamara wrote:

Hi Doug-

I have  a suggestion. If I am understanding it right why don't you try the CORS 
plug-in. I think it is for Chrome or maybe edge.

I used it when I got a cross policy error when I fooled around with the Vue.js 
framework.

If that is all that it is...

thanks,
jim (robo-loki)






On Monday, June 6, 2022, 11:26:28 PM EDT, Doug Simmons  
wrote:





Hi All,

Many thanks for all the suggestions. I will give them a try.

Surely though, the best solution is to get Royale RemoteObject working 
properly, unless anyone is aware of some fundamental reason why it can't. I'm 
happy to take a look at any relevant source code to see if I can devise a fix 
at least for CF. It wouldn't be quick as I will shortly be away for nearly two 
months. But if there is no time constraint, I'm happy to try.

Doug




On 07/06/2022 05:18, Alina Kazi wrote:


   

Hi Doug,




I have used mx:RemoteObject in several applications.

Remote Object in declaration block of mxml file



Responder and fault handlers I have added using AsyncTolen and Responder.




var responder680:Responder = new Responder(on_sel_ScanDocTypeCd_SimpleRH, 
ROFaultHandler);

  var token680:AsyncToken = 
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication as 
IEPS).getAppUserInfo(true)); token680.addResponder(responder680); 
trace(token680);







In some cases I have created the RemoteObject in actionscript class too and it 
works fine.

In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH

And fault handler is :

ROFaultHandler





Hope that helps.




-Alina Kazi





On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve,  wrote:


   
   
   
Have you tried mx:RemoteObject?


  

   
Hiedra



  

   
   
De: Doug Simmons 

Enviado el: domingo, 5 de junio de 2022 6:38
Para: users@royale.apache.org
Asunto: Royale RemoteObject with ColdFuaion



  


Hi,

Apache Royale Remote Object API says it is suitable for use with ColdFusion, 
but I can't get it to work.

In a Flex (AIR) project I have :


     


this.roWeDates.getmonthdates(this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc"/>

this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to the CF method : -

No data is returned from CF and neither result or fault handlers are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302 Found 
972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "", data: null }
    Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes a CORS preflight 
error.

Does anyone have a solution?

Doug












Re: Royale RemoteObject with ColdFuaion

2022-06-06 Thread Doug Simmons

Hi All,

Many thanks for all the suggestions. I will give them a try.

Surely though, the best solution is to get Royale RemoteObject working 
properly, unless anyone is aware of some fundamental reason why it 
can't. I'm happy to take a look at any relevant source code to see if I 
can devise a fix at least for CF. It wouldn't be quick as I will shortly 
be away for nearly two months. But if there is no time constraint, I'm 
happy to try.


Doug



On 07/06/2022 05:18, Alina Kazi wrote:

Hi Doug,

I have used mx:RemoteObject in several applications.
Remote Object in declaration block of mxml file
endpoint="{ROEndpoint}" showBusyCursor="true" source="{ROSource}">

Responder and fault handlers I have added using AsyncTolen and Responder.

var responder680:Responder = new 
Responder(on_sel_ScanDocTypeCd_SimpleRH, ROFaultHandler);
 var token680:AsyncToken = 
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication as 
IEPS).getAppUserInfo(true)); token680.addResponder(responder680); 
trace(token680);



In some cases I have created the RemoteObject in actionscript class 
too and it works fine.

In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH
And fault handler is :
ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve,  wrote:

Have you tried mx:RemoteObject?

Hiedra

*De:* Doug Simmons 
*Enviado el:* domingo, 5 de junio de 2022 6:38
*Para:* users@royale.apache.org
*Asunto:* Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for use with
ColdFusion, but I can't get it to work.

In a Flex (AIR) project I have :


    


this.roWeDates.getmonthdates(this.yearChooser.selectedItem,
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";
<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates",
[this.yearChooser.selectedItem, this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to the
CF method : -

No data is returned from CF and neither result or fault handlers
are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc
[HTTP/1.1 302 Found 972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "",
data: null } Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes a
CORS preflight error.

Does anyone have a solution?

Doug



Re: Royale RemoteObject with ColdFuaion

2022-06-06 Thread Alina Kazi
Hi Doug,

I have used mx:RemoteObject in several applications.
Remote Object in declaration block of mxml file

Responder and fault handlers I have added using AsyncTolen and Responder.

var responder680:Responder = new Responder(on_sel_ScanDocTypeCd_SimpleRH,
ROFaultHandler);
 var token680:AsyncToken =
EPSObj.sel_ScanDocTypeCd_Simple((FlexGlobals.topLevelApplication as
IEPS).getAppUserInfo(true)); token680.addResponder(responder680);
trace(token680);


In some cases I have created the RemoteObject in actionscript class too and
it works fine.
In the above case the Result handler is: on_sel_ScanDocTypeCd_SimpleRH
And fault handler is :
ROFaultHandler

Hope that helps.

-Alina Kazi

On Tue, 7 Jun 2022, 2:02 am Maria Jose Esteve,  wrote:

> Have you tried mx:RemoteObject?
>
>
>
> Hiedra
>
>
>
> *De:* Doug Simmons 
> *Enviado el:* domingo, 5 de junio de 2022 6:38
> *Para:* users@royale.apache.org
> *Asunto:* Royale RemoteObject with ColdFuaion
>
>
>
> Hi,
>
> Apache Royale Remote Object API says it is suitable for use with
> ColdFusion, but I can't get it to work.
>
> In a Flex (AIR) project I have :
>
>  source="charts.PCWEDates">
>  fault="roFaultHandler(event)"/>
> 
>
> this.roWeDates.getmonthdates(this.yearChooser.selectedItem,
> this.monthChooser.selectedIndex + 1);
>
> and it all works perfectly.
>
> Now I need to get this working in a browser.
>
> So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)
>
>  result="roWEDateResultHandler(event)" fault="roFaultHandler(event)"
> endPoint="http://localhost:8500/charts/PCWEDates.cfc";
> <http://localhost:8500/charts/PCWEDates.cfc>/>
>
> this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem,
> this.monthChooser.selectedIndex + 1]);
>
> This compiles correctly and then when you run it and send to the CF method
> : -
>
> No data is returned from CF and neither result or fault handlers are
> triggered.
>
> The browser log shows :
>
> POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302
> Found 972ms]
>
> destination fault handler
> Object { code: -1005, message: "Invalid response.", detail: "", data: null
> }Language.js:280:22
>
> I have tried with flex2gateway in the cfc url, but this causes a CORS
> preflight error.
>
> Does anyone have a solution?
>
> Doug
>


RE: Royale RemoteObject with ColdFuaion

2022-06-06 Thread Maria Jose Esteve
Have you tried mx:RemoteObject?

Hiedra

De: Doug Simmons 
Enviado el: domingo, 5 de junio de 2022 6:38
Para: users@royale.apache.org
Asunto: Royale RemoteObject with ColdFuaion

Hi,

Apache Royale Remote Object API says it is suitable for use with ColdFusion, 
but I can't get it to work.

In a Flex (AIR) project I have :





this.roWeDates.getmonthdates(this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1);

and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

http://localhost:8500/charts/PCWEDates.cfc";<http://localhost:8500/charts/PCWEDates.cfc>/>

this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1]);

This compiles correctly and then when you run it and send to the CF method : -

No data is returned from CF and neither result or fault handlers are triggered.

The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302 Found 
972ms]

destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "", data: null }
Language.js:280:22

I have tried with flex2gateway in the cfc url, but this causes a CORS preflight 
error.

Does anyone have a solution?

Doug


Re: Royale RemoteObject with ColdFuaion

2022-06-06 Thread GAbe Barbosa
One thing you can try is add the result and fault handlers programmatically
instead of in mxml. At least with mx:RemoteObject there is some mxml
parsing error that doesn't attach the handlers.

On Sat, Jun 4, 2022 at 9:37 PM Doug Simmons  wrote:

> Hi,
>
> Apache Royale Remote Object API says it is suitable for use with
> ColdFusion, but I can't get it to work.
>
> In a Flex (AIR) project I have :
>
>  source="charts.PCWEDates">
>  fault="roFaultHandler(event)"/>
> 
>
> this.roWeDates.getmonthdates(this.yearChooser.selectedItem,
> this.monthChooser.selectedIndex + 1);
>
> and it all works perfectly.
>
> Now I need to get this working in a browser.
>
> So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)
>
>  result="roWEDateResultHandler(event)" fault="roFaultHandler(event)"
> endPoint="http://localhost:8500/charts/PCWEDates.cfc";
> />
>
> this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem,
> this.monthChooser.selectedIndex + 1]);
>
> This compiles correctly and then when you run it and send to the CF method
> : -
>
> No data is returned from CF and neither result or fault handlers are
> triggered.
>
> The browser log shows :
>
> POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302
> Found 972ms]
>
> destination fault handler
> Object { code: -1005, message: "Invalid response.", detail: "", data: null
> }Language.js:280:22
>
> I have tried with flex2gateway in the cfc url, but this causes a CORS
> preflight error.
>
> Does anyone have a solution?
>
> Doug
>
> 
>


Royale RemoteObject with ColdFuaion

2022-06-04 Thread Doug Simmons

Hi,

Apache Royale Remote Object API says it is suitable for use with 
ColdFusion, but I can't get it to work.


In a Flex (AIR) project I have :

source="charts.PCWEDates">
    result="roWEDatesResultHandler(event)" fault="roFaultHandler(event)"/>



this.roWeDates.getmonthdates(this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1);


and it all works perfectly.

Now I need to get this working in a browser.

So I have SDK Apache Royale 0.9.9 (JS only) (Bundled)

result="roWEDateResultHandler(event)" fault="roFaultHandler(event)"

endPoint="http://localhost:8500/charts/PCWEDates.cfc"/>

this.roWEDates.send("getmonthdates", [this.yearChooser.selectedItem, 
this.monthChooser.selectedIndex + 1]);


This compiles correctly and then when you run it and send to the CF 
method : -


No data is returned from CF and neither result or fault handlers are 
triggered.


The browser log shows :

POSThttp://localhost:8500/popcharts/PCWEDates.cfc [HTTP/1.1 302 
Found 972ms]


destination fault handler
Object { code: -1005, message: "Invalid response.", detail: "", data: 
null }    Language.js:280:22


I have tried with flex2gateway in the cfc url, but this causes a CORS 
preflight error.


Does anyone have a solution?

Doug
 


RE: Switching from js remoteObject to mx remoteObject

2021-06-23 Thread Maria Jose Esteve
Forgive me, I did not translate...
“How are you compiling? Ant, asconfigc, mvn? You will be missing the dependency 
to MXRoyale.swc/MXRoyaleJS.swc”

As David told you in the other post, the first thing you should do is to change 
to mx.

De: Maria Jose Esteve 
Enviado el: miércoles, 23 de junio de 2021 17:48
Para: users@royale.apache.org
Asunto: RE: Switching from js remoteObject to mx remoteObject

¿Cómo estás compilando? Ant, asconfigc, mvn? Te faltará indicar la dependencia 
a MXRoyale.swc/MXRoyaleJS.swc


De: romanisi...@yahoo.com<mailto:romanisi...@yahoo.com> 
mailto:romanisi...@yahoo.com>>
Enviado el: martes, 22 de junio de 2021 11:38
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Switching from js remoteObject to mx remoteObject


Hi everyone,

I am trying to switch from using js:RemoteObject to mx:RemoteObject.
I have studied the code in the "remote object amf test" project.

I am using jewel for the application. After registering the mx namespace
in the relevant places

xmlns:mx="library://ns.apache.org/royale/mx"

During compilation I get the following error

Content2.mxml(85): col: 11 Error: This tag is unexpected. It will be ignored.

  

RE: Switching from js remoteObject to mx remoteObject

2021-06-23 Thread Maria Jose Esteve
¿Cómo estás compilando? Ant, asconfigc, mvn? Te faltará indicar la dependencia 
a MXRoyale.swc/MXRoyaleJS.swc


De: romanisi...@yahoo.com 
Enviado el: martes, 22 de junio de 2021 11:38
Para: users@royale.apache.org
Asunto: Switching from js remoteObject to mx remoteObject


Hi everyone,

I am trying to switch from using js:RemoteObject to mx:RemoteObject.
I have studied the code in the "remote object amf test" project.

I am using jewel for the application. After registering the mx namespace
in the relevant places

xmlns:mx="library://ns.apache.org/royale/mx"

During compilation I get the following error

Content2.mxml(85): col: 11 Error: This tag is unexpected. It will be ignored.

  

Switching from js remoteObject to mx remoteObject

2021-06-22 Thread romanisi...@yahoo.com

Hi everyone,
I am trying to switch from using js:RemoteObject to mx:RemoteObject.I have 
studied the code in the "remote object amf test" project.
I am using jewel for the application. After registering the mx namespacein the 
relevant places
xmlns:mx="library://ns.apache.org/royale/mx"
During compilation I get the following error
Content2.mxml(85): col: 11 Error: This tag is unexpected. It will be ignored.
          

Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-15 Thread Carlos Rovira
Hi Joe,

thanks for locate the problem. I think this would be hard for use without
having experience/access to a WebOrb and touch here and there trying.

I just tried to remove the charset as you suggested and tried with the
example and all works ok, so I removed it. Here's the commit:

https://github.com/apache/royale-asjs/commit/a6ab9e91c64fb482c9585c9bc046b14bb5900ab8

I understand that you're now working fine with RO in WebORB. Let us know if
you find some other issue.

Thanks for reporting this! :)

Carlos



El mié., 15 ago. 2018 a las 2:50, JoeBoxer ()
escribió:

> Hello Carlos and Alex.
>
> It seems WebORB doesn't like the Content-Type being set as
> "application/x-amf; charset=UTF-8".  It matches up the content-type with
> internal parsers depending on how you are using it so it's expecting
> Content-Type "application/x-amf".
>
> In the AMFNetConnection.as file
>
> xhr.setRequestHeader("Content-Type", "application/x-amf; charset=UTF-8");
>
> would need to be
>
> xhr.setRequestHeader("Content-Type", "application/x-amf");
>
> Thanks again for taking the time to look into this.  Not sure how to
> address
> this unless I compile my own version everytime.  Any suggestions?
>
> Regards
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
> 
>
>


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-14 Thread JoeBoxer
Hello Carlos and Alex.

It seems WebORB doesn't like the Content-Type being set as
"application/x-amf; charset=UTF-8".  It matches up the content-type with
internal parsers depending on how you are using it so it's expecting
Content-Type "application/x-amf".

In the AMFNetConnection.as file 

xhr.setRequestHeader("Content-Type", "application/x-amf; charset=UTF-8");

would need to be

xhr.setRequestHeader("Content-Type", "application/x-amf");

Thanks again for taking the time to look into this.  Not sure how to address
this unless I compile my own version everytime.  Any suggestions?

Regards



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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread Carlos Rovira
Hi Joe,

I'll leaving for a trip tomorrow and will come in a few days, and as much
I'm trying to finish a new jewel component before leaving (If I solve my
current problems in time! :)). Please try this weekend to call a simple
method sending a String and receiving a server string and report what you
get. I'll help you next week as I return and can invest time in it. In the
meanwhile, hope you could continue investigating what can be the issue, so
we can isolate the possible causes.

thanks!

Carlos



2018-08-10 17:07 GMT+02:00 JoeBoxer :

> Hello Carlos.
>
> The destinations for WebORB are defined in a different config file.  I'll
> upload that file for you too see.  I use the GenericDestination because its
> a wild card and doesn't require me to specify any namespaces.
>
> remoting-config.xml
> <http://apache-royale-users.20374.n8.nabble.com/file/t53/
> remoting-config.xml>
>
>
> 
> *
> 
> 
>
> I'll take some time to test various settings in the remoting-config file
> and
> see if i get a different response.
>
> The initRemoting click event does call the following code
> protected function initRemoting():void
> {
>  remotingService.send("GetCountryList",[]);
>
> }
>
> Its a simple request that returns an array.  From what i can tell in the
> WebORB logs is that the request coming in from RemoteObject or
> SimpleRemoteObject is not being parsed correctly.  It doesn't matter what i
> put in for the source, destination properties it still results in...
>
> PM:cannot parse request. possible reasons: malformed request or protocol
> formatter is not registered
>
> Thank you for your continued attention with this issue.
>
> Regards
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread Alex Harui
I don’t know how difficult it will be to sync up.  I don’t want to stop to try 
right now.  Volunteers are welcome to try.

Thanks,
-Alex

From: Piotr Zarzycki 
Reply-To: "users@royale.apache.org" 
Date: Friday, August 10, 2018 at 12:37 AM
To: "users@royale.apache.org" 
Subject: Re: RemoteObject and SimpleRemoteObject not working with WebORB for 
.NET

Hi Radu,

Althoght we don't have 0.9.3 released you can use nightly build [1].

Probably later you will need MXRoyale branch to go with Emulation path.[2]

Alex,

Is it even possible sync that branch with develop?

[1] 
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7Cdbc4d4c9a9194419e54e08d5fe942578%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636694834596720319&sdata=PCJ5caU5JZn4jLOKx3cSIPmu9lpS0OXUCnh%2F4d3aQrE%3D&reserved=0>
[2] 
https://github.com/apache/royale-asjs/wiki/emulation-components<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2Femulation-components&data=02%7C01%7Caharui%40adobe.com%7Cdbc4d4c9a9194419e54e08d5fe942578%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636694834596720319&sdata=7vWBQGLxv7PLF8fguG9Y3JWQ4LWna4cRLt82Cwu1YLg%3D&reserved=0>

Thanks,
Piotr

On Fri, Aug 10, 2018, 9:15 AM Carlos Rovira 
mailto:carlosrov...@apache.org>> wrote:
Hi Joe,

- correlationId is received from server (talking about BlazeDS always, since 
don't know about WebOrb), and is a String if small messages are off and a 
ByteArray if on.
- operation is send from client and is 5 (client pong operation) in a normal RO 
operation (not SimpleRO) to establish connection with BlazeDS, then "operation" 
is the name of the method your are asking for.
In SimpleRO instead of 5 is 13 (trigger connect operation) for the first 
connection.

So my guess is that something is wrong in your code

I'll respond to the other email now



2018-08-10 1:19 GMT+02:00 JoeBoxer 
mailto:craigsi...@hotmail.com>>:
Hello Carlos and Alex.

After digging a bit further i noticed that WebORB is expecting 2 additional
properties in the remoting request than what AbstractMessage.as is sending.

AbstractMessage.as sends:

body
clientId
destination
headers
messageId
timestamp
timeToLive

WebORB is expecting...

body
clientId
destination
headers
messageId
timestamp
timeToLive

AND

operation
correlationId

This could be why the WebORB parser is throwing an exception.  Your
thoughts?

Regards



--
Sent from: 
http://apache-royale-users.20374.n8.nabble.com/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cdbc4d4c9a9194419e54e08d5fe942578%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636694834596720319&sdata=2oyz%2B2c46SrqybGLhlNJIwE2DC50bm0AE2t2eEWzmL8%3D&reserved=0>



--
Carlos Rovira
http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cdbc4d4c9a9194419e54e08d5fe942578%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636694834596720319&sdata=3xz8lx7KhOAWJO5Fyf4iifQfe%2BQ6yaaI3zSxKEMjmz4%3D&reserved=0>



Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread JoeBoxer
Hello Carlos.

The destinations for WebORB are defined in a different config file.  I'll
upload that file for you too see.  I use the GenericDestination because its
a wild card and doesn't require me to specify any namespaces.

remoting-config.xml
<http://apache-royale-users.20374.n8.nabble.com/file/t53/remoting-config.xml>  

   

*

 

I'll take some time to test various settings in the remoting-config file and
see if i get a different response.

The initRemoting click event does call the following code
protected function initRemoting():void 
{ 
 remotingService.send("GetCountryList",[]); 
} 

Its a simple request that returns an array.  From what i can tell in the
WebORB logs is that the request coming in from RemoteObject or
SimpleRemoteObject is not being parsed correctly.  It doesn't matter what i
put in for the source, destination properties it still results in... 

PM:cannot parse request. possible reasons: malformed request or protocol
formatter is not registered 

Thank you for your continued attention with this issue.

Regards



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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread Carlos Rovira
Hi

I forgot to mention one more thing about passing a List. In BlazeDS and
ColdFusion (for what I know from other users), a server side Collection is
passed like an externalized object reference. We solved this for BlazeDS
and Coldfusion. I think that should work the same for WebOrb, but since
maybe you're the first trying this I don't know for sure at this time. Ad
well, in Royale we use ArrayList instead of ArrayCollection like we use to
do in Flex. For that reason I encourage you to start with a simple pass of
a String and then cover other scenarios progressively.

thanks

Carlos



2018-08-10 9:51 GMT+02:00 Carlos Rovira :

> Jose,
>
> based in your info I could make a working example to try. I think code is
> missing, but I can explain what I see so you can see if you need to fix
> things in your code or is only information that is missing in your email.
>
> Looking to the info you give:
>
> 1) The RO configuration is:
>  source = "Remoting.Service.Components.RemotingTest"
>  destination = "GenericDestination
>
> source is a deprecated property left in RO for
> backwards compatibility, since it expose the path to the server object.
> It's not needed anymore. Again talking about BlazeDS. Only destination
> should be required along "endPoint". If I search for "GenericDestination"
> in the config file you posted I don't find it. The same happens for "
> Remoting.Service.Components.RemotingTest". IMHO the .Net class should be
> exposed in the weborb config file like this one:
>
> 
> ExamplesActivationSession
> Weborb.Examples.ShoppingCart
> 
>
> to have something like:
>
> 
> RemotingTest
> Remoting.Service.Components.RemotingTest
> 
>
>
> In our example in BlazeDS we don't do this in config file since we have a
> Spring annotation in code. Example:
>
> @Service("exampleService")
> @RemotingDestination
> public class ExampleService {
>
> just guessing and trying to match what I know from BlazeDS and what I see
> in your WebOrb config file
>
> Then remove "source" property from the Royale RO declaration
>
> Now going to the calling code: I don't see nothing of that in your sample
> code. It seems the button calls "initRemoting" but where's the code?
>
> The code should be something like:
>
> protected function sendName():void
> {
> service.send("XXX", []);
> }
>
> Where XXX is the name of the method in the .Net class
> Remoting.Service.Components.RemotingTest
> second param is the array of params to send to that method. I understand
> in this case we don't send anything
>
> Then managing the result, I don't see again any callback code. But lets
> imagine s something like this:
>
> private function onResult(evt:ResultEvent):void
> {
> trace("[Client:" + RoyaleClient.getInstance().id + "]
> Result= " + evt.data);
>
> var arr:ArrayList = new ArrayList(evt.data as Array);
> list.dataProvider = arr;
>
> }
>
> If you run in debug mode (js-debug) in your browser (and here is important
> that you left your browser communication within local and external sources
> since that security restriction will make this communication not work)
> you should see a trace with the "clientId" and the data from server.
> clientId will then be shared in each transaction with the server
>
> then since we are receiving a list of countries for what I understand, you
> should get an Array (maybe for the first connection you should start with
> only a String, instead this structure since is more complex)
>
> For the Array, one important thing is to know if each object in the array
> are plain Objects or TypedObjects and if the later, you'll need something
> like the following example in the Class:
>
> [RemoteClass(alias="org.apache.royale.amfsamples.valueobjects.Product")]
> public class Product
> {
>
> Maybe in WebOrb is needed as well some config, on this point.
>
> My suggestion is that instead of try for the first time to exchange a
> list, you'll try to send a simple string and send back another string from
> WebOrb method. That will make a safe point from wich you can evolve to
> something more complicated. Then try a Typed object, and then try a List of
> typed objects.
>
>
>
>
>
> 2018-08-10 9:15 GMT+02:00 Carlos Rovira :
>
>> Hi Joe,
>>
>> - correlationId is received from server (talking about BlazeDS always,
>> since don't know about WebOrb), and is a String if small messages are off
>> and a ByteArray if on.
>> - operation is send from client and is 5 (client pong operation) in a
>> normal RO operation (not SimpleRO) to establish connection with BlazeDS,
>> then "operation" is the name of the method your are asking for.
>> In SimpleRO instead of 5 is 13 (trigger connect operation) for the first
>> connection.
>>
>> So my guess is that something is wrong in your code
>>
>> I'll respond to the other email now
>>
>>
>>
>> 2018-08-10 1:19 GMT+02:00 JoeBoxer :
>>
>>> Hello Carlos and Alex.
>>>
>>> After digging a bit further i noticed that WebORB is expecting

Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread Carlos Rovira
Jose,

based in your info I could make a working example to try. I think code is
missing, but I can explain what I see so you can see if you need to fix
things in your code or is only information that is missing in your email.

Looking to the info you give:

1) The RO configuration is:
 source = "Remoting.Service.Components.RemotingTest"
 destination = "GenericDestination

source is a deprecated property left in RO for
backwards compatibility, since it expose the path to the server object.
It's not needed anymore. Again talking about BlazeDS. Only destination
should be required along "endPoint". If I search for "GenericDestination"
in the config file you posted I don't find it. The same happens for "
Remoting.Service.Components.RemotingTest". IMHO the .Net class should be
exposed in the weborb config file like this one:


ExamplesActivationSession
Weborb.Examples.ShoppingCart


to have something like:


RemotingTest
Remoting.Service.Components.RemotingTest



In our example in BlazeDS we don't do this in config file since we have a
Spring annotation in code. Example:

@Service("exampleService")
@RemotingDestination
public class ExampleService {

just guessing and trying to match what I know from BlazeDS and what I see
in your WebOrb config file

Then remove "source" property from the Royale RO declaration

Now going to the calling code: I don't see nothing of that in your sample
code. It seems the button calls "initRemoting" but where's the code?

The code should be something like:

protected function sendName():void
{
service.send("XXX", []);
}

Where XXX is the name of the method in the .Net class
Remoting.Service.Components.RemotingTest
second param is the array of params to send to that method. I understand in
this case we don't send anything

Then managing the result, I don't see again any callback code. But lets
imagine s something like this:

private function onResult(evt:ResultEvent):void
{
trace("[Client:" + RoyaleClient.getInstance().id + "]
Result= " + evt.data);

var arr:ArrayList = new ArrayList(evt.data as Array);
list.dataProvider = arr;

}

If you run in debug mode (js-debug) in your browser (and here is important
that you left your browser communication within local and external sources
since that security restriction will make this communication not work)
you should see a trace with the "clientId" and the data from server.
clientId will then be shared in each transaction with the server

then since we are receiving a list of countries for what I understand, you
should get an Array (maybe for the first connection you should start with
only a String, instead this structure since is more complex)

For the Array, one important thing is to know if each object in the array
are plain Objects or TypedObjects and if the later, you'll need something
like the following example in the Class:

[RemoteClass(alias="org.apache.royale.amfsamples.valueobjects.Product")]
public class Product
{

Maybe in WebOrb is needed as well some config, on this point.

My suggestion is that instead of try for the first time to exchange a list,
you'll try to send a simple string and send back another string from WebOrb
method. That will make a safe point from wich you can evolve to something
more complicated. Then try a Typed object, and then try a List of typed
objects.





2018-08-10 9:15 GMT+02:00 Carlos Rovira :

> Hi Joe,
>
> - correlationId is received from server (talking about BlazeDS always,
> since don't know about WebOrb), and is a String if small messages are off
> and a ByteArray if on.
> - operation is send from client and is 5 (client pong operation) in a
> normal RO operation (not SimpleRO) to establish connection with BlazeDS,
> then "operation" is the name of the method your are asking for.
> In SimpleRO instead of 5 is 13 (trigger connect operation) for the first
> connection.
>
> So my guess is that something is wrong in your code
>
> I'll respond to the other email now
>
>
>
> 2018-08-10 1:19 GMT+02:00 JoeBoxer :
>
>> Hello Carlos and Alex.
>>
>> After digging a bit further i noticed that WebORB is expecting 2
>> additional
>> properties in the remoting request than what AbstractMessage.as is
>> sending.
>>
>> AbstractMessage.as sends:
>>
>> body
>> clientId
>> destination
>> headers
>> messageId
>> timestamp
>> timeToLive
>>
>> WebORB is expecting...
>>
>> body
>> clientId
>> destination
>> headers
>> messageId
>> timestamp
>> timeToLive
>>
>> AND
>>
>> operation
>> correlationId
>>
>> This could be why the WebORB parser is throwing an exception.  Your
>> thoughts?
>>
>> Regards
>>
>>
>>
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


-- 



Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com


Conócenos en 1 minuto! 


AVISO LEGAL: La información contenida en 

Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread Piotr Zarzycki
Hi Radu,

Althoght we don't have 0.9.3 released you can use nightly build [1].

Probably later you will need MXRoyale branch to go with Emulation path.[2]

Alex,

Is it even possible sync that branch with develop?

[1]
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs/lastSuccessfulBuild/artifact/
[2] https://github.com/apache/royale-asjs/wiki/emulation-components

Thanks,
Piotr

On Fri, Aug 10, 2018, 9:15 AM Carlos Rovira  wrote:

> Hi Joe,
>
> - correlationId is received from server (talking about BlazeDS always,
> since don't know about WebOrb), and is a String if small messages are off
> and a ByteArray if on.
> - operation is send from client and is 5 (client pong operation) in a
> normal RO operation (not SimpleRO) to establish connection with BlazeDS,
> then "operation" is the name of the method your are asking for.
> In SimpleRO instead of 5 is 13 (trigger connect operation) for the first
> connection.
>
> So my guess is that something is wrong in your code
>
> I'll respond to the other email now
>
>
>
> 2018-08-10 1:19 GMT+02:00 JoeBoxer :
>
>> Hello Carlos and Alex.
>>
>> After digging a bit further i noticed that WebORB is expecting 2
>> additional
>> properties in the remoting request than what AbstractMessage.as is
>> sending.
>>
>> AbstractMessage.as sends:
>>
>> body
>> clientId
>> destination
>> headers
>> messageId
>> timestamp
>> timeToLive
>>
>> WebORB is expecting...
>>
>> body
>> clientId
>> destination
>> headers
>> messageId
>> timestamp
>> timeToLive
>>
>> AND
>>
>> operation
>> correlationId
>>
>> This could be why the WebORB parser is throwing an exception.  Your
>> thoughts?
>>
>> Regards
>>
>>
>>
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread Alex Harui
Hi Radu,

Thanks for your offer.  I don’t think there is a central place to accept 
monetary donations for Apache Royale.  Donating to the Apache Software 
Foundation is always a nice thing to do, but it won’t directly accelerate 
development.

There may be a few committers with spare time who would be encouraged to spend 
more time on Royale if they could get paid for it.  That’s one way to help.  
Another is for you to donate your time instead of money.  Learn how to fix bugs 
and develop new features in Royale.  We could always use more folks 
contributing code, tests, doc, etc.

Thanks,
-Alex

From: radu birsan 
Reply-To: "users@royale.apache.org" 
Date: Thursday, August 9, 2018 at 10:33 PM
To: "users@royale.apache.org" 
Subject: Re: RemoteObject and SimpleRemoteObject not working with WebORB for 
.NET

Where can we make a donation to help release the official Apache 9.3 with AMF 
support?


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-10 Thread Carlos Rovira
Hi Joe,

- correlationId is received from server (talking about BlazeDS always,
since don't know about WebOrb), and is a String if small messages are off
and a ByteArray if on.
- operation is send from client and is 5 (client pong operation) in a
normal RO operation (not SimpleRO) to establish connection with BlazeDS,
then "operation" is the name of the method your are asking for.
In SimpleRO instead of 5 is 13 (trigger connect operation) for the first
connection.

So my guess is that something is wrong in your code

I'll respond to the other email now



2018-08-10 1:19 GMT+02:00 JoeBoxer :

> Hello Carlos and Alex.
>
> After digging a bit further i noticed that WebORB is expecting 2 additional
> properties in the remoting request than what AbstractMessage.as is sending.
>
> AbstractMessage.as sends:
>
> body
> clientId
> destination
> headers
> messageId
> timestamp
> timeToLive
>
> WebORB is expecting...
>
> body
> clientId
> destination
> headers
> messageId
> timestamp
> timeToLive
>
> AND
>
> operation
> correlationId
>
> This could be why the WebORB parser is throwing an exception.  Your
> thoughts?
>
> Regards
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-09 Thread radu birsan
Where can we make a donation to help release the official Apache 9.3 with
AMF support?


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-09 Thread JoeBoxer
Hello Carlos and Alex.

After digging a bit further i noticed that WebORB is expecting 2 additional
properties in the remoting request than what AbstractMessage.as is sending.

AbstractMessage.as sends:

body
clientId
destination
headers
messageId
timestamp
timeToLive

WebORB is expecting...

body
clientId
destination
headers
messageId
timestamp
timeToLive

AND

operation
correlationId

This could be why the WebORB parser is throwing an exception.  Your
thoughts?

Regards



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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-09 Thread JoeBoxer
Hi Carlos.

Thank you for the suggestions.

I've tried to get this remoting working with all builds available  0.9.2, 
0.9.3 and the nightly build at
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/lastSuccessfulBuild/artifact/out/

I tried the MXRoyale branch build based on Alex's suggestions.

I haven't had much luck getting the developer branch built with ant or
maven.  Plus I'm getting pom.xml errors when trying to build
RemoteObjectAMFTest... looks like i need 0.9.3-SNAPSHOT build.

The Royale remoting code i posted above is pretty basic and should result in
WebORB taking the request... based on the logs the exception being thrown
is:

WEBORB EXCEPTION:8/9/2018 5:15:56 PM:cannot parse request. possible reasons:
malformed request or protocol formatter is not registered :   at
Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType, Stream
requestStream, NameValueCollection headers)
   at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2)

Now if i make a request with my remoting AIR app I get a successful request
and this is the result in the logs:

[Thread-20] WEBORB INFO:8/9/2018 5:39:23 PM:Received request for
http://66.155.36.74/remoting.aspx from 67.193.118.172
[Thread-20] WEBORB INFO:8/9/2018 5:39:23 PM:Request is in session
2uzzenac0fgkcr45eyvj30bo
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: parsing stream
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: parsing message
- version: 3 totalHeaders: 0
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: Total body
parts: 1
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader::readBodyPart:
serviceURI - null responseURI - /1 length: 224
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
operation
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
correlationId
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
destination
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
timestamp
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
clientId
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
timeToLive
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property headers
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property body
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:reading object property
messageId
[Thread-20] WEBORB DEBUG:8/9/2018 5:39:23 PM:MessageReader:: returning
AMFMessage

If you need more information... Logs, etc.  please don't hesitate to ask.

Thanx so much again
Regards





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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-09 Thread Carlos Rovira
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

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 :

> 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"  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&data=02%
> 7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%
> 7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=
> 4riHOJeYYttb5opEmDxZi2S40P8cChWLr4OynnKuHBM%3D&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.
>
> 
> https://na01.
> safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.
> adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%
> 7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C1%7C636694362868057831&sdata=Vldme%
> 2BmQ08UQUlI765L0jJ7GJSrGknp2GFPGHiVd%2BNQ%3D&reserved=0"
>xmlns:s="library://ns.adobe.
> com/flex/spark"
>xmlns:mx="library://ns.adobe.
> com/flex/mx"
>showStatusBar="false"
>title="Remoting Test">
> 
>
> 
> 
>  click="testHandler(event)"/>
>  dataProvider="{_remotingList}"/>
> 
> 
>
> --- Royale Code 
>
> 
> https://na01.safelinks.protection.outlook.
> com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&
> data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%
> 7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&
> sdata=Vldme%2BmQ08UQUlI765L0jJ7GJSrGknp2GFPGHiVd%2BNQ%3D&reserved=0"
> xmlns:js="library://ns.apache.
> org/royale/express"
> 

Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-09 Thread Alex Harui
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"  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&data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=4riHOJeYYttb5opEmDxZi2S40P8cChWLr4OynnKuHBM%3D&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.


https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=Vldme%2BmQ08UQUlI765L0jJ7GJSrGknp2GFPGHiVd%2BNQ%3D&reserved=0";
 
   
xmlns:s="library://ns.adobe.com/flex/spark" 
   
xmlns:mx="library://ns.adobe.com/flex/mx"
   showStatusBar="false"
   title="Remoting Test">






 


--- Royale Code 


https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=Vldme%2BmQ08UQUlI765L0jJ7GJSrGknp2GFPGHiVd%2BNQ%3D&reserved=0";
 

xmlns:js="library://ns.apache.org/royale/express"
xmlns:j="library://ns.apache.org/royale/basic">
 





https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F66.155.36.74%2Fremoting.aspx&data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=4riHOJeYYttb5opEmDxZi2S40P8cChWLr4OynnKuHBM%3D&reserved=0";
 source = 
"Remoting.Service.Components.RemotingTest"
 destination = "GenericDestination"/>

Main.air 
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2Ffile%2Ft53%2FMain.air&data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=2doCLN2GBg0tm9sTxSos1qwrV3tEt9W6XU2pxYMKnQI%3D&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&data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=yDwquYgko07Hbes%2FukKwY9%2BAN6SQZXJ0yniBCTfjffE%3D&reserved=0>
  










--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cef8bc5008aad4708502208d5fe265021%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636694362868057831&sdata=WxOI6rdtOK96MExgvQZssmH9O4iTglZ4Hm1qG%2F9bckg%3D&reserved=0




Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-09 Thread JoeBoxer
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.


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






 


--- Royale Code 


http://ns.adobe.com/mxml/2009"; 

xmlns:js="library://ns.apache.org/royale/express"
xmlns:j="library://ns.apache.org/royale/basic">
 





http://66.155.36.74/remoting.aspx";
 source = 
"Remoting.Service.Components.RemotingTest"
 destination = "GenericDestination"/>

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>  










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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-09 Thread Carlos Rovira
Hi,

I don't have experience in WebOrb and I suppose Alex is in the same track
like me, but we want RO and AMF working for all platforms, so first I want
to ask you if you check this:

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

(I suppose you did it)

and let us know if weborb has some configuration for serialization and
small messages like in BlazeDS. If so, you need to turn off small messages
since we don't have support yet for that, but is not critical and is just a
server optimization over normal AMF. Small Messages in BlazeDS makes
heaving use of IExternalizable to reduce size of messages, but turning off
fall back to a normal AMF communication. In the other hand RO is aware of
clientId while SimpleRO is not. I suppose you'll need RO to let WebOrb
knows which client is sending the request and maintain communication.

Another thing you could do is send your test code so we can take a look,
and in your side use some tool like Charles (https://www.charlesproxy.com)
to see what you'r sending and what you're receiving. And compare with your
Flex App to see differences.



2018-08-09 2:34 GMT+02:00 Alex Harui :

> Are you using the latest nightly build of the feature/MXRoyale branch?  If
> not, get it from
> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/
> Royale-asjs_MXRoyale/lastSuccessfulBuild/artifact/out/
>
> If it still isn't working, can you create a small test case we can debug
> using that same server?
>
> Thanks,
> -Alex
>
> On 8/8/18, 4:50 PM, "JoeBoxer"  wrote:
>
> Hello.
>
> We are in the process of migrating to Royale and our current Flex/Flash
> application relies heavily on WebORB for remoting.  Unfortunately, we
> are
> having issues getting the Royale amf/remoting to work.  Performing a
> simple
> amf request using RemoteObject or SimpleRemoteObject results in:
>
> Chrome console output:
>
> destination fault handler
> {code: -1005, message: "Invalid response.", detail: "", data: null}
>
> AND
>
> The server-side WebORB log shows:
>
> [Thread-24] WEBORB INFO:8/8/2018 1:33:27 PM:Received request for
> http://[weborb service]/remoting.aspx from [myIP]
> [Thread-24] WEBORB INFO:8/8/2018 1:33:27 PM:Request is in session
> vtvglifchdfomrb2ym5xtr55
> [Thread-24] WEBORB EXCEPTION:8/8/2018 1:33:27 PM:cannot parse request.
> possible reasons: malformed request or protocol formatter is not
> registered
> :   at Weborb.Protocols.ProtocolRegistry.BuildMessage(String
> contentType,
> Stream requestStream, NameValueCollection headers)
>at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1,
> HttpResponse
> A_2)
>
> If anyone has any ideas or suggestions on how to trouble-shoot this it
> would
> be greatly appreciated.
> In addition if further information is needed please don't hesitate to
> comment and I'll do my best to track it down.
>
> Thanx in advance.
> Regards,
> Joe
>
>
>
> --
> 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%7C5ad5877e0a804bf9518208d5fd89b848%
> 7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636693690326905523&
> sdata=%2BGe4Jf9Ua05%2Bt2hq7A%2Bn6925eOsXXZDUaAgc40tzpy4%3D&reserved=0
>
>
>


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


Re: RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-08 Thread Alex Harui
Are you using the latest nightly build of the feature/MXRoyale branch?  If not, 
get it from 
http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/Royale-asjs_MXRoyale/lastSuccessfulBuild/artifact/out/

If it still isn't working, can you create a small test case we can debug using 
that same server?

Thanks,
-Alex

On 8/8/18, 4:50 PM, "JoeBoxer"  wrote:

Hello. 

We are in the process of migrating to Royale and our current Flex/Flash
application relies heavily on WebORB for remoting.  Unfortunately, we are
having issues getting the Royale amf/remoting to work.  Performing a simple
amf request using RemoteObject or SimpleRemoteObject results in: 

Chrome console output: 

destination fault handler 
{code: -1005, message: "Invalid response.", detail: "", data: null} 

AND 

The server-side WebORB log shows: 

[Thread-24] WEBORB INFO:8/8/2018 1:33:27 PM:Received request for
http://[weborb service]/remoting.aspx from [myIP] 
[Thread-24] WEBORB INFO:8/8/2018 1:33:27 PM:Request is in session
vtvglifchdfomrb2ym5xtr55 
[Thread-24] WEBORB EXCEPTION:8/8/2018 1:33:27 PM:cannot parse request.
possible reasons: malformed request or protocol formatter is not registered
:   at Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType,
Stream requestStream, NameValueCollection headers) 
   at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2) 

If anyone has any ideas or suggestions on how to trouble-shoot this it would
be greatly appreciated. 
In addition if further information is needed please don't hesitate to
comment and I'll do my best to track it down. 

Thanx in advance. 
Regards, 
Joe



--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C5ad5877e0a804bf9518208d5fd89b848%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636693690326905523&sdata=%2BGe4Jf9Ua05%2Bt2hq7A%2Bn6925eOsXXZDUaAgc40tzpy4%3D&reserved=0




RemoteObject and SimpleRemoteObject not working with WebORB for .NET

2018-08-08 Thread JoeBoxer
Hello. 

We are in the process of migrating to Royale and our current Flex/Flash
application relies heavily on WebORB for remoting.  Unfortunately, we are
having issues getting the Royale amf/remoting to work.  Performing a simple
amf request using RemoteObject or SimpleRemoteObject results in: 

Chrome console output: 

destination fault handler 
{code: -1005, message: "Invalid response.", detail: "", data: null} 

AND 

The server-side WebORB log shows: 

[Thread-24] WEBORB INFO:8/8/2018 1:33:27 PM:Received request for
http://[weborb service]/remoting.aspx from [myIP] 
[Thread-24] WEBORB INFO:8/8/2018 1:33:27 PM:Request is in session
vtvglifchdfomrb2ym5xtr55 
[Thread-24] WEBORB EXCEPTION:8/8/2018 1:33:27 PM:cannot parse request.
possible reasons: malformed request or protocol formatter is not registered
:   at Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType,
Stream requestStream, NameValueCollection headers) 
   at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2) 

If anyone has any ideas or suggestions on how to trouble-shoot this it would
be greatly appreciated. 
In addition if further information is needed please don't hesitate to
comment and I'll do my best to track it down. 

Thanx in advance. 
Regards, 
Joe



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


Re: RemoteObject

2018-07-27 Thread Carlos Rovira
Hi Radu,

I recommend you to check blog examples where you can find very easy
examples to get started. Of course you'll need latest development code or
at least nightly build

https://royale.apache.org/category/royale-examples/



2018-07-27 17:09 GMT+02:00 radu :

> Need one one one trayining with Apache Royale JS:
>
> I need to prort this code:
>
> 
> http://ns.adobe.com/mxml/2009";
> xmlns:mx="library://ns.adobe.com/flex/mx"
> layout="absolute"
> minWidth="50" minHeight="550" creationComplete="main()"
> backgroundAlpha="0">
>
> 
>
> 
>
> 
>
> 
>  click="button1_clickHandler(event)" />
> 
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: RemoteObject

2018-07-27 Thread radu
Need one one one trayining with Apache Royale JS:

I need to prort this code:


http://ns.adobe.com/mxml/2009"; 
xmlns:mx="library://ns.adobe.com/flex/mx" 
layout="absolute"
minWidth="50" minHeight="550" creationComplete="main()" backgroundAlpha="0">














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


Re: RemoteObject

2018-04-17 Thread Alex Harui
Yes, the emulation of ArrayList and ArrayCollection will have to have the same 
[RemoteClass] metadata.

-Alex

From: mailto:carlos.rov...@gmail.com>> on behalf of 
Carlos Rovira mailto:carlosrov...@apache.org>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 17, 2018 at 2:24 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: RemoteObject

Hi Piotr, great to see you get that working. I suppose the problem is with 
ArrayList vs ArrayCollection?

@Alex, you say that will start working cause we'll have ArrayCollection in 
emulation components?

thanks!

2018-04-17 22:29 GMT+02:00 Alex Harui 
mailto:aha...@adobe.com>>:
The emulation components are a valid component set.  They are not 100% 
compatible with Flex and aren't going to be as fast and small as Basic or 
Express, but they should be operational and may allow the migration of a 
production app.  We won't know for sure until we get further.  But as of today, 
the Flex SDK checkintest runs tests on 6 components without modification.  It 
isn't perfect, but will get better over time.

If it turns out there are performance issues, then folks migrating will have to 
find the hot spots and try to optimize them by replacing the emulation 
components with Basic or Express components.  It will be interesting to see how 
many folks can run an app entirely on the emulation components.

HTH,
-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 17, 2018 at 1:21 PM

To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: RemoteObject

Alex,

I understand Emulations as something temporary. In the end all of that would be 
replaced in the real app when someone start write UI or do I understand it 
wrong?

I thought it's only for run App and then step by step rewrite to Royale 
components.

Thanks,
Piotr

On Tue, Apr 17, 2018, 10:00 PM Alex Harui 
mailto:aha...@adobe.com>> wrote:
Hi Piotr,

I have not looked into the detail, but I would hope that it would start working 
once we get more of the emulation components up and running.  So volunteers to 
help with emulation components are always welcome.

-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 17, 2018 at 12:50 PM

To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: RemoteObject
Hi Prashant,

I just tried your two examples. The first one not going to work cause AMF 
doesn't recognize ArrayList, but you can always send simple Array - That's an 
workaround.

The second one is working pretty well. I'm using AMFPHP. I've created method 
which simply get's VO and returns it. - What happened in your case when you did 
test that ?

Thanks,
Piotr

2018-02-18 13:50 GMT+01:00 Prashant Kumar 
mailto:prashaku...@gmail.com>>:
Following cases not working:

service.send("passArrayList",[newArrayList(["Test1","Test2"])]);

var v1:Vehicle=newVehicle();
v1.name ="Nexon";
v1.brand ="TATA";
v1.dom =newDate();
service.send("addVehicle",[v1]);


On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
mailto:carlosrov...@apache.org>> wrote:
Hi, I tested some months ago some scenarios with collections sharing some VOs, 
and worked, but I think we should try more scenarios since complex object 
graphs could be problematic.

Thanks Prashant for looking into this. If you can help trying to evolve the 
code I can support you with your pull request to include your changes in Royale.


2018-02-17 5:37 GMT+01:00 Prashant Kumar 
mailto:prashaku...@gmail.com>>:
Carlos,

If I sends only primary type as int , number , date etc then  all works fine 
but if I sends custom types as a Arraylist , VOs, and other inherited types 
does not work properly.

Regards,
Prashant

On 17-Feb-2018 2:50 AM, "Fréderic Cox" 
mailto:coxfrede...@gmail.com>> wrote:
Updated 
https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
 think I am getting closer :-)

On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
mailto:coxfrede...

Re: RemoteObject

2018-04-17 Thread Carlos Rovira
Hi Piotr, great to see you get that working. I suppose the problem is with
ArrayList vs ArrayCollection?

@Alex, you say that will start working cause we'll have ArrayCollection in
emulation components?

thanks!

2018-04-17 22:29 GMT+02:00 Alex Harui :

> The emulation components are a valid component set.  They are not 100%
> compatible with Flex and aren't going to be as fast and small as Basic or
> Express, but they should be operational and may allow the migration of a
> production app.  We won't know for sure until we get further.  But as of
> today, the Flex SDK checkintest runs tests on 6 components without
> modification.  It isn't perfect, but will get better over time.
>
> If it turns out there are performance issues, then folks migrating will
> have to find the hot spots and try to optimize them by replacing the
> emulation components with Basic or Express components.  It will be
> interesting to see how many folks can run an app entirely on the emulation
> components.
>
> HTH,
> -Alex
>
> From: Piotr Zarzycki 
> Reply-To: "users@royale.apache.org" 
> Date: Tuesday, April 17, 2018 at 1:21 PM
>
> To: "users@royale.apache.org" 
> Subject: Re: RemoteObject
>
> Alex,
>
> I understand Emulations as something temporary. In the end all of that
> would be replaced in the real app when someone start write UI or do I
> understand it wrong?
>
> I thought it's only for run App and then step by step rewrite to Royale
> components.
>
> Thanks,
> Piotr
>
> On Tue, Apr 17, 2018, 10:00 PM Alex Harui  wrote:
>
>> Hi Piotr,
>>
>> I have not looked into the detail, but I would hope that it would start
>> working once we get more of the emulation components up and running.  So
>> volunteers to help with emulation components are always welcome.
>>
>> -Alex
>>
>> From: Piotr Zarzycki 
>> Reply-To: "users@royale.apache.org" 
>> Date: Tuesday, April 17, 2018 at 12:50 PM
>>
>> To: "users@royale.apache.org" 
>> Subject: Re: RemoteObject
>> Hi Prashant,
>>
>> I just tried your two examples. The first one not going to work cause AMF
>> doesn't recognize ArrayList, but you can always send simple Array - That's
>> an workaround.
>>
>> The second one is working pretty well. I'm using AMFPHP. I've created
>> method which simply get's VO and returns it. - What happened in your case
>> when you did test that ?
>>
>> Thanks,
>> Piotr
>>
>> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>>
>>> Following cases not working:
>>>
>>> service.send("passArrayList",[newArrayList(["Test1","Test2"])]);
>>>
>>> var v1:Vehicle=newVehicle();
>>> v1.name ="Nexon";
>>> v1.brand ="TATA";
>>> v1.dom =newDate();
>>> service.send("addVehicle",[v1]);
>>>
>>>
>>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>>> wrote:
>>>
>>>> Hi, I tested some months ago some scenarios with collections sharing
>>>> some VOs, and worked, but I think we should try more scenarios since
>>>> complex object graphs could be problematic.
>>>>
>>>> Thanks Prashant for looking into this. If you can help trying to evolve
>>>> the code I can support you with your pull request to include your changes
>>>> in Royale.
>>>>
>>>>
>>>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>>>
>>>>> Carlos,
>>>>>
>>>>> If I sends only primary type as int , number , date etc then  all
>>>>> works fine but if I sends custom types as a Arraylist , VOs, and other
>>>>> inherited types does not work properly.
>>>>>
>>>>> Regards,
>>>>> Prashant
>>>>>
>>>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>>>
>>>>> Updated https://github.com/apache/royale-asjs/issues/119
>>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
>>>>> think I am getting closer :-)
>>>>>
>>>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>>>> wrote:
>>>>>
>>>>>> 

Re: RemoteObject

2018-04-17 Thread Alex Harui
The emulation components are a valid component set.  They are not 100% 
compatible with Flex and aren't going to be as fast and small as Basic or 
Express, but they should be operational and may allow the migration of a 
production app.  We won't know for sure until we get further.  But as of today, 
the Flex SDK checkintest runs tests on 6 components without modification.  It 
isn't perfect, but will get better over time.

If it turns out there are performance issues, then folks migrating will have to 
find the hot spots and try to optimize them by replacing the emulation 
components with Basic or Express components.  It will be interesting to see how 
many folks can run an app entirely on the emulation components.

HTH,
-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 17, 2018 at 1:21 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: RemoteObject

Alex,

I understand Emulations as something temporary. In the end all of that would be 
replaced in the real app when someone start write UI or do I understand it 
wrong?

I thought it's only for run App and then step by step rewrite to Royale 
components.

Thanks,
Piotr

On Tue, Apr 17, 2018, 10:00 PM Alex Harui 
mailto:aha...@adobe.com>> wrote:
Hi Piotr,

I have not looked into the detail, but I would hope that it would start working 
once we get more of the emulation components up and running.  So volunteers to 
help with emulation components are always welcome.

-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 17, 2018 at 12:50 PM

To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: RemoteObject
Hi Prashant,

I just tried your two examples. The first one not going to work cause AMF 
doesn't recognize ArrayList, but you can always send simple Array - That's an 
workaround.

The second one is working pretty well. I'm using AMFPHP. I've created method 
which simply get's VO and returns it. - What happened in your case when you did 
test that ?

Thanks,
Piotr

2018-02-18 13:50 GMT+01:00 Prashant Kumar 
mailto:prashaku...@gmail.com>>:
Following cases not working:

service.send("passArrayList",[newArrayList(["Test1","Test2"])]);

var v1:Vehicle=newVehicle();
v1.name ="Nexon";
v1.brand ="TATA";
v1.dom =newDate();
service.send("addVehicle",[v1]);


On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
mailto:carlosrov...@apache.org>> wrote:
Hi, I tested some months ago some scenarios with collections sharing some VOs, 
and worked, but I think we should try more scenarios since complex object 
graphs could be problematic.

Thanks Prashant for looking into this. If you can help trying to evolve the 
code I can support you with your pull request to include your changes in Royale.


2018-02-17 5:37 GMT+01:00 Prashant Kumar 
mailto:prashaku...@gmail.com>>:
Carlos,

If I sends only primary type as int , number , date etc then  all works fine 
but if I sends custom types as a Arraylist , VOs, and other inherited types 
does not work properly.

Regards,
Prashant

On 17-Feb-2018 2:50 AM, "Fréderic Cox" 
mailto:coxfrede...@gmail.com>> wrote:
Updated 
https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
 think I am getting closer :-)

On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
mailto:coxfrede...@gmail.com>> wrote:
Updated 
https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
 can't get the JAVA part to work but changing the AMF endpoint to AMFPHP I get 
an error code when calling, so maybe that can help further research

On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
mailto:coxfrede...@gmail.com>> wrote:
Any instructions on how to build the example? This is kind of complicated for 
me as I have 0 experience with JAVA and even less with Maven ;-)






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

Re: RemoteObject

2018-04-17 Thread Piotr Zarzycki
Alex,

I understand Emulations as something temporary. In the end all of that
would be replaced in the real app when someone start write UI or do I
understand it wrong?

I thought it's only for run App and then step by step rewrite to Royale
components.

Thanks,
Piotr

On Tue, Apr 17, 2018, 10:00 PM Alex Harui  wrote:

> Hi Piotr,
>
> I have not looked into the detail, but I would hope that it would start
> working once we get more of the emulation components up and running.  So
> volunteers to help with emulation components are always welcome.
>
> -Alex
>
> From: Piotr Zarzycki 
> Reply-To: "users@royale.apache.org" 
> Date: Tuesday, April 17, 2018 at 12:50 PM
>
> To: "users@royale.apache.org" 
> Subject: Re: RemoteObject
> Hi Prashant,
>
> I just tried your two examples. The first one not going to work cause AMF
> doesn't recognize ArrayList, but you can always send simple Array - That's
> an workaround.
>
> The second one is working pretty well. I'm using AMFPHP. I've created
> method which simply get's VO and returns it. - What happened in your case
> when you did test that ?
>
> Thanks,
> Piotr
>
> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>
>> Following cases not working:
>>
>> service.send("passArrayList",[newArrayList(["Test1","Test2"])]);
>>
>> var v1:Vehicle=newVehicle();
>> v1.name ="Nexon";
>> v1.brand ="TATA";
>> v1.dom =newDate();
>> service.send("addVehicle",[v1]);
>>
>>
>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>> wrote:
>>
>>> Hi, I tested some months ago some scenarios with collections sharing
>>> some VOs, and worked, but I think we should try more scenarios since
>>> complex object graphs could be problematic.
>>>
>>> Thanks Prashant for looking into this. If you can help trying to evolve
>>> the code I can support you with your pull request to include your changes
>>> in Royale.
>>>
>>>
>>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>>
>>>> Carlos,
>>>>
>>>> If I sends only primary type as int , number , date etc then  all works
>>>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>>>> types does not work properly.
>>>>
>>>> Regards,
>>>> Prashant
>>>>
>>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>>
>>>> Updated https://github.com/apache/royale-asjs/issues/119
>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
>>>> think I am getting closer :-)
>>>>
>>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>>> wrote:
>>>>
>>>>> Updated https://github.com/apache/royale-asjs/issues/119
>>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
>>>>> can't get the JAVA part to work but changing the AMF endpoint to AMFPHP I
>>>>> get an error code when calling, so maybe that can help further research
>>>>>
>>>>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>>>>> wrote:
>>>>>
>>>>>> Any instructions on how to build the example? This is kind of
>>>>>> complicated for me as I have 0 experience with JAVA and even less with
>>>>>> Maven ;-)
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=rMkJHjgVoPBk7gRrAC5vjQX%2BM%2FppBIqdHxZOCkfQPlo%3D&reserved=0>
>>>
>>>
>>
>>
>> --
>> *Regards,*
>> Prashant Kumar* | *Mob.: +91 8408811225
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=QSUVPPigUtohm5A9IZQpDZeoNiFjpSDpjqWwBdokkTY%3D&reserved=0>*
>


Re: RemoteObject

2018-04-17 Thread Alex Harui
Hi Piotr,

I have not looked into the detail, but I would hope that it would start working 
once we get more of the emulation components up and running.  So volunteers to 
help with emulation components are always welcome.

-Alex

From: Piotr Zarzycki 
mailto:piotrzarzyck...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Tuesday, April 17, 2018 at 12:50 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: RemoteObject

Hi Prashant,

I just tried your two examples. The first one not going to work cause AMF 
doesn't recognize ArrayList, but you can always send simple Array - That's an 
workaround.

The second one is working pretty well. I'm using AMFPHP. I've created method 
which simply get's VO and returns it. - What happened in your case when you did 
test that ?

Thanks,
Piotr


2018-02-18 13:50 GMT+01:00 Prashant Kumar 
mailto:prashaku...@gmail.com>>:
Following cases not working:

service.send("passArrayList",[newArrayList(["Test1","Test2"])]);

var v1:Vehicle=newVehicle();
v1.name ="Nexon";
v1.brand ="TATA";
v1.dom =newDate();
service.send("addVehicle",[v1]);


On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
mailto:carlosrov...@apache.org>> wrote:
Hi, I tested some months ago some scenarios with collections sharing some VOs, 
and worked, but I think we should try more scenarios since complex object 
graphs could be problematic.

Thanks Prashant for looking into this. If you can help trying to evolve the 
code I can support you with your pull request to include your changes in Royale.


2018-02-17 5:37 GMT+01:00 Prashant Kumar 
mailto:prashaku...@gmail.com>>:
Carlos,

If I sends only primary type as int , number , date etc then  all works fine 
but if I sends custom types as a Arraylist , VOs, and other inherited types 
does not work properly.

Regards,
Prashant

On 17-Feb-2018 2:50 AM, "Fréderic Cox" 
mailto:coxfrede...@gmail.com>> wrote:
Updated 
https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
 think I am getting closer :-)

On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
mailto:coxfrede...@gmail.com>> wrote:
Updated 
https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=ekkR98TmfKiGCLDl7jxaJ%2BhJ7ZJFV6uh1f58hyFqmLA%3D&reserved=0>,
 can't get the JAVA part to work but changing the AMF endpoint to AMFPHP I get 
an error code when calling, so maybe that can help further research

On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
mailto:coxfrede...@gmail.com>> wrote:
Any instructions on how to build the example? This is kind of complicated for 
me as I have 0 experience with JAVA and even less with Maven ;-)






--
Carlos Rovira
http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=rMkJHjgVoPBk7gRrAC5vjQX%2BM%2FppBIqdHxZOCkfQPlo%3D&reserved=0>




--
Regards,
Prashant Kumar | Mob.: +91 8408811225



--

Piotr Zarzycki

Patreon: 
https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Caf7310016b214b09117f08d5a49c82d9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636595914499233466&sdata=QSUVPPigUtohm5A9IZQpDZeoNiFjpSDpjqWwBdokkTY%3D&reserved=0>


Re: RemoteObject

2018-04-17 Thread Piotr Zarzycki
Hi Prashant,

I just tried your two examples. The first one not going to work cause AMF
doesn't recognize ArrayList, but you can always send simple Array - That's
an workaround.

The second one is working pretty well. I'm using AMFPHP. I've created
method which simply get's VO and returns it. - What happened in your case
when you did test that ?

Thanks,
Piotr


2018-02-18 13:50 GMT+01:00 Prashant Kumar :

> Following cases not working:
>
> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>
> var v1:Vehicle = new Vehicle();
> v1.name = "Nexon";
> v1.brand = "TATA";
> v1.dom = new Date();
> service.send("addVehicle",[v1]);
>
>
> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
> wrote:
>
>> Hi, I tested some months ago some scenarios with collections sharing some
>> VOs, and worked, but I think we should try more scenarios since complex
>> object graphs could be problematic.
>>
>> Thanks Prashant for looking into this. If you can help trying to evolve
>> the code I can support you with your pull request to include your changes
>> in Royale.
>>
>>
>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>
>>> Carlos,
>>>
>>> If I sends only primary type as int , number , date etc then  all works
>>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>>> types does not work properly.
>>>
>>> Regards,
>>> Prashant
>>>
>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>
>>> Updated https://github.com/apache/royale-asjs/issues/119, think I am
>>> getting closer :-)
>>>
>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>> wrote:
>>>
 Updated https://github.com/apache/royale-asjs/issues/119, can't get
 the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
 error code when calling, so maybe that can help further research

 On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
 wrote:

> Any instructions on how to build the example? This is kind of
> complicated for me as I have 0 experience with JAVA and even less with
> Maven ;-)
>


>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
> *Regards,*
> Prashant Kumar* | *Mob.: +91 8408811225
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: RemoteObject

2018-04-03 Thread Fréderic Cox
Thanks Piotr, I am *still* waiting on our server team to set up the AMFPHP test 
case

Verstuurd vanaf mijn iPhone

> Op 2 apr. 2018 om 08:32 heeft Prashant Kumar  het 
> volgende geschreven:
> 
> I could not get chance to look into this. Please go ahead and check this. If 
> you require any my support, do let me know.
> 
>> On Sun 1 Apr, 2018, 10:57 PM Piotr Zarzycki,  
>> wrote:
>> Hi Prashant,
>> 
>> Did you have a chance to look into that case ? If not I'm going in the next 
>> week look closer to AMF.
>> 
>> Let me know.
>> 
>> Thanks,
>> Piotr
>> 
>> 2018-02-21 7:27 GMT+01:00 Prashant Kumar :
>>> Fine, I will investigate this today and update you on the root cause.
>>> 
>>> 
>>> On 20-Feb-2018 1:53 PM, "Carlos Rovira"  wrote:
>>> Hi Prashant,
>>> 
>>> curious. I think we passed an array of typed VOs, and for example Vehicle 
>>> has only 2 strings and a Date. My VO doesn't have a date property, but I 
>>> assume that should work. Anyway, could you investigate why that not work? 
>>> As I said I can support you with pull request if you want. I'm right now 
>>> focused on new Vivid UI Set that can support themes and visual 
>>> customization.
>>> 
>>> thanks!
>>> 
>>> 
>>> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
 Following cases not working:
 
 service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
 
 var v1:Vehicle = new Vehicle();
 v1.name = "Nexon";
 v1.brand = "TATA";
 v1.dom =  new Date();
 service.send("addVehicle",[v1]);
 
 
> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira  
> wrote:
> Hi, I tested some months ago some scenarios with collections sharing some 
> VOs, and worked, but I think we should try more scenarios since complex 
> object graphs could be problematic.
> 
> Thanks Prashant for looking into this. If you can help trying to evolve 
> the code I can support you with your pull request to include your changes 
> in Royale.
> 
> 
> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>> Carlos,
>> 
>> If I sends only primary type as int , number , date etc then  all works 
>> fine but if I sends custom types as a Arraylist , VOs, and other 
>> inherited types does not work properly. 
>> 
>> Regards,
>> Prashant
>> 
>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>> Updated https://github.com/apache/royale-asjs/issues/119, think I am 
>> getting closer :-)
>> 
>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox  
>> wrote:
>>> Updated https://github.com/apache/royale-asjs/issues/119, can't get the 
>>> JAVA part to work but changing the AMF endpoint to AMFPHP I get an 
>>> error code when calling, so maybe that can help further research
>>> 
 On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox  
 wrote:
 Any instructions on how to build the example? This is kind of 
 complicated for me as I have 0 experience with JAVA and even less with 
 Maven ;-)
>>> 
>> 
>> 
> 
> 
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira
> 
 
 
 
 -- 
 Regards,
 Prashant Kumar | Mob.: +91 8408811225
>>> 
>>> 
>>> 
>>> -- 
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>> 
>>> 
>> 
>> 
>> 
>> -- 
>> Piotr Zarzycki 
>> 
>> Patreon: https://www.patreon.com/piotrzarzycki


Re: RemoteObject

2018-04-01 Thread Prashant Kumar
I could not get chance to look into this. Please go ahead and check this.
If you require any my support, do let me know.

On Sun 1 Apr, 2018, 10:57 PM Piotr Zarzycki, 
wrote:

> Hi Prashant,
>
> Did you have a chance to look into that case ? If not I'm going in the
> next week look closer to AMF.
>
> Let me know.
>
> Thanks,
> Piotr
>
> 2018-02-21 7:27 GMT+01:00 Prashant Kumar :
>
>> Fine, I will investigate this today and update you on the root cause.
>>
>>
>> On 20-Feb-2018 1:53 PM, "Carlos Rovira"  wrote:
>>
>> Hi Prashant,
>>
>> curious. I think we passed an array of typed VOs, and for example Vehicle
>> has only 2 strings and a Date. My VO doesn't have a date property, but I
>> assume that should work. Anyway, could you investigate why that not work?
>> As I said I can support you with pull request if you want. I'm right now
>> focused on new Vivid UI Set that can support themes and visual
>> customization.
>>
>> thanks!
>>
>>
>> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>>
>>> Following cases not working:
>>>
>>> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>>>
>>> var v1:Vehicle = new Vehicle();
>>> v1.name = "Nexon";
>>> v1.brand = "TATA";
>>> v1.dom = new Date();
>>> service.send("addVehicle",[v1]);
>>>
>>>
>>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>>> wrote:
>>>
 Hi, I tested some months ago some scenarios with collections sharing
 some VOs, and worked, but I think we should try more scenarios since
 complex object graphs could be problematic.

 Thanks Prashant for looking into this. If you can help trying to evolve
 the code I can support you with your pull request to include your changes
 in Royale.


 2018-02-17 5:37 GMT+01:00 Prashant Kumar :

> Carlos,
>
> If I sends only primary type as int , number , date etc then  all
> works fine but if I sends custom types as a Arraylist , VOs, and other
> inherited types does not work properly.
>
> Regards,
> Prashant
>
> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>
> Updated https://github.com/apache/royale-asjs/issues/119, think I am
> getting closer :-)
>
> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
> wrote:
>
>> Updated https://github.com/apache/royale-asjs/issues/119, can't get
>> the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
>> error code when calling, so maybe that can help further research
>>
>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>> wrote:
>>
>>> Any instructions on how to build the example? This is kind of
>>> complicated for me as I have 0 experience with JAVA and even less with
>>> Maven ;-)
>>>
>>
>>
>
>


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


>>>
>>>
>>> --
>>> *Regards,*
>>> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>>>
>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


Re: RemoteObject

2018-04-01 Thread Piotr Zarzycki
Hi Prashant,

Did you have a chance to look into that case ? If not I'm going in the next
week look closer to AMF.

Let me know.

Thanks,
Piotr

2018-02-21 7:27 GMT+01:00 Prashant Kumar :

> Fine, I will investigate this today and update you on the root cause.
>
>
> On 20-Feb-2018 1:53 PM, "Carlos Rovira"  wrote:
>
> Hi Prashant,
>
> curious. I think we passed an array of typed VOs, and for example Vehicle
> has only 2 strings and a Date. My VO doesn't have a date property, but I
> assume that should work. Anyway, could you investigate why that not work?
> As I said I can support you with pull request if you want. I'm right now
> focused on new Vivid UI Set that can support themes and visual
> customization.
>
> thanks!
>
>
> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>
>> Following cases not working:
>>
>> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>>
>> var v1:Vehicle = new Vehicle();
>> v1.name = "Nexon";
>> v1.brand = "TATA";
>> v1.dom = new Date();
>> service.send("addVehicle",[v1]);
>>
>>
>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>> wrote:
>>
>>> Hi, I tested some months ago some scenarios with collections sharing
>>> some VOs, and worked, but I think we should try more scenarios since
>>> complex object graphs could be problematic.
>>>
>>> Thanks Prashant for looking into this. If you can help trying to evolve
>>> the code I can support you with your pull request to include your changes
>>> in Royale.
>>>
>>>
>>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>>
 Carlos,

 If I sends only primary type as int , number , date etc then  all works
 fine but if I sends custom types as a Arraylist , VOs, and other inherited
 types does not work properly.

 Regards,
 Prashant

 On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:

 Updated https://github.com/apache/royale-asjs/issues/119, think I am
 getting closer :-)

 On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
 wrote:

> Updated https://github.com/apache/royale-asjs/issues/119, can't get
> the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
> error code when calling, so maybe that can help further research
>
> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
> wrote:
>
>> Any instructions on how to build the example? This is kind of
>> complicated for me as I have 0 experience with JAVA and even less with
>> Maven ;-)
>>
>
>


>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
>> --
>> *Regards,*
>> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: RemoteObject

2018-02-21 Thread Carlos Rovira
Many thanks Prashant for your support!

waiting to know about your progress :)

Carlos

2018-02-21 7:27 GMT+01:00 Prashant Kumar :

> Fine, I will investigate this today and update you on the root cause.
>
>
> On 20-Feb-2018 1:53 PM, "Carlos Rovira"  wrote:
>
> Hi Prashant,
>
> curious. I think we passed an array of typed VOs, and for example Vehicle
> has only 2 strings and a Date. My VO doesn't have a date property, but I
> assume that should work. Anyway, could you investigate why that not work?
> As I said I can support you with pull request if you want. I'm right now
> focused on new Vivid UI Set that can support themes and visual
> customization.
>
> thanks!
>
>
> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>
>> Following cases not working:
>>
>> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>>
>> var v1:Vehicle = new Vehicle();
>> v1.name = "Nexon";
>> v1.brand = "TATA";
>> v1.dom = new Date();
>> service.send("addVehicle",[v1]);
>>
>>
>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>> wrote:
>>
>>> Hi, I tested some months ago some scenarios with collections sharing
>>> some VOs, and worked, but I think we should try more scenarios since
>>> complex object graphs could be problematic.
>>>
>>> Thanks Prashant for looking into this. If you can help trying to evolve
>>> the code I can support you with your pull request to include your changes
>>> in Royale.
>>>
>>>
>>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>>
 Carlos,

 If I sends only primary type as int , number , date etc then  all works
 fine but if I sends custom types as a Arraylist , VOs, and other inherited
 types does not work properly.

 Regards,
 Prashant

 On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:

 Updated https://github.com/apache/royale-asjs/issues/119, think I am
 getting closer :-)

 On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
 wrote:

> Updated https://github.com/apache/royale-asjs/issues/119, can't get
> the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
> error code when calling, so maybe that can help further research
>
> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
> wrote:
>
>> Any instructions on how to build the example? This is kind of
>> complicated for me as I have 0 experience with JAVA and even less with
>> Maven ;-)
>>
>
>


>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
>> --
>> *Regards,*
>> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>


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


Re: RemoteObject

2018-02-20 Thread Prashant Kumar
Fine, I will investigate this today and update you on the root cause.

On 20-Feb-2018 1:53 PM, "Carlos Rovira"  wrote:

Hi Prashant,

curious. I think we passed an array of typed VOs, and for example Vehicle
has only 2 strings and a Date. My VO doesn't have a date property, but I
assume that should work. Anyway, could you investigate why that not work?
As I said I can support you with pull request if you want. I'm right now
focused on new Vivid UI Set that can support themes and visual
customization.

thanks!


2018-02-18 13:50 GMT+01:00 Prashant Kumar :

> Following cases not working:
>
> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>
> var v1:Vehicle = new Vehicle();
> v1.name = "Nexon";
> v1.brand = "TATA";
> v1.dom = new Date();
> service.send("addVehicle",[v1]);
>
>
> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
> wrote:
>
>> Hi, I tested some months ago some scenarios with collections sharing some
>> VOs, and worked, but I think we should try more scenarios since complex
>> object graphs could be problematic.
>>
>> Thanks Prashant for looking into this. If you can help trying to evolve
>> the code I can support you with your pull request to include your changes
>> in Royale.
>>
>>
>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>
>>> Carlos,
>>>
>>> If I sends only primary type as int , number , date etc then  all works
>>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>>> types does not work properly.
>>>
>>> Regards,
>>> Prashant
>>>
>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>
>>> Updated https://github.com/apache/royale-asjs/issues/119, think I am
>>> getting closer :-)
>>>
>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>> wrote:
>>>
 Updated https://github.com/apache/royale-asjs/issues/119, can't get
 the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
 error code when calling, so maybe that can help further research

 On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
 wrote:

> Any instructions on how to build the example? This is kind of
> complicated for me as I have 0 experience with JAVA and even less with
> Maven ;-)
>


>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
> *Regards,*
> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>



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


Re: RemoteObject

2018-02-20 Thread Carlos Rovira
Hi Prashant,

curious. I think we passed an array of typed VOs, and for example Vehicle
has only 2 strings and a Date. My VO doesn't have a date property, but I
assume that should work. Anyway, could you investigate why that not work?
As I said I can support you with pull request if you want. I'm right now
focused on new Vivid UI Set that can support themes and visual
customization.

thanks!


2018-02-18 13:50 GMT+01:00 Prashant Kumar :

> Following cases not working:
>
> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>
> var v1:Vehicle = new Vehicle();
> v1.name = "Nexon";
> v1.brand = "TATA";
> v1.dom = new Date();
> service.send("addVehicle",[v1]);
>
>
> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
> wrote:
>
>> Hi, I tested some months ago some scenarios with collections sharing some
>> VOs, and worked, but I think we should try more scenarios since complex
>> object graphs could be problematic.
>>
>> Thanks Prashant for looking into this. If you can help trying to evolve
>> the code I can support you with your pull request to include your changes
>> in Royale.
>>
>>
>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>
>>> Carlos,
>>>
>>> If I sends only primary type as int , number , date etc then  all works
>>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>>> types does not work properly.
>>>
>>> Regards,
>>> Prashant
>>>
>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>
>>> Updated https://github.com/apache/royale-asjs/issues/119, think I am
>>> getting closer :-)
>>>
>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>> wrote:
>>>
 Updated https://github.com/apache/royale-asjs/issues/119, can't get
 the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
 error code when calling, so maybe that can help further research

 On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
 wrote:

> Any instructions on how to build the example? This is kind of
> complicated for me as I have 0 experience with JAVA and even less with
> Maven ;-)
>


>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
> *Regards,*
> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>



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


Re: RemoteObject

2018-02-19 Thread Fréderic Cox
Thanks Piotr, I'll check it further also. We have the same version as you I
believe but we also have the C extension installed to speed things up.
Things get compressed (gzip) so maybe the issue can be there. I'm checking
with our server team tomorrow and hope to run some tests in the coming days

On Mon, Feb 19, 2018 at 12:11 AM, Piotr Zarzycki 
wrote:

> Frederic ,
>
> I did play with AMFPHP a bit with success. I have downloaded AMFPHP from
> here [1].
>
> There where following example service [2]. I was able to receive data from
> following methods without the problem. My test Royale application was
> placed in localhost.
>
> *returnOneParam*(1) - *OK*
> *returnSum*(1, 2) - *OK*
> *returnNull*() - *OK*
> *returnBla() - OK*
> *throwException('My Exception') - I did get exception here, but without
> sent string.*
> *returnTestHeader() - Failed*
> *returnArray() - OK*
> *returnOpposite() - OK*
> *returnBitwiseAnd() - OK*
> *staticReturnOneParam() - OK*
> *returnLargeTypedDataSet() - OK!! *I did create DummyVO - the was on
> server. Code ->
> https://paste.apache.org/W3E3
>
> *testArrayCollection - *This fail always and I believe even if we will
> have our own ArrayCollection. AMF won't understand it either.
>
> Prashant,
> In your example you have to use simple Array and it should work.
> I did change code of this service as you can see [1] and it was working
> for me without the problem!
>
> If method doesn't have any parameter It is important to send the second
> params as empty array service.send("returnNull", []) -> this won't work 
> service.send("returnNull",
> null)
>
> Alex,
> what do you think to add to send empty array as default ?
>
> [1]  https://www.silexlabs.org/amfphp/
> [2] https://paste.apache.org/L24z
>
> Thanks,
> Piotr
>
>
> 2018-02-18 13:50 GMT+01:00 Prashant Kumar :
>
>> Following cases not working:
>>
>> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>>
>> var v1:Vehicle = new Vehicle();
>> v1.name = "Nexon";
>> v1.brand = "TATA";
>> v1.dom = new Date();
>> service.send("addVehicle",[v1]);
>>
>>
>> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
>> wrote:
>>
>>> Hi, I tested some months ago some scenarios with collections sharing
>>> some VOs, and worked, but I think we should try more scenarios since
>>> complex object graphs could be problematic.
>>>
>>> Thanks Prashant for looking into this. If you can help trying to evolve
>>> the code I can support you with your pull request to include your changes
>>> in Royale.
>>>
>>>
>>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>>
 Carlos,

 If I sends only primary type as int , number , date etc then  all works
 fine but if I sends custom types as a Arraylist , VOs, and other inherited
 types does not work properly.

 Regards,
 Prashant

 On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:

 Updated https://github.com/apache/royale-asjs/issues/119, think I am
 getting closer :-)

 On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
 wrote:

> Updated https://github.com/apache/royale-asjs/issues/119, can't get
> the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
> error code when calling, so maybe that can help further research
>
> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
> wrote:
>
>> Any instructions on how to build the example? This is kind of
>> complicated for me as I have 0 experience with JAVA and even less with
>> Maven ;-)
>>
>
>


>>>
>>>
>>> --
>>> Carlos Rovira
>>> http://about.me/carlosrovira
>>>
>>>
>>
>>
>> --
>> *Regards,*
>> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


Re: RemoteObject

2018-02-18 Thread Piotr Zarzycki
Frederic ,

I did play with AMFPHP a bit with success. I have downloaded AMFPHP from
here [1].

There where following example service [2]. I was able to receive data from
following methods without the problem. My test Royale application was
placed in localhost.

*returnOneParam*(1) - *OK*
*returnSum*(1, 2) - *OK*
*returnNull*() - *OK*
*returnBla() - OK*
*throwException('My Exception') - I did get exception here, but without
sent string.*
*returnTestHeader() - Failed*
*returnArray() - OK*
*returnOpposite() - OK*
*returnBitwiseAnd() - OK*
*staticReturnOneParam() - OK*
*returnLargeTypedDataSet() - OK!! *I did create DummyVO - the was on
server. Code ->
https://paste.apache.org/W3E3

*testArrayCollection - *This fail always and I believe even if we will have
our own ArrayCollection. AMF won't understand it either.

Prashant,
In your example you have to use simple Array and it should work.
I did change code of this service as you can see [1] and it was working for
me without the problem!

If method doesn't have any parameter It is important to send the second
params as empty array service.send("returnNull", []) -> this won't
work service.send("returnNull",
null)

Alex,
what do you think to add to send empty array as default ?

[1]  https://www.silexlabs.org/amfphp/
[2] https://paste.apache.org/L24z

Thanks,
Piotr


2018-02-18 13:50 GMT+01:00 Prashant Kumar :

> Following cases not working:
>
> service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);
>
> var v1:Vehicle = new Vehicle();
> v1.name = "Nexon";
> v1.brand = "TATA";
> v1.dom = new Date();
> service.send("addVehicle",[v1]);
>
>
> On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
> wrote:
>
>> Hi, I tested some months ago some scenarios with collections sharing some
>> VOs, and worked, but I think we should try more scenarios since complex
>> object graphs could be problematic.
>>
>> Thanks Prashant for looking into this. If you can help trying to evolve
>> the code I can support you with your pull request to include your changes
>> in Royale.
>>
>>
>> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>>
>>> Carlos,
>>>
>>> If I sends only primary type as int , number , date etc then  all works
>>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>>> types does not work properly.
>>>
>>> Regards,
>>> Prashant
>>>
>>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>>
>>> Updated https://github.com/apache/royale-asjs/issues/119, think I am
>>> getting closer :-)
>>>
>>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>>> wrote:
>>>
 Updated https://github.com/apache/royale-asjs/issues/119, can't get
 the JAVA part to work but changing the AMF endpoint to AMFPHP I get an
 error code when calling, so maybe that can help further research

 On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
 wrote:

> Any instructions on how to build the example? This is kind of
> complicated for me as I have 0 experience with JAVA and even less with
> Maven ;-)
>


>>>
>>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
> *Regards,*
> Prashant Kumar* | *Mob.: +91 8408811225 <+91%2084088%2011225>
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: RemoteObject

2018-02-18 Thread Prashant Kumar
Following cases not working:

service.send("passArrayList",[new ArrayList(["Test1","Test2"])]);

var v1:Vehicle = new Vehicle();
v1.name = "Nexon";
v1.brand = "TATA";
v1.dom = new Date();
service.send("addVehicle",[v1]);


On Sat, Feb 17, 2018 at 4:15 PM, Carlos Rovira 
wrote:

> Hi, I tested some months ago some scenarios with collections sharing some
> VOs, and worked, but I think we should try more scenarios since complex
> object graphs could be problematic.
>
> Thanks Prashant for looking into this. If you can help trying to evolve
> the code I can support you with your pull request to include your changes
> in Royale.
>
>
> 2018-02-17 5:37 GMT+01:00 Prashant Kumar :
>
>> Carlos,
>>
>> If I sends only primary type as int , number , date etc then  all works
>> fine but if I sends custom types as a Arraylist , VOs, and other inherited
>> types does not work properly.
>>
>> Regards,
>> Prashant
>>
>> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>>
>> Updated https://github.com/apache/royale-asjs/issues/119, think I am
>> getting closer :-)
>>
>> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
>> wrote:
>>
>>> Updated https://github.com/apache/royale-asjs/issues/119, can't get the
>>> JAVA part to work but changing the AMF endpoint to AMFPHP I get an error
>>> code when calling, so maybe that can help further research
>>>
>>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>>> wrote:
>>>
 Any instructions on how to build the example? This is kind of
 complicated for me as I have 0 experience with JAVA and even less with
 Maven ;-)

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


-- 
*Regards,*
Prashant Kumar* | *Mob.: +91 8408811225


Re: RemoteObject

2018-02-17 Thread Carlos Rovira
Hi, I tested some months ago some scenarios with collections sharing some
VOs, and worked, but I think we should try more scenarios since complex
object graphs could be problematic.

Thanks Prashant for looking into this. If you can help trying to evolve the
code I can support you with your pull request to include your changes in
Royale.


2018-02-17 5:37 GMT+01:00 Prashant Kumar :

> Carlos,
>
> If I sends only primary type as int , number , date etc then  all works
> fine but if I sends custom types as a Arraylist , VOs, and other inherited
> types does not work properly.
>
> Regards,
> Prashant
>
> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>
> Updated https://github.com/apache/royale-asjs/issues/119, think I am
> getting closer :-)
>
> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
> wrote:
>
>> Updated https://github.com/apache/royale-asjs/issues/119, can't get the
>> JAVA part to work but changing the AMF endpoint to AMFPHP I get an error
>> code when calling, so maybe that can help further research
>>
>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>> wrote:
>>
>>> Any instructions on how to build the example? This is kind of
>>> complicated for me as I have 0 experience with JAVA and even less with
>>> Maven ;-)
>>>
>>
>>
>
>


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


Re: RemoteObject

2018-02-17 Thread Carlos Rovira
Hi Frederic,
as I stated before, it should work flawlessly since all implementations in
different backends should end doing the same.
If not, that means we can find different scenarios and that other AMF
client code knows how to manage it. For that reason I propose you to start
from our java-royal example (there's a java project example and a royale
project example that works together). If that works ok for you, and was not
broken for something we did in the last months, then I'll try to substitute
java backed by AMFPHP backend and see if that works, and from there you can
evolve.

let me know what do you think about this strategy

thanks Frederic! :)



2018-02-16 15:57 GMT+01:00 Fréderic Cox :

> Hi Carlos,
>
> Sure I’ll see what I can do. Feel I have lots to leatn about Royale and
> AMF (it just works with Flash/AIR so not up to date about the inner
> workings).
>
> I’ll try to test the examples over the weekend. Do you think the AMFPHP
> version could be an issue or is it assumed to work in Royale if it works in
> Flex?
>
> Verstuurd vanaf mijn iPhone
>
> Op 16 feb. 2018 om 12:28 heeft Carlos Rovira 
> het volgende geschreven:
>
> Hi Frederic,
> thanks for filling this and take a look into AMF!
> Hope you could help us a bit with this.
>
> 2018-02-16 0:21 GMT+01:00 Fréderic Cox :
>
>> Hi Alex,
>>
>> I created https://github.com/apache/royale-asjs/issues/119, hope that is
>> in the correct place and with more readable mark-up.
>>
>> Regards,
>>
>> Fréderic
>>
>> On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui  wrote:
>>
>>> Hi Frederic,
>>>
>>> Where is this output you posted coming from, a network monitor?  It was
>>> too hard to read, so please create a bug report on GitHub and post it there.
>>>
>>> You might be able to use a network monitor to compare what Flex sent vs
>>> what Royale is sending.  What does your Flex usage of RemoteObject look
>>> like?
>>>
>>> HTH,
>>> -Alex
>>>
>>> From: Fréderic Cox 
>>> Reply-To: "users@royale.apache.org" 
>>> Date: Thursday, February 15, 2018 at 5:09 AM
>>> To: "users@royale.apache.org" 
>>> Subject: Re: RemoteObject
>>>
>>> Hi Piotr,
>>>
>>> Thanks, I installed the extension and now I'm not getting the CORS error
>>> anymore.
>>> I'm not getting any fault or result event triggered either
>>>
>>> The endPoint set is
>>> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>
>>> This is correct, right? (I use this endpoint in Flex and that works fine)
>>>
>>>
>>>1. Request URL:
>>>   https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>>   
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>   2. Request Method:
>>>   OPTIONS
>>>   3. Status Code:
>>>   200 OK
>>>   4. Remote Address:
>>>   188.93.153.101:443
>>>   
>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F188.93.153.101%3A443&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=UWqG%2BqQTcL1fTnck9i5BPXmrn3ZlgRf8XCPpQ8EcJrE%3D&reserved=0>
>>>   5. Referrer Policy:
>>>   no-referrer-when-downgrade
>>>   1. Response Headersview source
>>>   1. Connection:
>>>   keep-alive
>>>   2. Content-Encoding:
>>>   gzip
>>>   3. Content-Length:
>>>   286
>>>   4. Content-Type:
>>>   text/html; charset=UTF-8
>>>   5. Date:
>>>   Thu, 15 Feb 2018 13:08:17 GMT
>>>   6. Server:
>>>   nginx
>>>   7. Vary:
>>>   Accept-Encoding
>>>   2. Request Headersview source
>>>   1. Accept:
>>>   */*
>>

Re: RemoteObject

2018-02-16 Thread Prashant Kumar
Yes, I will share my code.

On 17-Feb-2018 11:12 AM, "Alex Harui"  wrote:

> Do your VO's have [RemoteClass] metadata?   We did test custom types.
>
> -Alex
>
> From: Prashant Kumar 
> Reply-To: "users@royale.apache.org" 
> Date: Friday, February 16, 2018 at 8:37 PM
> To: "users@royale.apache.org" 
> Subject: Re: RemoteObject
>
> Carlos,
>
> If I sends only primary type as int , number , date etc then  all works
> fine but if I sends custom types as a Arraylist , VOs, and other inherited
> types does not work properly.
>
> Regards,
> Prashant
>
> On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:
>
> Updated https://github.com/apache/royale-asjs/issues/119
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7C9696bb17d3b9460f2ad108d575c029df%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636544390565803206&sdata=yOViePKLHIl9xN8KVA6vW%2BwfX%2BRKww7QFs8X23F7p7E%3D&reserved=0>,
> think I am getting closer :-)
>
> On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
> wrote:
>
>> Updated https://github.com/apache/royale-asjs/issues/119
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7C9696bb17d3b9460f2ad108d575c029df%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636544390565803206&sdata=yOViePKLHIl9xN8KVA6vW%2BwfX%2BRKww7QFs8X23F7p7E%3D&reserved=0>,
>> can't get the JAVA part to work but changing the AMF endpoint to AMFPHP I
>> get an error code when calling, so maybe that can help further research
>>
>> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
>> wrote:
>>
>>> Any instructions on how to build the example? This is kind of
>>> complicated for me as I have 0 experience with JAVA and even less with
>>> Maven ;-)
>>>
>>
>>
>
>


Re: RemoteObject

2018-02-16 Thread Alex Harui
Do your VO's have [RemoteClass] metadata?   We did test custom types.

-Alex

From: Prashant Kumar mailto:prashaku...@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Friday, February 16, 2018 at 8:37 PM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: Re: RemoteObject

Carlos,

If I sends only primary type as int , number , date etc then  all works fine 
but if I sends custom types as a Arraylist , VOs, and other inherited types 
does not work properly.

Regards,
Prashant

On 17-Feb-2018 2:50 AM, "Fréderic Cox" 
mailto:coxfrede...@gmail.com>> wrote:
Updated 
https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7C9696bb17d3b9460f2ad108d575c029df%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636544390565803206&sdata=yOViePKLHIl9xN8KVA6vW%2BwfX%2BRKww7QFs8X23F7p7E%3D&reserved=0>,
 think I am getting closer :-)

On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox 
mailto:coxfrede...@gmail.com>> wrote:
Updated 
https://github.com/apache/royale-asjs/issues/119<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F119&data=02%7C01%7Caharui%40adobe.com%7C9696bb17d3b9460f2ad108d575c029df%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636544390565803206&sdata=yOViePKLHIl9xN8KVA6vW%2BwfX%2BRKww7QFs8X23F7p7E%3D&reserved=0>,
 can't get the JAVA part to work but changing the AMF endpoint to AMFPHP I get 
an error code when calling, so maybe that can help further research

On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
mailto:coxfrede...@gmail.com>> wrote:
Any instructions on how to build the example? This is kind of complicated for 
me as I have 0 experience with JAVA and even less with Maven ;-)





Re: RemoteObject

2018-02-16 Thread Prashant Kumar
Carlos,

If I sends only primary type as int , number , date etc then  all works
fine but if I sends custom types as a Arraylist , VOs, and other inherited
types does not work properly.

Regards,
Prashant

On 17-Feb-2018 2:50 AM, "Fréderic Cox"  wrote:

Updated https://github.com/apache/royale-asjs/issues/119, think I am
getting closer :-)

On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox  wrote:

> Updated https://github.com/apache/royale-asjs/issues/119, can't get the
> JAVA part to work but changing the AMF endpoint to AMFPHP I get an error
> code when calling, so maybe that can help further research
>
> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
> wrote:
>
>> Any instructions on how to build the example? This is kind of complicated
>> for me as I have 0 experience with JAVA and even less with Maven ;-)
>>
>
>


Re: RemoteObject

2018-02-16 Thread Fréderic Cox
Updated https://github.com/apache/royale-asjs/issues/119, think I am
getting closer :-)

On Fri, Feb 16, 2018 at 9:51 PM, Fréderic Cox  wrote:

> Updated https://github.com/apache/royale-asjs/issues/119, can't get the
> JAVA part to work but changing the AMF endpoint to AMFPHP I get an error
> code when calling, so maybe that can help further research
>
> On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox 
> wrote:
>
>> Any instructions on how to build the example? This is kind of complicated
>> for me as I have 0 experience with JAVA and even less with Maven ;-)
>>
>
>


Re: RemoteObject

2018-02-16 Thread Fréderic Cox
Updated https://github.com/apache/royale-asjs/issues/119, can't get the
JAVA part to work but changing the AMF endpoint to AMFPHP I get an error
code when calling, so maybe that can help further research

On Fri, Feb 16, 2018 at 9:21 PM, Fréderic Cox  wrote:

> Any instructions on how to build the example? This is kind of complicated
> for me as I have 0 experience with JAVA and even less with Maven ;-)
>


Re: RemoteObject

2018-02-16 Thread Fréderic Cox
Any instructions on how to build the example? This is kind of complicated
for me as I have 0 experience with JAVA and even less with Maven ;-)


Re: RemoteObject

2018-02-16 Thread Prashant Kumar
I tested couple of scenarios of FlexJS AMF. only fews are working. I will
check with Royal and share output tomorrow.

On 16-Feb-2018 8:30 PM, "Piotr Zarzycki"  wrote:

> Frederic,
>
> Could you share some hello world implementation of AMFPHP along with Hello
> World app in Flex ? I may also look into that and compare the results. Just
> don't want to waste time on setup things to prepare AMFPHP stuff. Do you
> have such things ?
>
> Thanks, Piotr
>
>
> 2018-02-16 15:57 GMT+01:00 Fréderic Cox :
>
>> Hi Carlos,
>>
>> Sure I’ll see what I can do. Feel I have lots to leatn about Royale and
>> AMF (it just works with Flash/AIR so not up to date about the inner
>> workings).
>>
>> I’ll try to test the examples over the weekend. Do you think the AMFPHP
>> version could be an issue or is it assumed to work in Royale if it works in
>> Flex?
>>
>> Verstuurd vanaf mijn iPhone
>>
>> Op 16 feb. 2018 om 12:28 heeft Carlos Rovira 
>> het volgende geschreven:
>>
>> Hi Frederic,
>> thanks for filling this and take a look into AMF!
>> Hope you could help us a bit with this.
>>
>> 2018-02-16 0:21 GMT+01:00 Fréderic Cox :
>>
>>> Hi Alex,
>>>
>>> I created https://github.com/apache/royale-asjs/issues/119, hope that
>>> is in the correct place and with more readable mark-up.
>>>
>>> Regards,
>>>
>>> Fréderic
>>>
>>> On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui  wrote:
>>>
>>>> Hi Frederic,
>>>>
>>>> Where is this output you posted coming from, a network monitor?  It was
>>>> too hard to read, so please create a bug report on GitHub and post it 
>>>> there.
>>>>
>>>> You might be able to use a network monitor to compare what Flex sent vs
>>>> what Royale is sending.  What does your Flex usage of RemoteObject look
>>>> like?
>>>>
>>>> HTH,
>>>> -Alex
>>>>
>>>> From: Fréderic Cox 
>>>> Reply-To: "users@royale.apache.org" 
>>>> Date: Thursday, February 15, 2018 at 5:09 AM
>>>> To: "users@royale.apache.org" 
>>>> Subject: Re: RemoteObject
>>>>
>>>> Hi Piotr,
>>>>
>>>> Thanks, I installed the extension and now I'm not getting the CORS
>>>> error anymore.
>>>> I'm not getting any fault or result event triggered either
>>>>
>>>> The endPoint set is
>>>> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>>
>>>> This is correct, right? (I use this endpoint in Flex and that works
>>>> fine)
>>>>
>>>>
>>>>1. Request URL:
>>>>   https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>>>   
>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>>   2. Request Method:
>>>>   OPTIONS
>>>>   3. Status Code:
>>>>   200 OK
>>>>   4. Remote Address:
>>>>   188.93.153.101:443
>>>>   
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F188.93.153.101%3A443&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=UWqG%2BqQTcL1fTnck9i5BPXmrn3ZlgRf8XCPpQ8EcJrE%3D&reserved=0>
>>>>   5. Referrer Policy:
>>>>   no-referrer-when-downgrade
>>>>   1. Response Headersview source
>>>>   1. Connection:
>>>>   keep-alive
>>>>   2. Content-Encoding:
>>>>   gzip
>>>>   3. Content-Length:
>>>>   286
>>>>   4. Content-Type:
>>>>   text/html; charset=UTF-8
>>>>   5. Date:
>>>>   Thu, 15 Feb 2018 13:08:17 

Re: RemoteObject

2018-02-16 Thread Piotr Zarzycki
Frederic,

Could you share some hello world implementation of AMFPHP along with Hello
World app in Flex ? I may also look into that and compare the results. Just
don't want to waste time on setup things to prepare AMFPHP stuff. Do you
have such things ?

Thanks, Piotr


2018-02-16 15:57 GMT+01:00 Fréderic Cox :

> Hi Carlos,
>
> Sure I’ll see what I can do. Feel I have lots to leatn about Royale and
> AMF (it just works with Flash/AIR so not up to date about the inner
> workings).
>
> I’ll try to test the examples over the weekend. Do you think the AMFPHP
> version could be an issue or is it assumed to work in Royale if it works in
> Flex?
>
> Verstuurd vanaf mijn iPhone
>
> Op 16 feb. 2018 om 12:28 heeft Carlos Rovira 
> het volgende geschreven:
>
> Hi Frederic,
> thanks for filling this and take a look into AMF!
> Hope you could help us a bit with this.
>
> 2018-02-16 0:21 GMT+01:00 Fréderic Cox :
>
>> Hi Alex,
>>
>> I created https://github.com/apache/royale-asjs/issues/119, hope that is
>> in the correct place and with more readable mark-up.
>>
>> Regards,
>>
>> Fréderic
>>
>> On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui  wrote:
>>
>>> Hi Frederic,
>>>
>>> Where is this output you posted coming from, a network monitor?  It was
>>> too hard to read, so please create a bug report on GitHub and post it there.
>>>
>>> You might be able to use a network monitor to compare what Flex sent vs
>>> what Royale is sending.  What does your Flex usage of RemoteObject look
>>> like?
>>>
>>> HTH,
>>> -Alex
>>>
>>> From: Fréderic Cox 
>>> Reply-To: "users@royale.apache.org" 
>>> Date: Thursday, February 15, 2018 at 5:09 AM
>>> To: "users@royale.apache.org" 
>>> Subject: Re: RemoteObject
>>>
>>> Hi Piotr,
>>>
>>> Thanks, I installed the extension and now I'm not getting the CORS error
>>> anymore.
>>> I'm not getting any fault or result event triggered either
>>>
>>> The endPoint set is
>>> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>
>>> This is correct, right? (I use this endpoint in Flex and that works fine)
>>>
>>>
>>>1. Request URL:
>>>   https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>>   
>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>>   2. Request Method:
>>>   OPTIONS
>>>   3. Status Code:
>>>   200 OK
>>>   4. Remote Address:
>>>   188.93.153.101:443
>>>   
>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F188.93.153.101%3A443&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=UWqG%2BqQTcL1fTnck9i5BPXmrn3ZlgRf8XCPpQ8EcJrE%3D&reserved=0>
>>>   5. Referrer Policy:
>>>   no-referrer-when-downgrade
>>>   1. Response Headersview source
>>>   1. Connection:
>>>   keep-alive
>>>   2. Content-Encoding:
>>>   gzip
>>>   3. Content-Length:
>>>   286
>>>   4. Content-Type:
>>>   text/html; charset=UTF-8
>>>   5. Date:
>>>   Thu, 15 Feb 2018 13:08:17 GMT
>>>   6. Server:
>>>   nginx
>>>   7. Vary:
>>>   Accept-Encoding
>>>   2. Request Headersview source
>>>   1. Accept:
>>>   */*
>>>   2. Accept-Encoding:
>>>   gzip, deflate, br
>>>   3. Accept-Language:
>>>   en-GB,en-US;q=0.9,en;q=0.8
>>>   4. Access-Control-Request-Headers:
>>>   content-type
>>>   5. Access-Control-Request-Method:
>>>   POST
>>>   6. Connection:
>>>   keep-alive
>>> 

Re: RemoteObject

2018-02-16 Thread Fréderic Cox
Hi Carlos,

Sure I’ll see what I can do. Feel I have lots to leatn about Royale and AMF (it 
just works with Flash/AIR so not up to date about the inner workings).

I’ll try to test the examples over the weekend. Do you think the AMFPHP version 
could be an issue or is it assumed to work in Royale if it works in Flex? 

Verstuurd vanaf mijn iPhone

> Op 16 feb. 2018 om 12:28 heeft Carlos Rovira  het 
> volgende geschreven:
> 
> Hi Frederic, 
> thanks for filling this and take a look into AMF!
> Hope you could help us a bit with this.
> 
> 2018-02-16 0:21 GMT+01:00 Fréderic Cox :
>> Hi Alex, 
>> 
>> I created https://github.com/apache/royale-asjs/issues/119, hope that is in 
>> the correct place and with more readable mark-up.
>> 
>> Regards,
>> 
>> Fréderic
>> 
>>> On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui  wrote:
>>> Hi Frederic,
>>> 
>>> Where is this output you posted coming from, a network monitor?  It was too 
>>> hard to read, so please create a bug report on GitHub and post it there.
>>> 
>>> You might be able to use a network monitor to compare what Flex sent vs 
>>> what Royale is sending.  What does your Flex usage of RemoteObject look 
>>> like?
>>> 
>>> HTH,
>>> -Alex
>>> 
>>> From: Fréderic Cox 
>>> Reply-To: "users@royale.apache.org" 
>>> Date: Thursday, February 15, 2018 at 5:09 AM
>>> To: "users@royale.apache.org" 
>>> Subject: Re: RemoteObject
>>> 
>>> Hi Piotr,
>>> 
>>> Thanks, I installed the extension and now I'm not getting the CORS error 
>>> anymore.
>>> I'm not getting any fault or result event triggered either
>>> 
>>> The endPoint set is
>>> 
>>> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>> 
>>> 
>>> This is correct, right? (I use this endpoint in Flex and that works fine)
>>> 
>>> 
>>> Request URL: 
>>> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>> 
>>> Request Method: 
>>> OPTIONS
>>> 
>>> Status Code:  
>>> 200 OK
>>> 
>>> Remote Address: 
>>> 188.93.153.101:443
>>> 
>>> Referrer Policy: 
>>> no-referrer-when-downgrade
>>> Response Headers
>>> view source
>>> 
>>> Connection: 
>>> keep-alive
>>> 
>>> Content-Encoding: 
>>> gzip
>>> 
>>> Content-Length: 
>>> 286
>>> 
>>> Content-Type: 
>>> text/html; charset=UTF-8
>>> 
>>> Date: 
>>> Thu, 15 Feb 2018 13:08:17 GMT
>>> 
>>> Server: 
>>> nginx
>>> 
>>> Vary: 
>>> Accept-Encoding
>>> Request Headers
>>> view source
>>> 
>>> Accept: 
>>> */*
>>> 
>>> Accept-Encoding: 
>>> gzip, deflate, br
>>> 
>>> Accept-Language: 
>>> en-GB,en-US;q=0.9,en;q=0.8
>>> 
>>> Access-Control-Request-Headers: 
>>> content-type
>>> 
>>> Access-Control-Request-Method: 
>>> POST
>>> 
>>> Connection: 
>>> keep-alive
>>> 
>>> Host: 
>>> clients.cityfashion.dev.exuvis.com
>>> 
>>> Origin: 
>>> null
>>> 
>>> User-Agent: 
>>> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, 
>>> like Gecko) Chrome/64.0.3282.167 Safari/537.36
>>> Response is:
>>> 
>>> amfphp and this gateway are installed correctly. You may now connect to 
>>> this gateway from Flash.Note: If you're reading an old tutorial, it 
>>> will tell you that you should see a download window instead of this 
>>> message. This confused people so this is the new behaviour starting from 
>>> amfphp 1.2.View the amfphp 
>>> documentationLoad the service browser
>>> 
>>> Should I target a specific file with the JS version? Should the endPoint be 
>>> different?
>>> 
>>>> On Thu, Feb 15, 2018 at 12:07 PM, Piotr Zarzycki 
>>>>  wrote:
>>>> Frederic,
>>>> 
>>>> It looks like it is not problem with framework, but rather CORS issue. 
>>>> Maybe try to install this plugin [1] and add to the list your url.
>>>> 
>>>> [1] 
>>>> https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
>>

Re: RemoteObject

2018-02-16 Thread Carlos Rovira
Hi Frederic,
thanks for filling this and take a look into AMF!
Hope you could help us a bit with this.

2018-02-16 0:21 GMT+01:00 Fréderic Cox :

> Hi Alex,
>
> I created https://github.com/apache/royale-asjs/issues/119, hope that is
> in the correct place and with more readable mark-up.
>
> Regards,
>
> Fréderic
>
> On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui  wrote:
>
>> Hi Frederic,
>>
>> Where is this output you posted coming from, a network monitor?  It was
>> too hard to read, so please create a bug report on GitHub and post it there.
>>
>> You might be able to use a network monitor to compare what Flex sent vs
>> what Royale is sending.  What does your Flex usage of RemoteObject look
>> like?
>>
>> HTH,
>> -Alex
>>
>> From: Fréderic Cox 
>> Reply-To: "users@royale.apache.org" 
>> Date: Thursday, February 15, 2018 at 5:09 AM
>> To: "users@royale.apache.org" 
>> Subject: Re: RemoteObject
>>
>> Hi Piotr,
>>
>> Thanks, I installed the extension and now I'm not getting the CORS error
>> anymore.
>> I'm not getting any fault or result event triggered either
>>
>> The endPoint set is
>> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>
>> This is correct, right? (I use this endpoint in Flex and that works fine)
>>
>>
>>1. Request URL:
>>   https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>>   
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>>   2. Request Method:
>>   OPTIONS
>>   3. Status Code:
>>   200 OK
>>   4. Remote Address:
>>   188.93.153.101:443
>>   
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F188.93.153.101%3A443&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=UWqG%2BqQTcL1fTnck9i5BPXmrn3ZlgRf8XCPpQ8EcJrE%3D&reserved=0>
>>   5. Referrer Policy:
>>   no-referrer-when-downgrade
>>   1. Response Headersview source
>>   1. Connection:
>>   keep-alive
>>   2. Content-Encoding:
>>   gzip
>>   3. Content-Length:
>>   286
>>   4. Content-Type:
>>   text/html; charset=UTF-8
>>   5. Date:
>>   Thu, 15 Feb 2018 13:08:17 GMT
>>   6. Server:
>>   nginx
>>   7. Vary:
>>   Accept-Encoding
>>   2. Request Headersview source
>>   1. Accept:
>>   */*
>>   2. Accept-Encoding:
>>   gzip, deflate, br
>>   3. Accept-Language:
>>   en-GB,en-US;q=0.9,en;q=0.8
>>   4. Access-Control-Request-Headers:
>>   content-type
>>   5. Access-Control-Request-Method:
>>   POST
>>   6. Connection:
>>   keep-alive
>>   7. Host:
>>   clients.cityfashion.dev.exuvis.com
>>   
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fclients.cityfashion.dev.exuvis.com&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=%2BiTohXW1uaTpydtAlGWa0leTvEQKK2Wg6XtN%2FqQ73%2F0%3D&reserved=0>
>>   8. Origin:
>>   null
>>   9. User-Agent:
>>   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36
>>   (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
>>
>> Response is:
>>
>> amfphp and this gateway are installed correctly. You may now connect
>> to this gateway from Flash.Note: If you're reading an old tutorial,
>> it will tell you that you should see a download window instead of this
>> message. This confused people so this is the new behaviour starting from
>> amfphp 1.2.View
>> the amfphp documentationLoad the service
>> browser
>>
>> Should I target a specific file with the JS version? Should the

Re: RemoteObject

2018-02-16 Thread Carlos Rovira
>>
>>>>> No problem. I have also couple of huge things related to Royale to do
>>>>> before my hand gets dirty with AMF! :) Unless someone urgently will 
>>>>> needed.
>>>>> :)
>>>>>
>>>>> Thanks, Piotr
>>>>>
>>>>> 2018-01-15 19:27 GMT+01:00 Carlos Rovira :
>>>>>
>>>>>> Hi Piotr,
>>>>>> I'll put this on my to do list, but have to do some things first.
>>>>>> thanks
>>>>>>
>>>>>> 2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :
>>>>>>
>>>>>>> Hi Carlos,
>>>>>>>
>>>>>>> Can you describe more how to setup those examples ? Could you add to
>>>>>>> RemoteObjectAMFTest README.md file where you describe steps. I would 
>>>>>>> like
>>>>>>> to have AMF on my list for tests and improvements. Whenever I look into
>>>>>>> that I don't know how to proceed with it.
>>>>>>>
>>>>>>> Thanks, Piotr
>>>>>>>
>>>>>>> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> there's an example that we get it working nicely at:
>>>>>>>>
>>>>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/
>>>>>>>> royale/RemoteObjectAMFTest
>>>>>>>>
>>>>>>>> you can use that as a starting point for your test
>>>>>>>>
>>>>>>>> As well a java web app that is used along that royale client
>>>>>>>> example is at:
>>>>>>>>
>>>>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>>>>>>>
>>>>>>>> thanks
>>>>>>>>
>>>>>>>>
>>>>>>>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>>>>>>>
>>>>>>>>> I have a lot of experience with Flex remoting and BlazeDS with
>>>>>>>>> Java, but with FlexJS and Royale I have none, but extrapolating from 
>>>>>>>>> some
>>>>>>>>> JS tests I've done with AMF at this line: amfTestService.send("get
>>>>>>>>> ShippingMethods", []); you have to call a class in gateway.php
>>>>>>>>> and a method. Your request needs at least 3 properties.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I'm also assuming your JS file and gateway.php are in the same
>>>>>>>>> domain and same port (this gave me problems).
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Take what I said regarding my experience with FlexJS and Royale
>>>>>>>>> into account.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Carlos
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>>>>>>>>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>>>>>>>>
>>>>>>>>> *To:* users@royale.apache.org
>>>>>>>>> *Subject:* Re: RemoteObject
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Script tag was stripped from the post:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> import org.apache.royale.events.MouseEvent;
>>>>>>>>>
>>>>>>>>>  import org.apache.royale.net.events.F
>>>>>>>>> aultEvent;
>>>>>>>>>
>>>>>>>>>  import org.apache.royale.net.events.R
>>>>>>>>> esultEvent;
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  protected function
>>>>>>>>> textbutton_clickHandler(event:org.apache.royale.events.Mouse
>>>>>>>>> Event):void
>>>>>>>>>
>>>>>>>>>  {
>>>>>>>>>
>>>>>>>>>statusLabel.text = "calling...";
>>>>>>>>>
>>>>>>>>>amfTestService.addEventListener("fault",
>>>>>>>>> amfTestService_faultHandler);
>>>>>>>>>
>>>>>>>>>amfTestService.addEventListener(
>>>>>>>>> "result", amfTestService_resultHandler);
>>>>>>>>>
>>>>>>>>>amfTestService.send("getShippi
>>>>>>>>> ngMethods", []);
>>>>>>>>>
>>>>>>>>>  }
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  protected function
>>>>>>>>> amfTestService_faultHandler(event:FaultEvent):void
>>>>>>>>>
>>>>>>>>>  {
>>>>>>>>>
>>>>>>>>>statusLabel.text = "error!";
>>>>>>>>>
>>>>>>>>>  }
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  protected function
>>>>>>>>> amfTestService_resultHandler(event:ResultEvent):void
>>>>>>>>>
>>>>>>>>>  {
>>>>>>>>>
>>>>>>>>>statusLabel.text = "result!";
>>>>>>>>>
>>>>>>>>>  }
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> none of the events are triggered ..URL is
>>>>>>>>> http://winkelbeheer.cityfashion.be/amfphp/gateway.php
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz <
>>>>>>>>> car...@nbtbizcapital.com> wrote:
>>>>>>>>>
>>>>>>>>> I may be blind (and or ignorant as I'm more familiar with Flex)
>>>>>>>>> but where
>>>>>>>>> are you sending an AMF request? I don't see any code that sends a
>>>>>>>>> request to
>>>>>>>>> a service and invokes method.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -Original Message-
>>>>>>>>> From: coxfrederic [mailto:coxfrede...@gmail.com]
>>>>>>>>> Sent: Thursday, January 11, 2018 9:09 PM
>>>>>>>>> To: users@royale.apache.org
>>>>>>>>> Subject: Re: RemoteObject
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>> http://ns.adobe.com/mxml/2009";
>>>>>>>>>xmlns:js="library://ns.apache.org/royale/basic"
>>>>>>>>> >
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> >>>>>>>>
>>>>>>>>> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>>>>>>>>>  destination="Meta"
>>>>>>>>> source="Meta" />
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> >>>>>>>> text="Hello
>>>>>>>>> World!" />
>>>>>>>>> >>>>>>>> click="textbutton_clickHandler(event)" />
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Any idea why I'm not getting a fault nor success event on this?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Carlos Rovira
>>>>>>>> http://about.me/carlosrovira
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Piotr Zarzycki
>>>>>>>
>>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Carlos Rovira
>>>>>> http://about.me/carlosrovira
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Piotr Zarzycki
>>>>>
>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: RemoteObject

2018-02-15 Thread Fréderic Cox
Hi Alex,

I created https://github.com/apache/royale-asjs/issues/119, hope that is in
the correct place and with more readable mark-up.

Regards,

Fréderic

On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui  wrote:

> Hi Frederic,
>
> Where is this output you posted coming from, a network monitor?  It was
> too hard to read, so please create a bug report on GitHub and post it there.
>
> You might be able to use a network monitor to compare what Flex sent vs
> what Royale is sending.  What does your Flex usage of RemoteObject look
> like?
>
> HTH,
> -Alex
>
> From: Fréderic Cox 
> Reply-To: "users@royale.apache.org" 
> Date: Thursday, February 15, 2018 at 5:09 AM
> To: "users@royale.apache.org" 
> Subject: Re: RemoteObject
>
> Hi Piotr,
>
> Thanks, I installed the extension and now I'm not getting the CORS error
> anymore.
> I'm not getting any fault or result event triggered either
>
> The endPoint set is
> https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>
> This is correct, right? (I use this endpoint in Flex and that works fine)
>
>
>1. Request URL:
>   https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
>   
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclients.cityfashion.dev.exuvis.com%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=67VMfKVGZo%2BarMstlt%2BZbX5OdTomYDQNSgM07ycK%2Bvc%3D&reserved=0>
>   2. Request Method:
>   OPTIONS
>   3. Status Code:
>   200 OK
>   4. Remote Address:
>   188.93.153.101:443
>   
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F188.93.153.101%3A443&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=UWqG%2BqQTcL1fTnck9i5BPXmrn3ZlgRf8XCPpQ8EcJrE%3D&reserved=0>
>   5. Referrer Policy:
>   no-referrer-when-downgrade
>   1. Response Headersview source
>   1. Connection:
>   keep-alive
>   2. Content-Encoding:
>   gzip
>   3. Content-Length:
>   286
>   4. Content-Type:
>   text/html; charset=UTF-8
>   5. Date:
>   Thu, 15 Feb 2018 13:08:17 GMT
>   6. Server:
>   nginx
>   7. Vary:
>   Accept-Encoding
>   2. Request Headersview source
>   1. Accept:
>   */*
>   2. Accept-Encoding:
>   gzip, deflate, br
>   3. Accept-Language:
>   en-GB,en-US;q=0.9,en;q=0.8
>   4. Access-Control-Request-Headers:
>   content-type
>   5. Access-Control-Request-Method:
>   POST
>   6. Connection:
>   keep-alive
>   7. Host:
>   clients.cityfashion.dev.exuvis.com
>   
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fclients.cityfashion.dev.exuvis.com&data=02%7C01%7Caharui%40adobe.com%7C3c68ff16e47d4dce093508d5747564fc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542969912666397&sdata=%2BiTohXW1uaTpydtAlGWa0leTvEQKK2Wg6XtN%2FqQ73%2F0%3D&reserved=0>
>   8. Origin:
>   null
>   9. User-Agent:
>   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36
>   (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
>
> Response is:
>
> amfphp and this gateway are installed correctly. You may now connect to
> this gateway from Flash.Note: If you're reading an old tutorial, it
> will tell you that you should see a download window instead of this
> message. This confused people so this is the new behaviour starting from
> amfphp 1.2.View
> the amfphp documentationLoad the service
> browser
>
> Should I target a specific file with the JS version? Should the endPoint
> be different?
>
> On Thu, Feb 15, 2018 at 12:07 PM, Piotr Zarzycki <
> piotrzarzyck...@gmail.com> wrote:
>
>> Frederic,
>>
>> It looks like it is not problem with framework, but rather CORS issue.
>> Maybe try to install this plugin [1] and add to the list your url.
>>
>> [1] https://chrome.google.com/webstore/detail/allow-control-
>> allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchrome.google.com%2Fweb

Re: RemoteObject

2018-02-15 Thread Piotr Zarzycki
rors in compile log:
>>>
>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>> println
>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>> he/royale/reflection/AccessorDefinition.js:12: ERROR - required
>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided yet
>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>> ^^^
>>>
>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>> println
>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>> he/royale/reflection/AccessorDefinition.js:13: ERROR - required
>>> "org.apache.royale.reflection.VariableDefinition" namespace not
>>> provided yet
>>> goog.require('org.apache.royale.reflection.VariableDefinition');
>>> ^^^
>>>
>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>> println
>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>> he/royale/reflection/MethodDefinition.js:14: ERROR - required
>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided yet
>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>> ^^^
>>>
>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>> println
>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>> he/royale/reflection/ParameterDefinition.js:13: ERROR- required
>>> "org.apache.royale.reflection.TypeDefinition" namespace not provided yet
>>> goog.require('org.apache.royale.reflection.TypeDefinition');
>>> ^^^
>>>
>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>> println
>>> SEVERE: /Users/frederic/Desktop/Personal/Web
>>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>>> he/royale/reflection/TypeDefinition.js:15: ERROR - required
>>> "org.apache.royale.reflection.VariableDefinition" namespace not
>>> provided yet
>>> goog.require('org.apache.royale.reflection.VariableDefinition');
>>> ^^^
>>>
>>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>>> printSummary
>>> WARNING: 5 error(s), 0 warning(s)
>>> The project 'HelloRoyale' has been successfully compiled and optimized.
>>> 4.566387 seconds
>>>
>>>
>>> On Mon, Jan 15, 2018 at 7:38 PM, Piotr Zarzycki <
>>> piotrzarzyck...@gmail.com> wrote:
>>>
>>>> Carlos,
>>>>
>>>> No problem. I have also couple of huge things related to Royale to do
>>>> before my hand gets dirty with AMF! :) Unless someone urgently will needed.
>>>> :)
>>>>
>>>> Thanks, Piotr
>>>>
>>>> 2018-01-15 19:27 GMT+01:00 Carlos Rovira :
>>>>
>>>>> Hi Piotr,
>>>>> I'll put this on my to do list, but have to do some things first.
>>>>> thanks
>>>>>
>>>>> 2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :
>>>>>
>>>>>> Hi Carlos,
>>>>>>
>>>>>> Can you describe more how to setup those examples ? Could you add to
>>>>>> RemoteObjectAMFTest README.md file where you describe steps. I would like
>>>>>> to have AMF on my list for tests and improvements. Whenever I look into
>>>>>> that I don't know how to proceed with it.
>>>>>>
>>>>>> Thanks, Piotr
>>>>>>
>>>>>> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> there's an example that we get it working nicely at:
>>>>>>>
>>>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/
>>>>>>> royale/RemoteObjectAMFTest
>>>>>>>
>>>>>>>

Re: RemoteObject

2018-02-15 Thread Fréderic Cox
"org.apache.royale.reflection.VariableDefinition" namespace not provided
>> yet
>> goog.require('org.apache.royale.reflection.VariableDefinition');
>> ^^^
>>
>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>> println
>> SEVERE: /Users/frederic/Desktop/Personal/Web
>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>> he/royale/reflection/MethodDefinition.js:14: ERROR - required
>> "org.apache.royale.reflection.TypeDefinition" namespace not provided yet
>> goog.require('org.apache.royale.reflection.TypeDefinition');
>> ^^^
>>
>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>> println
>> SEVERE: /Users/frederic/Desktop/Personal/Web
>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>> he/royale/reflection/ParameterDefinition.js:13: ERROR- required
>> "org.apache.royale.reflection.TypeDefinition" namespace not provided yet
>> goog.require('org.apache.royale.reflection.TypeDefinition');
>> ^^^
>>
>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>> println
>> SEVERE: /Users/frederic/Desktop/Personal/Web
>> Projects/Workspaces/Royale/HelloRoyale/bin/js-debug/org/apac
>> he/royale/reflection/TypeDefinition.js:15: ERROR - required
>> "org.apache.royale.reflection.VariableDefinition" namespace not provided
>> yet
>> goog.require('org.apache.royale.reflection.VariableDefinition');
>> ^^^
>>
>> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
>> printSummary
>> WARNING: 5 error(s), 0 warning(s)
>> The project 'HelloRoyale' has been successfully compiled and optimized.
>> 4.566387 seconds
>>
>>
>> On Mon, Jan 15, 2018 at 7:38 PM, Piotr Zarzycki <
>> piotrzarzyck...@gmail.com> wrote:
>>
>>> Carlos,
>>>
>>> No problem. I have also couple of huge things related to Royale to do
>>> before my hand gets dirty with AMF! :) Unless someone urgently will needed.
>>> :)
>>>
>>> Thanks, Piotr
>>>
>>> 2018-01-15 19:27 GMT+01:00 Carlos Rovira :
>>>
>>>> Hi Piotr,
>>>> I'll put this on my to do list, but have to do some things first.
>>>> thanks
>>>>
>>>> 2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :
>>>>
>>>>> Hi Carlos,
>>>>>
>>>>> Can you describe more how to setup those examples ? Could you add to
>>>>> RemoteObjectAMFTest README.md file where you describe steps. I would like
>>>>> to have AMF on my list for tests and improvements. Whenever I look into
>>>>> that I don't know how to proceed with it.
>>>>>
>>>>> Thanks, Piotr
>>>>>
>>>>> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> there's an example that we get it working nicely at:
>>>>>>
>>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/
>>>>>> royale/RemoteObjectAMFTest
>>>>>>
>>>>>> you can use that as a starting point for your test
>>>>>>
>>>>>> As well a java web app that is used along that royale client example
>>>>>> is at:
>>>>>>
>>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>>>>>
>>>>>> thanks
>>>>>>
>>>>>>
>>>>>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>>>>>
>>>>>>> I have a lot of experience with Flex remoting and BlazeDS with Java,
>>>>>>> but with FlexJS and Royale I have none, but extrapolating from some JS
>>>>>>> tests I've done with AMF at this line: amfTestService.send("get
>>>>>>> ShippingMethods", []); you have to call a class in gateway.php and
>>>>>>> a method. Your request needs at least 3 properties.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I'm also assuming your JS file and gateway.php ar

Re: RemoteObject

2018-02-15 Thread Gabe Harbs
Make sure you use the -remove-circulars option.

> On Feb 15, 2018, at 1:04 PM, Fréderic Cox  wrote:
> 
> It is able to compile and run regardless of the errors in compile log:
> 



Re: RemoteObject

2018-02-15 Thread Fréderic Cox
x27;org.apache.royale.reflection.VariableDefinition');
> ^^^
>
> Feb 15, 2018 11:51:04 AM com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> WARNING: 5 error(s), 0 warning(s)
> The project 'HelloRoyale' has been successfully compiled and optimized.
> 4.566387 seconds
>
>
> On Mon, Jan 15, 2018 at 7:38 PM, Piotr Zarzycki  > wrote:
>
>> Carlos,
>>
>> No problem. I have also couple of huge things related to Royale to do
>> before my hand gets dirty with AMF! :) Unless someone urgently will needed.
>> :)
>>
>> Thanks, Piotr
>>
>> 2018-01-15 19:27 GMT+01:00 Carlos Rovira :
>>
>>> Hi Piotr,
>>> I'll put this on my to do list, but have to do some things first.
>>> thanks
>>>
>>> 2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :
>>>
>>>> Hi Carlos,
>>>>
>>>> Can you describe more how to setup those examples ? Could you add to
>>>> RemoteObjectAMFTest README.md file where you describe steps. I would like
>>>> to have AMF on my list for tests and improvements. Whenever I look into
>>>> that I don't know how to proceed with it.
>>>>
>>>> Thanks, Piotr
>>>>
>>>> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>>>>
>>>>> Hi,
>>>>>
>>>>> there's an example that we get it working nicely at:
>>>>>
>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/
>>>>> royale/RemoteObjectAMFTest
>>>>>
>>>>> you can use that as a starting point for your test
>>>>>
>>>>> As well a java web app that is used along that royale client example
>>>>> is at:
>>>>>
>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>>>>
>>>>> thanks
>>>>>
>>>>>
>>>>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>>>>
>>>>>> I have a lot of experience with Flex remoting and BlazeDS with Java,
>>>>>> but with FlexJS and Royale I have none, but extrapolating from some JS
>>>>>> tests I've done with AMF at this line: amfTestService.send("get
>>>>>> ShippingMethods", []); you have to call a class in gateway.php and a
>>>>>> method. Your request needs at least 3 properties.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I'm also assuming your JS file and gateway.php are in the same domain
>>>>>> and same port (this gave me problems).
>>>>>>
>>>>>>
>>>>>>
>>>>>> Take what I said regarding my experience with FlexJS and Royale into
>>>>>> account.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Carlos
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>>>>>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>>>>>
>>>>>> *To:* users@royale.apache.org
>>>>>> *Subject:* Re: RemoteObject
>>>>>>
>>>>>>
>>>>>>
>>>>>> Script tag was stripped from the post:
>>>>>>
>>>>>>
>>>>>>
>>>>>> import org.apache.royale.events.MouseEvent;
>>>>>>
>>>>>>  import org.apache.royale.net.events.FaultEvent;
>>>>>>
>>>>>>  import org.apache.royale.net.events.ResultEvent;
>>>>>>
>>>>>>
>>>>>>
>>>>>>  protected function
>>>>>> textbutton_clickHandler(event:org.apache.royale.events.MouseEvent):
>>>>>> void
>>>>>>
>>>>>>  {
>>>>>>
>>>>>>statusLabel.text = "calling...";
>>>>>>
>>>>>>amfTestService.addEventListener("fault",
>>>>>> amfTestService_faultHandler);
>>>>>>
>>>>>>amfTestService.addEventListener("result",
>>>>>>

Re: RemoteObject

2018-02-15 Thread Piotr Zarzycki
>> Thanks, Piotr
>>
>> 2018-01-15 19:27 GMT+01:00 Carlos Rovira :
>>
>>> Hi Piotr,
>>> I'll put this on my to do list, but have to do some things first.
>>> thanks
>>>
>>> 2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :
>>>
>>>> Hi Carlos,
>>>>
>>>> Can you describe more how to setup those examples ? Could you add to
>>>> RemoteObjectAMFTest README.md file where you describe steps. I would like
>>>> to have AMF on my list for tests and improvements. Whenever I look into
>>>> that I don't know how to proceed with it.
>>>>
>>>> Thanks, Piotr
>>>>
>>>> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>>>>
>>>>> Hi,
>>>>>
>>>>> there's an example that we get it working nicely at:
>>>>>
>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/
>>>>> royale/RemoteObjectAMFTest
>>>>>
>>>>> you can use that as a starting point for your test
>>>>>
>>>>> As well a java web app that is used along that royale client example
>>>>> is at:
>>>>>
>>>>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>>>>
>>>>> thanks
>>>>>
>>>>>
>>>>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>>>>
>>>>>> I have a lot of experience with Flex remoting and BlazeDS with Java,
>>>>>> but with FlexJS and Royale I have none, but extrapolating from some JS
>>>>>> tests I've done with AMF at this line: amfTestService.send("get
>>>>>> ShippingMethods", []); you have to call a class in gateway.php and a
>>>>>> method. Your request needs at least 3 properties.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I'm also assuming your JS file and gateway.php are in the same domain
>>>>>> and same port (this gave me problems).
>>>>>>
>>>>>>
>>>>>>
>>>>>> Take what I said regarding my experience with FlexJS and Royale into
>>>>>> account.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Carlos
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>>>>>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>>>>>
>>>>>> *To:* users@royale.apache.org
>>>>>> *Subject:* Re: RemoteObject
>>>>>>
>>>>>>
>>>>>>
>>>>>> Script tag was stripped from the post:
>>>>>>
>>>>>>
>>>>>>
>>>>>> import org.apache.royale.events.MouseEvent;
>>>>>>
>>>>>>  import org.apache.royale.net.events.FaultEvent;
>>>>>>
>>>>>>  import org.apache.royale.net.events.ResultEvent;
>>>>>>
>>>>>>
>>>>>>
>>>>>>  protected function
>>>>>> textbutton_clickHandler(event:org.apache.royale.events.MouseEvent):
>>>>>> void
>>>>>>
>>>>>>  {
>>>>>>
>>>>>>statusLabel.text = "calling...";
>>>>>>
>>>>>>amfTestService.addEventListener("fault",
>>>>>> amfTestService_faultHandler);
>>>>>>
>>>>>>amfTestService.addEventListener("result",
>>>>>> amfTestService_resultHandler);
>>>>>>
>>>>>>amfTestService.send("getShippingMethods",
>>>>>> []);
>>>>>>
>>>>>>  }
>>>>>>
>>>>>>
>>>>>>
>>>>>>  protected function
>>>>>> amfTestService_faultHandler(event:FaultEvent):void
>>>>>>
>>>>>>  {
>>>>>>
>>>>>>statusLabel.text = "error!";

Re: RemoteObject

2018-02-15 Thread Fréderic Cox
evelop/examples/
>>>> royale/RemoteObjectAMFTest
>>>>
>>>> you can use that as a starting point for your test
>>>>
>>>> As well a java web app that is used along that royale client example is
>>>> at:
>>>>
>>>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>>>
>>>> thanks
>>>>
>>>>
>>>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>>>
>>>>> I have a lot of experience with Flex remoting and BlazeDS with Java,
>>>>> but with FlexJS and Royale I have none, but extrapolating from some JS
>>>>> tests I've done with AMF at this line: amfTestService.send("get
>>>>> ShippingMethods", []); you have to call a class in gateway.php and a
>>>>> method. Your request needs at least 3 properties.
>>>>>
>>>>>
>>>>>
>>>>> I'm also assuming your JS file and gateway.php are in the same domain
>>>>> and same port (this gave me problems).
>>>>>
>>>>>
>>>>>
>>>>> Take what I said regarding my experience with FlexJS and Royale into
>>>>> account.
>>>>>
>>>>>
>>>>>
>>>>> Carlos
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>>>>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>>>>
>>>>> *To:* users@royale.apache.org
>>>>> *Subject:* Re: RemoteObject
>>>>>
>>>>>
>>>>>
>>>>> Script tag was stripped from the post:
>>>>>
>>>>>
>>>>>
>>>>> import org.apache.royale.events.MouseEvent;
>>>>>
>>>>>  import org.apache.royale.net.events.FaultEvent;
>>>>>
>>>>>  import org.apache.royale.net.events.ResultEvent;
>>>>>
>>>>>
>>>>>
>>>>>  protected function textbutton_clickHandler(event:
>>>>> org.apache.royale.events.MouseEvent):void
>>>>>
>>>>>  {
>>>>>
>>>>>statusLabel.text = "calling...";
>>>>>
>>>>>amfTestService.addEventListener("fault",
>>>>> amfTestService_faultHandler);
>>>>>
>>>>>amfTestService.addEventListener("result",
>>>>> amfTestService_resultHandler);
>>>>>
>>>>>amfTestService.send("getShippingMethods",
>>>>> []);
>>>>>
>>>>>  }
>>>>>
>>>>>
>>>>>
>>>>>  protected function amfTestService_faultHandler(ev
>>>>> ent:FaultEvent):void
>>>>>
>>>>>  {
>>>>>
>>>>>statusLabel.text = "error!";
>>>>>
>>>>>  }
>>>>>
>>>>>
>>>>>
>>>>>  protected function amfTestService_resultHandler(e
>>>>> vent:ResultEvent):void
>>>>>
>>>>>  {
>>>>>
>>>>>statusLabel.text = "result!";
>>>>>
>>>>>  }
>>>>>
>>>>>
>>>>>
>>>>> none of the events are triggered ..URL is http://winkelbeheer.cityfas
>>>>> hion.be/amfphp/gateway.php
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz 
>>>>> wrote:
>>>>>
>>>>> I may be blind (and or ignorant as I'm more familiar with Flex) but
>>>>> where
>>>>> are you sending an AMF request? I don't see any code that sends a
>>>>> request to
>>>>> a service and invokes method.
>>>>>
>>>>>
>>>>> -Original Message-
>>>>> From: coxfrederic [mailto:coxfrede...@gmail.com]
>>>>> Sent: Thursday, January 11, 2018 9:09 PM
>>>>> To: users@royale.apache.org
>>>>> Subject: Re: RemoteObject
>>>>>
>>>>> 
>>>>>
>>>>> http://ns.adobe.com/mxml/2009";
>>>>>xmlns:js="library://ns.apache.org/royale/basic" >
>>>>> 
>>>>>
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>
>>>>> 
>>>>> 
>>>>> >>>>
>>>>> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>>>>>  destination="Meta"
>>>>> source="Meta" />
>>>>> 
>>>>>
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> >>>> click="textbutton_clickHandler(event)" />
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>
>>>>>
>>>>> Any idea why I'm not getting a fault nor success event on this?
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Carlos Rovira
>>>> http://about.me/carlosrovira
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


Re: RemoteObject

2018-01-15 Thread Piotr Zarzycki
Carlos,

No problem. I have also couple of huge things related to Royale to do
before my hand gets dirty with AMF! :) Unless someone urgently will needed.
:)

Thanks, Piotr

2018-01-15 19:27 GMT+01:00 Carlos Rovira :

> Hi Piotr,
> I'll put this on my to do list, but have to do some things first.
> thanks
>
> 2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :
>
>> Hi Carlos,
>>
>> Can you describe more how to setup those examples ? Could you add to
>> RemoteObjectAMFTest README.md file where you describe steps. I would like
>> to have AMF on my list for tests and improvements. Whenever I look into
>> that I don't know how to proceed with it.
>>
>> Thanks, Piotr
>>
>> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>>
>>> Hi,
>>>
>>> there's an example that we get it working nicely at:
>>>
>>> https://github.com/apache/royale-asjs/tree/develop/examples/
>>> royale/RemoteObjectAMFTest
>>>
>>> you can use that as a starting point for your test
>>>
>>> As well a java web app that is used along that royale client example is
>>> at:
>>>
>>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>>
>>> thanks
>>>
>>>
>>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>>
>>>> I have a lot of experience with Flex remoting and BlazeDS with Java,
>>>> but with FlexJS and Royale I have none, but extrapolating from some JS
>>>> tests I've done with AMF at this line: amfTestService.send("get
>>>> ShippingMethods", []); you have to call a class in gateway.php and a
>>>> method. Your request needs at least 3 properties.
>>>>
>>>>
>>>>
>>>> I'm also assuming your JS file and gateway.php are in the same domain
>>>> and same port (this gave me problems).
>>>>
>>>>
>>>>
>>>> Take what I said regarding my experience with FlexJS and Royale into
>>>> account.
>>>>
>>>>
>>>>
>>>> Carlos
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>>>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>>>
>>>> *To:* users@royale.apache.org
>>>> *Subject:* Re: RemoteObject
>>>>
>>>>
>>>>
>>>> Script tag was stripped from the post:
>>>>
>>>>
>>>>
>>>> import org.apache.royale.events.MouseEvent;
>>>>
>>>>  import org.apache.royale.net.events.FaultEvent;
>>>>
>>>>  import org.apache.royale.net.events.ResultEvent;
>>>>
>>>>
>>>>
>>>>  protected function textbutton_clickHandler(event:
>>>> org.apache.royale.events.MouseEvent):void
>>>>
>>>>  {
>>>>
>>>>statusLabel.text = "calling...";
>>>>
>>>>amfTestService.addEventListener("fault",
>>>> amfTestService_faultHandler);
>>>>
>>>>amfTestService.addEventListener("result",
>>>> amfTestService_resultHandler);
>>>>
>>>>amfTestService.send("getShippingMethods",
>>>> []);
>>>>
>>>>  }
>>>>
>>>>
>>>>
>>>>  protected function amfTestService_faultHandler(ev
>>>> ent:FaultEvent):void
>>>>
>>>>  {
>>>>
>>>>statusLabel.text = "error!";
>>>>
>>>>  }
>>>>
>>>>
>>>>
>>>>  protected function amfTestService_resultHandler(e
>>>> vent:ResultEvent):void
>>>>
>>>>  {
>>>>
>>>>statusLabel.text = "result!";
>>>>
>>>>  }
>>>>
>>>>
>>>>
>>>> none of the events are triggered ..URL is http://winkelbeheer.cityfas
>>>> hion.be/amfphp/gateway.php
>>>>
>>>>
>>>>
>>>> On Fri, Jan 12, 2018 at 4:55 AM,

Re: RemoteObject

2018-01-15 Thread Carlos Rovira
Hi Piotr,
I'll put this on my to do list, but have to do some things first.
thanks

2018-01-15 9:26 GMT+01:00 Piotr Zarzycki :

> Hi Carlos,
>
> Can you describe more how to setup those examples ? Could you add to
> RemoteObjectAMFTest README.md file where you describe steps. I would like
> to have AMF on my list for tests and improvements. Whenever I look into
> that I don't know how to proceed with it.
>
> Thanks, Piotr
>
> 2018-01-15 9:21 GMT+01:00 Carlos Rovira :
>
>> Hi,
>>
>> there's an example that we get it working nicely at:
>>
>> https://github.com/apache/royale-asjs/tree/develop/examples/
>> royale/RemoteObjectAMFTest
>>
>> you can use that as a starting point for your test
>>
>> As well a java web app that is used along that royale client example is
>> at:
>>
>> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>>
>> thanks
>>
>>
>> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>>
>>> I have a lot of experience with Flex remoting and BlazeDS with Java, but
>>> with FlexJS and Royale I have none, but extrapolating from some JS tests
>>> I've done with AMF at this line: amfTestService.send("get
>>> ShippingMethods", []); you have to call a class in gateway.php and a
>>> method. Your request needs at least 3 properties.
>>>
>>>
>>>
>>> I'm also assuming your JS file and gateway.php are in the same domain
>>> and same port (this gave me problems).
>>>
>>>
>>>
>>> Take what I said regarding my experience with FlexJS and Royale into
>>> account.
>>>
>>>
>>>
>>> Carlos
>>>
>>>
>>>
>>>
>>>
>>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>>
>>> *To:* users@royale.apache.org
>>> *Subject:* Re: RemoteObject
>>>
>>>
>>>
>>> Script tag was stripped from the post:
>>>
>>>
>>>
>>> import org.apache.royale.events.MouseEvent;
>>>
>>>  import org.apache.royale.net.events.FaultEvent;
>>>
>>>  import org.apache.royale.net.events.ResultEvent;
>>>
>>>
>>>
>>>  protected function textbutton_clickHandler(event:
>>> org.apache.royale.events.MouseEvent):void
>>>
>>>  {
>>>
>>>statusLabel.text = "calling...";
>>>
>>>amfTestService.addEventListener("fault",
>>> amfTestService_faultHandler);
>>>
>>>amfTestService.addEventListener("result",
>>> amfTestService_resultHandler);
>>>
>>>amfTestService.send("getShippingMethods",
>>> []);
>>>
>>>  }
>>>
>>>
>>>
>>>  protected function amfTestService_faultHandler(ev
>>> ent:FaultEvent):void
>>>
>>>  {
>>>
>>>statusLabel.text = "error!";
>>>
>>>  }
>>>
>>>
>>>
>>>  protected function amfTestService_resultHandler(e
>>> vent:ResultEvent):void
>>>
>>>  {
>>>
>>>statusLabel.text = "result!";
>>>
>>>  }
>>>
>>>
>>>
>>> none of the events are triggered ..URL is http://winkelbeheer.cityfas
>>> hion.be/amfphp/gateway.php
>>>
>>>
>>>
>>> On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz 
>>> wrote:
>>>
>>> I may be blind (and or ignorant as I'm more familiar with Flex) but where
>>> are you sending an AMF request? I don't see any code that sends a
>>> request to
>>> a service and invokes method.
>>>
>>>
>>> -Original Message-
>>> From: coxfrederic [mailto:coxfrede...@gmail.com]
>>> Sent: Thursday, January 11, 2018 9:09 PM
>>> To: users@royale.apache.org
>>> Subject: Re: RemoteObject
>>>
>>> 
>>>
>>> http://ns.adobe.com/mxml/2009";
>>>xmlns:js="library://ns.apache.org/royale/basic" >
>>> 
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>> >>
>>> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>>>  destination="Meta"
>>> source="Meta" />
>>> 
>>>
>>> 
>>> 
>>> 
>>> 
>>> >> click="textbutton_clickHandler(event)" />
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> Any idea why I'm not getting a fault nor success event on this?
>>>
>>>
>>>
>>> --
>>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>>
>>>
>>>
>>
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



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


Re: RemoteObject

2018-01-15 Thread Piotr Zarzycki
Hi Carlos,

Can you describe more how to setup those examples ? Could you add to
RemoteObjectAMFTest README.md file where you describe steps. I would like
to have AMF on my list for tests and improvements. Whenever I look into
that I don't know how to proceed with it.

Thanks, Piotr

2018-01-15 9:21 GMT+01:00 Carlos Rovira :

> Hi,
>
> there's an example that we get it working nicely at:
>
> https://github.com/apache/royale-asjs/tree/develop/examples/royale/
> RemoteObjectAMFTest
>
> you can use that as a starting point for your test
>
> As well a java web app that is used along that royale client example is at:
>
> https://github.com/apache/royale-asjs/tree/develop/examples/amf
>
> thanks
>
>
> 2018-01-15 3:56 GMT+01:00 Carlos Cruz :
>
>> I have a lot of experience with Flex remoting and BlazeDS with Java, but
>> with FlexJS and Royale I have none, but extrapolating from some JS tests
>> I've done with AMF at this line: amfTestService.send("getShippingMethods",
>> []); you have to call a class in gateway.php and a method. Your request
>> needs at least 3 properties.
>>
>>
>>
>> I'm also assuming your JS file and gateway.php are in the same domain and
>> same port (this gave me problems).
>>
>>
>>
>> Take what I said regarding my experience with FlexJS and Royale into
>> account.
>>
>>
>>
>> Carlos
>>
>>
>>
>>
>>
>> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
>> *Sent:* Sunday, January 14, 2018 4:01 PM
>>
>> *To:* users@royale.apache.org
>> *Subject:* Re: RemoteObject
>>
>>
>>
>> Script tag was stripped from the post:
>>
>>
>>
>> import org.apache.royale.events.MouseEvent;
>>
>>  import org.apache.royale.net.events.FaultEvent;
>>
>>  import org.apache.royale.net.events.ResultEvent;
>>
>>
>>
>>  protected function textbutton_clickHandler(event:
>> org.apache.royale.events.MouseEvent):void
>>
>>  {
>>
>>statusLabel.text = "calling...";
>>
>>amfTestService.addEventListener("fault",
>> amfTestService_faultHandler);
>>
>>amfTestService.addEventListener("result",
>> amfTestService_resultHandler);
>>
>>amfTestService.send("getShippingMethods", []);
>>
>>  }
>>
>>
>>
>>  protected function amfTestService_faultHandler(ev
>> ent:FaultEvent):void
>>
>>  {
>>
>>statusLabel.text = "error!";
>>
>>  }
>>
>>
>>
>>  protected function amfTestService_resultHandler(e
>> vent:ResultEvent):void
>>
>>  {
>>
>>statusLabel.text = "result!";
>>
>>  }
>>
>>
>>
>> none of the events are triggered ..URL is http://winkelbeheer.cityfas
>> hion.be/amfphp/gateway.php
>>
>>
>>
>> On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz 
>> wrote:
>>
>> I may be blind (and or ignorant as I'm more familiar with Flex) but where
>> are you sending an AMF request? I don't see any code that sends a request
>> to
>> a service and invokes method.
>>
>>
>> -Original Message-
>> From: coxfrederic [mailto:coxfrede...@gmail.com]
>> Sent: Thursday, January 11, 2018 9:09 PM
>> To: users@royale.apache.org
>> Subject: Re: RemoteObject
>>
>> 
>>
>> http://ns.adobe.com/mxml/2009";
>>xmlns:js="library://ns.apache.org/royale/basic" >
>> 
>>
>> 
>> 
>> 
>> 
>>
>> 
>> 
>> >
>> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>>  destination="Meta"
>> source="Meta" />
>> 
>>
>> 
>> 
>> 
>> 
>> > click="textbutton_clickHandler(event)" />
>> 
>> 
>> 
>> 
>>
>>
>> Any idea why I'm not getting a fault nor success event on this?
>>
>>
>>
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
>>
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*


Re: RemoteObject

2018-01-15 Thread Carlos Rovira
Hi,

there's an example that we get it working nicely at:

https://github.com/apache/royale-asjs/tree/develop/examples/royale/RemoteObjectAMFTest

you can use that as a starting point for your test

As well a java web app that is used along that royale client example is at:

https://github.com/apache/royale-asjs/tree/develop/examples/amf

thanks


2018-01-15 3:56 GMT+01:00 Carlos Cruz :

> I have a lot of experience with Flex remoting and BlazeDS with Java, but
> with FlexJS and Royale I have none, but extrapolating from some JS tests
> I've done with AMF at this line: amfTestService.send("getShippingMethods",
> []); you have to call a class in gateway.php and a method. Your request
> needs at least 3 properties.
>
>
>
> I'm also assuming your JS file and gateway.php are in the same domain and
> same port (this gave me problems).
>
>
>
> Take what I said regarding my experience with FlexJS and Royale into
> account.
>
>
>
> Carlos
>
>
>
>
>
> *From:* Fréderic Cox [mailto:coxfrede...@gmail.com]
> *Sent:* Sunday, January 14, 2018 4:01 PM
>
> *To:* users@royale.apache.org
> *Subject:* Re: RemoteObject
>
>
>
> Script tag was stripped from the post:
>
>
>
> import org.apache.royale.events.MouseEvent;
>
>  import org.apache.royale.net.events.FaultEvent;
>
>  import org.apache.royale.net.events.ResultEvent;
>
>
>
>  protected function textbutton_clickHandler(event:
> org.apache.royale.events.MouseEvent):void
>
>  {
>
>statusLabel.text = "calling...";
>
>amfTestService.addEventListener("fault",
> amfTestService_faultHandler);
>
>amfTestService.addEventListener("result",
> amfTestService_resultHandler);
>
>amfTestService.send("getShippingMethods", []);
>
>  }
>
>
>
>  protected function amfTestService_faultHandler(
> event:FaultEvent):void
>
>  {
>
>statusLabel.text = "error!";
>
>  }
>
>
>
>  protected function amfTestService_resultHandler(
> event:ResultEvent):void
>
>  {
>
>statusLabel.text = "result!";
>
>  }
>
>
>
> none of the events are triggered ..URL is http://winkelbeheer.
> cityfashion.be/amfphp/gateway.php
>
>
>
> On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz 
> wrote:
>
> I may be blind (and or ignorant as I'm more familiar with Flex) but where
> are you sending an AMF request? I don't see any code that sends a request
> to
> a service and invokes method.
>
>
> -Original Message-
> From: coxfrederic [mailto:coxfrede...@gmail.com]
> Sent: Thursday, January 11, 2018 9:09 PM
> To: users@royale.apache.org
> Subject: Re: RemoteObject
>
> 
>
> http://ns.adobe.com/mxml/2009";
>xmlns:js="library://ns.apache.org/royale/basic" >
> 
>
> 
> 
> 
> 
>
> 
> 
> 
> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>  destination="Meta"
> source="Meta" />
> 
>
> 
> 
> 
> 
>  click="textbutton_clickHandler(event)" />
> 
> 
> 
> 
>
>
> Any idea why I'm not getting a fault nor success event on this?
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>
>
>



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


RE: RemoteObject

2018-01-14 Thread Carlos Cruz
I have a lot of experience with Flex remoting and BlazeDS with Java, but with 
FlexJS and Royale I have none, but extrapolating from some JS tests I've done 
with AMF at this line: amfTestService.send("getShippingMethods", []); you have 
to call a class in gateway.php and a method. Your request needs at least 3 
properties. 

 

I'm also assuming your JS file and gateway.php are in the same domain and same 
port (this gave me problems).

 

Take what I said regarding my experience with FlexJS and Royale into account. 

 

Carlos 

 

 

From: Fréderic Cox [mailto:coxfrede...@gmail.com] 
Sent: Sunday, January 14, 2018 4:01 PM
To: users@royale.apache.org
Subject: Re: RemoteObject

 

Script tag was stripped from the post:

 

import org.apache.royale.events.MouseEvent;

 import org.apache.royale.net.events.FaultEvent;

 import org.apache.royale.net.events.ResultEvent;

 

 protected function 
textbutton_clickHandler(event:org.apache.royale.events.MouseEvent):void

 {

   statusLabel.text = "calling...";

   amfTestService.addEventListener("fault", 
amfTestService_faultHandler);

   amfTestService.addEventListener("result", 
amfTestService_resultHandler);

   amfTestService.send("getShippingMethods", []);

 }

 

 protected function 
amfTestService_faultHandler(event:FaultEvent):void

 {

   statusLabel.text = "error!";

 }

 

 protected function 
amfTestService_resultHandler(event:ResultEvent):void

 {

   statusLabel.text = "result!";

 }

 

none of the events are triggered ..URL is 
http://winkelbeheer.cityfashion.be/amfphp/gateway.php

 

On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz mailto:car...@nbtbizcapital.com> > wrote:

I may be blind (and or ignorant as I'm more familiar with Flex) but where
are you sending an AMF request? I don't see any code that sends a request to
a service and invokes method.


-Original Message-
From: coxfrederic [mailto:coxfrede...@gmail.com <mailto:coxfrede...@gmail.com> ]
Sent: Thursday, January 11, 2018 9:09 PM
To: users@royale.apache.org <mailto:users@royale.apache.org> 
Subject: Re: RemoteObject



http://ns.adobe.com/mxml/2009";
   xmlns:js="library://ns.apache.org/royale/basic 
<http://ns.apache.org/royale/basic> " >









http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
 destination="Meta"
source="Meta" />













Any idea why I'm not getting a fault nor success event on this?



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

 



Re: RemoteObject

2018-01-14 Thread Fréderic Cox
Script tag was stripped from the post:

import org.apache.royale.events.MouseEvent;

import org.apache.royale.net.events.FaultEvent;

import org.apache.royale.net.events.ResultEvent;

protected function
textbutton_clickHandler(event:org.apache.royale.events.MouseEvent):void

{

statusLabel.text = "calling...";

amfTestService.addEventListener("fault", amfTestService_faultHandler);

amfTestService.addEventListener("result", amfTestService_resultHandler);

amfTestService.send("getShippingMethods", []);

}

protected function amfTestService_faultHandler(event:FaultEvent):void

{

statusLabel.text = "error!";

}

protected function amfTestService_resultHandler(event:ResultEvent):void

{

statusLabel.text = "result!";

}


none of the events are triggered ..URL is
http://winkelbeheer.cityfashion.be/amfphp/gateway.php

On Fri, Jan 12, 2018 at 4:55 AM, Carlos Cruz 
wrote:

> I may be blind (and or ignorant as I'm more familiar with Flex) but where
> are you sending an AMF request? I don't see any code that sends a request
> to
> a service and invokes method.
>
> -Original Message-
> From: coxfrederic [mailto:coxfrede...@gmail.com]
> Sent: Thursday, January 11, 2018 9:09 PM
> To: users@royale.apache.org
> Subject: Re: RemoteObject
>
> 
>
> http://ns.adobe.com/mxml/2009";
>xmlns:js="library://ns.apache.org/royale/basic" >
> 
>
> 
> 
> 
> 
>
> 
> 
> 
> endPoint="http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
>  destination="Meta"
> source="Meta" />
> 
>
> 
> 
> 
> 
>  click="textbutton_clickHandler(event)" />
> 
> 
> 
> 
>
>
> Any idea why I'm not getting a fault nor success event on this?
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>
>


RE: RemoteObject

2018-01-11 Thread Carlos Cruz
I may be blind (and or ignorant as I'm more familiar with Flex) but where
are you sending an AMF request? I don't see any code that sends a request to
a service and invokes method.

-Original Message-
From: coxfrederic [mailto:coxfrede...@gmail.com] 
Sent: Thursday, January 11, 2018 9:09 PM
To: users@royale.apache.org
Subject: Re: RemoteObject



http://ns.adobe.com/mxml/2009";
   xmlns:js="library://ns.apache.org/royale/basic" >









http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
 destination="Meta"
source="Meta" />













Any idea why I'm not getting a fault nor success event on this?



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



Re: RemoteObject

2018-01-11 Thread Alex Harui
Frederic,

First try the example and see if it works for you.

Thanks,
-Alex

On 1/11/18, 6:08 PM, "coxfrederic"  wrote:

>
>
>xmlns:fx="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F
>ns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Cd2a52573481
>246bf83f108d5596167cf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365131
>97241678407&sdata=nutBqftmr757Oj1lZYmBqqp0C4%2FXPXdryh4oQ4Lv%2BjM%3D&reser
>ved=0"
>   xmlns:js="library://ns.apache.org/royale/basic" >
>   
>   
>   
>
>
>
>   
>   
>   
>   
>endPoint="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F
>winkelbeheer.cityfashion.be%2Famfphp%2Fgateway.php&data=02%7C01%7Caharui%4
>0adobe.com%7Cd2a52573481246bf83f108d5596167cf%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636513197241678407&sdata=JOL88Cb4qcfLYrZUtxibBsZBKKL5pdmX
>JlT%2FES5ud%2FE%3D&reserved=0"
>destination="Meta" 
> source="Meta" />
>   
>   
>
>
>   
>/>
>   click="textbutton_clickHandler(event)" />
>   
>
>
>
>
>
>Any idea why I'm not getting a fault nor success event on this?
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cd2a52
>573481246bf83f108d5596167cf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36513197241678407&sdata=h31z3qgccQhh%2BB6noV9kmSwDXOUOc%2Bd54BTowqHpe0A%3D
>&reserved=0



Re: RemoteObject

2018-01-11 Thread coxfrederic


http://ns.adobe.com/mxml/2009";
   xmlns:js="library://ns.apache.org/royale/basic" >









http://winkelbeheer.cityfashion.be/amfphp/gateway.php";
 destination="Meta" 
source="Meta" />













Any idea why I'm not getting a fault nor success event on this?



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


Re: RemoteObject

2017-11-16 Thread Alex Harui
Hi Carlos,

How to use WebSockets in Royale will depend on how you want to write your code. 
 If you want to have a functionally equivalent SWF version of your Royale app 
(a good idea of you used Flex modules), you probably want to create a library 
that abstracts the SharedObject code on Flash and WebSocket code in JS under 
some common API.  If you don't need a SWF version of your app, you can just use 
the WebSocket API if your app is configured to use js.swc instead of 
playerglobal.swc or airglobal.swc.

HTH,
-Alex

From: Carlos Cruz mailto:car...@nbtbizcapital.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Date: Thursday, November 16, 2017 at 11:15 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" 
mailto:users@royale.apache.org>>
Subject: RE: RemoteObject

Thanks Carlos and Doug for the information I will try to get it going and share 
some preliminary results hopefully by early next week.

Another question that pops into my head regarding my project; currently I use 
“SharedObject” for synchronous communications with Red5 server for our 
telephony module. Since I’m trying to eliminate the dependency on Red5 I’m 
contemplating using websockets (html5 or atmosphere), can anyone tell me how I 
can use WebSockets from Royale?

Thx!
Carlos

From: carlos.rov...@gmail.com<mailto:carlos.rov...@gmail.com> 
[mailto:carlos.rov...@gmail.com] On Behalf Of Carlos Rovira
Sent: Thursday, November 16, 2017 6:44 AM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: RemoteObject

Hi Carlos,

along with the RemoteObject classes that Doug said you can check the example at 
:

- Royale client: /royale-asjs/examples/royale/RemoteObjectAMFTest
- Royale java: /royale-asjs/examples/amf/SampleAmfWebApp

I already tried string, numbers, collection with value objects with success, 
but still didn't try in real app where some last detail problems could emerge.

Please as you use it, let us know if you find any problems and if you find any 
fill an issue in github

Thanks!



2017-11-16 6:58 GMT+01:00 doug777 
mailto:doug777...@gmail.com>>:
Remote object is here

https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/Network/src/main/royale/org/apache/royale/net<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fframeworks%2Fprojects%2FNetwork%2Fsrc%2Fmain%2Froyale%2Forg%2Fapache%2Froyale%2Fnet&data=02%7C01%7C%7C60c292d6b47d4b104d5e08d52d267f1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636464565720533272&sdata=40Cx1o%2F1hmf4tfAwG9m2VzxeU%2Ba2wyr4UVKUVe%2FYOZU%3D&reserved=0>

Doug



--
Sent from: 
http://apache-royale-users.20374.n8.nabble.com/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7C%7C60c292d6b47d4b104d5e08d52d267f1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636464565720533272&sdata=%2BBppWlCfS2MFzySX6uSjRjZvoAoOiuJMxIGMd3n4l5k%3D&reserved=0>



--
Carlos Rovira
http://about.me/carlosrovira<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7C%7C60c292d6b47d4b104d5e08d52d267f1f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636464565720533272&sdata=A2zPcKw%2Fngtd5SGRCRokeoNsS%2Fq6haV2l9%2FHcQfIIpE%3D&reserved=0>



RE: RemoteObject

2017-11-16 Thread Carlos Cruz
Thanks Carlos and Doug for the information I will try to get it going and share 
some preliminary results hopefully by early next week.

 

Another question that pops into my head regarding my project; currently I use 
“SharedObject” for synchronous communications with Red5 server for our 
telephony module. Since I’m trying to eliminate the dependency on Red5 I’m 
contemplating using websockets (html5 or atmosphere), can anyone tell me how I 
can use WebSockets from Royale? 

 

Thx!

Carlos

 

From: carlos.rov...@gmail.com [mailto:carlos.rov...@gmail.com] On Behalf Of 
Carlos Rovira
Sent: Thursday, November 16, 2017 6:44 AM
To: users@royale.apache.org
Subject: Re: RemoteObject

 

Hi Carlos,

 

along with the RemoteObject classes that Doug said you can check the example at 
:

 

- Royale client: /royale-asjs/examples/royale/RemoteObjectAMFTest

- Royale java: /royale-asjs/examples/amf/SampleAmfWebApp

 

I already tried string, numbers, collection with value objects with success, 
but still didn't try in real app where some last detail problems could emerge.

 

Please as you use it, let us know if you find any problems and if you find any 
fill an issue in github

 

Thanks!

 

 

 

2017-11-16 6:58 GMT+01:00 doug777 mailto:doug777...@gmail.com> >:

Remote object is here

https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/Network/src/main/royale/org/apache/royale/net

Doug



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





 

-- 

Carlos Rovira

http://about.me/carlosrovira

 



Re: RemoteObject

2017-11-16 Thread Carlos Rovira
Hi Carlos,

along with the RemoteObject classes that Doug said you can check the
example at :

- Royale client: /royale-asjs/examples/royale/RemoteObjectAMFTest
- Royale java: /royale-asjs/examples/amf/SampleAmfWebApp

I already tried string, numbers, collection with value objects with
success, but still didn't try in real app where some last detail problems
could emerge.

Please as you use it, let us know if you find any problems and if you find
any fill an issue in github

Thanks!



2017-11-16 6:58 GMT+01:00 doug777 :

> Remote object is here
>
> https://github.com/apache/royale-asjs/tree/develop/
> frameworks/projects/Network/src/main/royale/org/apache/royale/net
>
> Doug
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>



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


Re: RemoteObject

2017-11-15 Thread doug777
Remote object is here

https://github.com/apache/royale-asjs/tree/develop/frameworks/projects/Network/src/main/royale/org/apache/royale/net

Doug



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


RemoteObject

2017-11-15 Thread Carlos Cruz
Hi 

I use RemoteObject extensively to interface with a Java backend, can anyone
tell me if RemoteObject is supported in royale ? I tried looking for the
example, RemoteObjectAmfTest, mentioned in the emails and forum but I
couldn't find it and I couldn't find anything on API resource either. 

 

Just for FYI I've used amfjs library to interface Javascript with a Java
backend with BlazeDS and it seems to work well, I was able to send and
strings, numbers, objects, arrays and key and value collections.

 

Thx!

Carlos