Re: Remote object for Flex JS

2017-09-01 Thread Alex Harui
Hi Folks, I just pushed changes that include a back port of amf.js to ActionScript. In doing so, the AMF code now uses the Reflection APIs that Greg Dove contributed. The test still only passes a String to the server, but in doing so, it has to wrap the String in an AsyncMessage subclass and I

Re: Remote object for Flex JS

2017-08-23 Thread Alex Harui
Hi Prashant, The AMF work is in a separate branch so make sure you get the latest code. Maybe Piotr or another volunteer will merge the branch into develop so it appears in the nightly. -Alex On 8/23/17, 9:52 AM, "PKumar" wrote: >Sure, I will download the FlexJS

Re: Remote object for Flex JS

2017-08-23 Thread PKumar
Sure, I will download the FlexJS nightly build and check it. On 23-Aug-2017 10:01 PM, "Alex Harui-2 [via Apache Flex Users]" < ml+s246n1580...@n4.nabble.com> wrote: > Hi Prashant, > > If you could add to RemoteObjectAMFTest and SampleAmfWebApp to work with > an actual ValueObject, that would

Re: Remote object for Flex JS

2017-08-23 Thread Alex Harui
Hi Prashant, If you could add to RemoteObjectAMFTest and SampleAmfWebApp to work with an actual ValueObject, that would be great! Thanks, -Alex On 8/23/17, 9:21 AM, "PKumar" wrote: >Really great Alex, if you need my help in testing or creating demo. Do >please let me

Re: Remote object for Flex JS

2017-08-23 Thread PKumar
Really great Alex, if you need my help in testing or creating demo. Do please let me know. On 23-Aug-2017 9:46 PM, "Alex Harui-2 [via Apache Flex Users]" < ml+s246n1580...@n4.nabble.com> wrote: > Hi Prashant, > > Yes, the RemoteObjectAMFTest only tries to send a String. To handle true >

Re: Remote object for Flex JS

2017-08-23 Thread Alex Harui
Hi Prashant, Yes, the RemoteObjectAMFTest only tries to send a String. To handle true ValueObjects we would need to leverage the amfjs class mapping. I added code to the compiler to generate a map for the [RemoteClass] metadata but I didn't hook that up on the JS side yet. It sounds like the

Re: Remote object for Flex JS

2017-08-23 Thread PKumar
Alex, It will really great, if this works same or mostly similar as regular Flex SDK. One more point on amfJS library , it also supports class mapping. It has one method *registerClasses* that can be used for Java class to flex mapping. On 23-Aug-2017 11:12 AM, "Alex Harui-2 [via Apache Flex

Re: Re: Remote object for Flex JS

2017-08-23 Thread Fréderic Cox
Great Alex, thanks for looking into this. I would also lean towards compatibility with regular Flex. 2017-08-23 7:42 GMT+02:00 : > Bonjour, > > En congés jusqu'au 4 septembre, je prendrais connaissance de votre message > à mon retour. > > Cordialement, > > Vincent/AFTER24 >

Re: Remote object for Flex JS

2017-08-23 Thread Piotr Zarzycki
Hi Alex, Thank you! I would vote for getting API as close as it was in an old Flex. Piotr 2017-08-23 7:41 GMT+02:00 Alex Harui : > So, I played around with AMF today, adding SWF code for RemoteObject. For > me, the RemoteObjectAMFTest in examples/flexjs is working

Re: Re: Remote object for Flex JS

2017-08-22 Thread vincent
Bonjour, En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à mon retour. Cordialement, Vincent/AFTER24

Re: Remote object for Flex JS

2017-08-22 Thread Alex Harui
So, I played around with AMF today, adding SWF code for RemoteObject. For me, the RemoteObjectAMFTest in examples/flexjs is working against the SampleAmfWebApp in examples/amf for both SWF and JS. I don't think I had to touch the JS code in amf.js. That's better than I was expecting. Am I not

Re: Remote object for Flex JS

2017-08-21 Thread Harbs
I think rewriting it in ActionScript makes sense. > On Aug 21, 2017, at 10:26 PM, piotrz wrote: > > Alex, > > I was thinking about using those JS library wrap up it same as we did with > MDL. SWF part write on our own, but I have no idea how hard it can be. > >

Re: Remote object for Flex JS

2017-08-21 Thread piotrz
Alex, I was thinking about using those JS library wrap up it same as we did with MDL. SWF part write on our own, but I have no idea how hard it can be. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Remote object for Flex JS

2017-08-21 Thread Alex Harui
Do you mean we should rewrite amfjs in ActionScript? Get Outlook for Android<https://aka.ms/ghei36> From: piotrz <piotrzarzyck...@gmail.com> Sent: Monday, August 21, 2017 11:04:56 AM To: users@flex.apache.org Subject: Re: Remote object for Flex JS

Re: Remote object for Flex JS

2017-08-21 Thread piotrz
I would go with conversion. We could have our own API, suitable to the needs. No matter in which direction it will go having AMF on board will be huge addition. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Remote object for Flex JS

2017-08-21 Thread Harbs
There’s probably an advantage to converting it to FlexJS. You could probably leverage BinaryData for some of the functionality. You can also create typedefs if you want. > On Aug 21, 2017, at 8:53 PM, PKumar wrote: > > Alex, > > As per my analysis & testing, AMFJS

Re: Remote object for Flex JS

2017-08-21 Thread PKumar
Alex, As per my analysis & testing, AMFJS supports following features: - All dataType serialization & deserialization support including Object , Vector - Connection with BlazeDS - Conection with AMFPHP - Class Mapping Support using Alias Name & Class - Inbuilt support for sending AMF

Re: Re: Remote object for Flex JS

2017-08-20 Thread vincent
Bonjour, En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à mon retour. Cordialement, Vincent/AFTER24

Re: Remote object for Flex JS

2017-08-20 Thread Alex Harui
Hi Prashant. What do we know about amf.js? Does it mostly work? The README only mentions sending and receiving packet headers. Do we need more than that? If it mostly works, then have we talked to the author about donating the code? Did we rule out using James Ward's AMF implementation? Or

Re: Remote object for Flex JS

2017-08-19 Thread PKumar
Alex, Current implementation of AMF is dependent on third party JavaScript library. If that JS library changes in future then FlexJS AMF feature may impact. So can we implement same type of library in flexJS only? Following is the third party library URL: https://github.com/emilkm/amfjs Good

Re: Remote object for Flex JS

2017-08-19 Thread piotrz
Hi Alex, I think it would be good if you could take a look into branch feature/amf - I don't remember what Carlos did there, but this branch is failing for some reason. I just refreshed it by newest changes from develop. It has branches in Falcon, typedefs and it's building as pipeline [1]. I

Re: Remote object for Flex JS

2017-08-18 Thread Alex Harui
Hi, I think I have time to help with AMF for JS if help is needed. Let me know. Thanks, -Alex On 8/16/17, 1:05 AM, "Fréderic Cox" wrote: >Ok thanks for the update Prashant! > >On Tue, Aug 15, 2017 at 6:33 PM, PKumar wrote: > >> Hi Frederic, >> >>

Re: Remote object for Flex JS

2017-08-16 Thread Fréderic Cox
Ok thanks for the update Prashant! On Tue, Aug 15, 2017 at 6:33 PM, PKumar wrote: > Hi Frederic, > > I debug the JavaScript API and found that issue. amfphp service sending > the > object header and amf JavaScript API does not support object in header. > So getting

Re: Remote object for Flex JS

2017-08-13 Thread piotrz
Hi, Branch with initial AMF support has been refreshed by newest code. [1] [1] https://github.com/apache/flex-asjs/tree/feature/amf Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Remote object for Flex JS

2017-08-07 Thread PKumar
I will create a Jira for this. On 07-Aug-2017 8:26 PM, "Alex Harui-2 [via Apache Flex Users]" < ml+s246n15621...@n4.nabble.com> wrote: > Can someone create a JIRA and put in a test case against a working > endpoint? It might make it easier for others to try and help. > > Thanks, > -Alex > >

Re: Remote object for Flex JS

2017-08-07 Thread Alex Harui
Can someone create a JIRA and put in a test case against a working endpoint? It might make it easier for others to try and help. Thanks, -Alex On 8/7/17, 12:39 AM, "Fréderic Cox" wrote: >Could it have anything to do with the C extension plug-in for AMFPHP? Or

Re: Remote object for Flex JS

2017-08-07 Thread Fréderic Cox
Could it have anything to do with the C extension plug-in for AMFPHP? Or compression? On Mon, Aug 7, 2017 at 9:39 AM, Fréderic Cox wrote: > Ok thanks for the update Prashant! If there is anything I can help with > please let me know. > > On Sun, Aug 6, 2017 at 3:52 PM,

Re: Remote object for Flex JS

2017-08-07 Thread Fréderic Cox
Ok thanks for the update Prashant! If there is anything I can help with please let me know. On Sun, Aug 6, 2017 at 3:52 PM, PKumar wrote: > As per my analysis, this issue is related to JAVAScript api over that i > developed the FlecJS wrapper code to call AMF end

Re: Remote object for Flex JS

2017-08-06 Thread PKumar
As per my analysis, this issue is related to JAVAScript api over that i developed the FlecJS wrapper code to call AMF end points. I tested this API with BlazeDS java end point and it really works. I am further looking the java script API to fix this issue. Regards, Prashant -

Re: Remote object for Flex JS

2017-08-03 Thread PKumar
I am also getting same issue. I am trying to figure out the cause. On 03-Aug-2017 2:20 PM, "Fréderic Cox [via Apache Flex Users]" < ml+s246n15596...@n4.nabble.com> wrote: > Any luck? > > On Tue, Aug 1, 2017 at 8:58 PM, Fréderic Cox <[hidden email] >

Re: Remote object for Flex JS

2017-08-03 Thread Fréderic Cox
Any luck? On Tue, Aug 1, 2017 at 8:58 PM, Fréderic Cox wrote: > Yes you can use the mentioned URL for testing. You can use the function > getCountries in the Geo service > > Verstuurd vanaf mijn iPhone > > > Op 1 aug. 2017 om 18:01 heeft PKumar het

Re: Remote object for Flex JS

2017-08-01 Thread Fréderic Cox
Yes you can use the mentioned URL for testing. You can use the function getCountries in the Geo service Verstuurd vanaf mijn iPhone > Op 1 aug. 2017 om 18:01 heeft PKumar het volgende > geschreven: > > I will check it and send you sample working code. Can I use the

Re: Remote object for Flex JS

2017-08-01 Thread PKumar
I will check it and send you sample working code. Can I use the mentioned URL for testing. On 01-Aug-2017 2:19 AM, "Fréderic Cox [via Apache Flex Users]" < ml+s246n15577...@n4.nabble.com> wrote: > The error is: > > Fault: code: -1000 message: Could not connect to the server. detail: Could >

Re: Remote object for Flex JS

2017-08-01 Thread piotrz
I think we don't have it working yet fully with FlexJS. There were some work done by Carlos in this branch, but I do not know where it is ended. I will ping him on the dev list to describe where he ended with his job, but maybe everything is in the thread which I've provided. Yesterday I've

Re: Remote object for Flex JS

2017-08-01 Thread Fréderic Cox
I tried it in a FlexJS project. The AMF.js file inclusion also showed correctly in index.html in the bin folder Verstuurd vanaf mijn iPhone > Op 1 aug. 2017 om 13:17 heeft piotrz het volgende > geschreven: > > Hi Frederic, > > Thanks for trying it. Just one

Re: Remote object for Flex JS

2017-08-01 Thread piotrz
Hi Frederic, Thanks for trying it. Just one question - did you try use this swc in Flex project or some FlexJS project ? I thought that provided library by Prashant is for use in FlexJS projects, but maybe I'm wrong. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message

Re: Remote object for Flex JS

2017-07-31 Thread Fréderic Cox
The error is: Fault: code: -1000 message: Could not connect to the server. detail: Could not reach AMF endpoint. data: null --- Endpoint: http://winkelbeheer.cityfashion.be/amfphp/gateway.php (I added the URL part) http://winkelbeheer.cityfashion.be/amfphp/gateway.php is a valid AMFPHP endpoint

Re: Remote object for Flex JS

2017-07-31 Thread Fréderic Cox
I have tried tonight on getting this to work but it did not work for me. I am getting a FaultEvent returned immediately. https://github.com/pkumar-ghub/AMFService is what I used. It did not work when I added the .swc in my library folder (some errors regarding the imports could not be found) but

Re: Remote object for Flex JS

2017-07-27 Thread Christian Kostenzer
Thanks - I will look at that and come back to you for setting up the environment. Regards __ Mag.(FH) Christian Kostenzer Gärberbach 1 6020 Innsbruck Land I fon: +43 676 3327320 fax: +43 810 9554 249195 Email: christ...@kostenzer.net

Re: Remote object for Flex JS

2017-07-27 Thread piotrz
Hi Chris, Wow! :) Thank you for interesting in that. Some time ago Carlos [1] started initial work on that creating separate branch in FlexJS framework repository [2]. I encourage you to ask any technical things where to start in that thread. [1]. In general you will have to work in framework

Re: Remote object for Flex JS

2017-07-27 Thread Christian Kostenzer
Hi Piotr, we are also interested on AMF. Do have more detailled information on that „task“ ? Maybe we can help. Regards Chris > Am 27.07.2017 um 07:53 schrieb piotrz : > > Hi Alina, > > It would be awesome if someone would pickup the task of writing AMF for >

Re: Remote object for Flex JS

2017-07-26 Thread piotrz
Hi Alina, It would be awesome if someone would pickup the task of writing AMF for FlexJS. Volunteers are very welcome! :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: Remote object for Flex JS

2017-07-26 Thread PKumar
​Check the following URL, https://github.com/pkumar-ghub/AMFService -Class mapping is not implemented. ​ On Thu, Jul 27, 2017 at 10:10 AM, Alina Kazi [via Apache Flex Users] < ml+s246n15510...@n4.nabble.com> wrote: > What statement we can use instead of > > import