You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Alina Kazi <al...@d-bz.com> on 2017/07/27 04:34:23 UTC
Remote object for Flex JS
What statement we can use instead of
import mx.rpc.remoting.RemoteObject;
for flexjs development in vscode
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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+s2333346n15510h95@n4.nabble.com> wrote:
> What statement we can use instead of
>
> import mx.rpc.remoting.RemoteObject;
>
>
>
> for flexjs development in vscode
>
>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Remote-
> object-for-Flex-JS-tp15510.html
> To start a new topic under Apache Flex Users, email
> ml+s2333346n1h16@n4.nabble.com
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
*Regards,*
Prashant Kumar* | *Mob.: +91 8408811225
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15511.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15728.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
I will create a Jira for this.
On 07-Aug-2017 8:26 PM, "Alex Harui-2 [via Apache Flex Users]" <
ml+s2333346n15621h36@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
>
> On 8/7/17, 12:39 AM, "Fréderic Cox" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15621&i=0>> wrote:
>
> >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 <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15621&i=1>>
> >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, PKumar <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15621&i=2>> wrote:
> >>
> >>> 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
> >>>
> >>>
> >>>
> >>> -----
> >>> Regards,
> >>> Prashant
> >>> --
> >>> View this message in context:
> >>>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-f
> >>>lex-users.23333&data=02%7C01%7C%7Cd2c9e8c0b0224c553eeb08d4dd67804a%7Cfa7
>
> >>>b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636376884000093162&sdata=fK9cB8X
>
> >>>UCMHqPW4xnPsKaKRXjucuXn2ceefR3PTnAKA%3D&reserved=0
> >>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15613.html
> >>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >>>
> >>
> >>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-
> tp15510p15621.html
> To start a new topic under Apache Flex Users, email
> ml+s2333346n1h16@n4.nabble.com
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15625.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
Mopved to dev, from Alex:
> I just pushed changes that include a back port of amf.js to ActionScript.
How was the versions of amf.js you used licensed? James Ward’s version doesn't have a license that I could see [1] or did you use this version [2] or something else?
Thanks,
Justin
1. https://github.com/jamesward/JSAMF <https://github.com/jamesward/JSAMF>
2. https://github.com/infomaniac-amf/js <https://github.com/infomaniac-amf/js>
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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
think I have watched the AMF code correctly serialize and deserialize
those FlexJS classes to AMF and back.
Next step is to try it with an actual ValueObject. Can someone help with
what changes would need to be made to the service to handle a custom Java
class instead of just a String?
One other note: In doing the back port, I created an AMFBinaryData that
works like BinaryData, but doesn't subclass it. That's because it appears
to me that APIs like writeUTF do differently things. Maybe we can factor
out some common base class at some point. But I think you can now use
AMFBinaryData.writeObject/readObject to clone objects like we do with
ByteArray. AMFBinaryData is currently only for JS, but I think it could
easily have SWF code that writes to a ByteArray added to it.
Thanks,
-Alex
On 8/23/17, 10:32 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>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" <pr...@gmail.com> wrote:
>
>>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+s2333346n15807h2@n4.nabble.com> wrote:
>>
>>> 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" <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=15807&i=0>> wrote:
>>>
>>> >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]" <
>>> >[hidden email] <http:///user/SendEmail.jtp?type=node&node=15807&i=1>>
>>> wrote:
>>> >
>>> >> 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
>>>interest
>>> >>is
>>> >> in backporting amfjs to AS and make the API similar to regular Flex.
>>> In
>>> >> that case, I will refactor the amfjs class map to use the one in our
>>> >> Reflection library.
>>> >>
>>> >> -Alex
>>> >>
>>> >> On 8/23/17, 9:08 AM, "PKumar" <[hidden email]
>>> >> <http:///user/SendEmail.jtp?type=node&node=15804&i=0>> wrote:
>>> >>
>>> >> >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 Users]" <
>>> >> >[hidden email]
>>><http:///user/SendEmail.jtp?type=node&node=15804&i=1>>
>>> >> wrote:
>>> >> >
>>> >> >> 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 doing something right or is there some other problem that
>>>needs
>>> >> >> solving?
>>> >> >>
>>> >> >> Some observations along the way:
>>> >> >>
>>> >> >> I was able to talk to the server in SWF code just by using
>>> >> >> NetConnection.call and passing in CommandMessages and
>>> >>RemotingMessages,
>>> >> >> but the amf.js code seems to be sending an ActionMessage wrapped
>>> >>around
>>> >> >> the CommandMessage and RemotingMessage. Is that wrapping what
>>> >> >> NetConnection does?
>>> >> >>
>>> >> >> I'm tempted to try to refactor amf.js into several AS classes.
>>>Is
>>> >>that
>>> >> >> worth doing or are there bigger fish to fry?
>>> >> >>
>>> >> >> The amf.js code includes a Promise implementation. If we
>>>refactor
>>> to
>>> >> >>AS,
>>> >> >> should we try to use promises or make the API more compatible
>>>with
>>> >> >>regular
>>> >> >> Flex? I'm leaning towards compatibility with regular Flex.
>>> >> >>
>>> >> >> Thoughts?
>>> >> >> -Alex
>>> >> >>
>>> >> >> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
>>> >> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote:
>>> >> >>
>>> >> >> >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 <[hidden email]
>>> >> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote:
>>> >> >> >>
>>> >> >> >> 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 request & response
>>> >> >> >>
>>> >> >> >> I also checked James ward implementation but that does not
>>> >>support
>>> >> >> >>vector
>>> >> >> >> and blazeds connectivity.
>>> >> >> >>
>>> >> >> >> I prepared a demo for class mapping and blazeDs connection.
>>>If
>>> >>you
>>> >> >> >>want to
>>> >> >> >> check, please let me know. I will share on github.
>>> >> >> >>
>>> >> >> >> one query i want to ask , can we convert this amfJS library
>>>to
>>> >> >>FlexJS
>>> >> >> >> Typedef just like createJS library?
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> Regards,
>>> >> >> >> Prashant
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> -----
>>> >> >> >> Regards,
>>> >> >> >> Prashant
>>> >> >> >> --
>>> >> >> >> View this message in context:
>>> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
>>> >> >> http%3A%2F%2Fapache-fl
>>> >> >>
>>> >>
>>>
>>>>>>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510
>>>>>>>>>p
>>>>>>>>>15
>>>
>>> >>>>>>78
>>> >>
>>> >> >>>>2.
>>> >> >>
>>> >> >>
>>> >>
>>>
>>>>>>>>>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a
>>>>>>>>>7
>>>>>>>>>b3
>>>
>>> >>>>>>44
>>> >>
>>> >> >>>>38
>>> >> >>
>>> >> >>
>>> >>
>>>
>>>>>>>>>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6
>>>>>>>>>e
>>>>>>>>>QE
>>>
>>> >>>>>>Gj
>>> >>
>>> >> >>>>Dw
>>> >> >>
>>> >> >> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
>>> >> >> >> Sent from the Apache Flex Users mailing list archive at
>>> >>Nabble.com.
>>> >> >> >
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> ------------------------------
>>> >> >> If you reply to this email, your message will be added to the
>>> >> discussion
>>> >> >> below:
>>> >> >>
>>> >> >>https://na01.safelinks.protection.outlook.com/?url=
>>> >> http%3A%2F%2Fapache-fl
>>> >>
>>>
>>>>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%
>>>>>>>7
>>>>>>>C0
>>>
>>> >>>>1%
>>> >>
>>> >>
>>>
>>>>>>>7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178de
>>>>>>>c
>>>>>>>ee
>>>
>>> >>>>1%
>>> >>
>>> >>
>>>
>>>>>>>7C0%7C0%7C636391013164618149&sdata=%2FOcSNyohTV1%2FJaKe%2BgW%2BHspE%
>>>>>>>2
>>>>>>>FV
>>>
>>> >>>>%2
>>> >>
>>> >> >>FtaoyEdCq2YOzUmq4%3D&reserved=0
>>> >> >> tp15510p15798.html
>>> >> >> To start a new topic under Apache Flex Users, email
>>> >> >> [hidden email]
>>><http:///user/SendEmail.jtp?type=node&node=15804&i=2>
>>>
>>> >> >> To unsubscribe from Apache Flex Users, click here
>>> >> >>
>>> >> >><https://na01.safelinks.protection.outlook.com/?url=
>>> >> http%3A%2F%2Fapache-f
>>> >>
>>>
>>>>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro
>>>>>>>%
>>>>>>>3D
>>>
>>> >>>>un
>>> >>
>>> >>
>>>
>>>>>>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfD
>>>>>>>F
>>>>>>>8L
>>>
>>> >>>>TU
>>> >>
>>> >>
>>>
>>>>>>>0MTcyMzE2NA&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7
>>>>>>>b
>>>>>>>1b
>>>
>>> >>>>5a
>>> >>
>>> >>
>>>
>>>>>>>7b34438794aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=oG9TQOL2
>>>>>>>W
>>>>>>>HD
>>>
>>> >>>>Im
>>> >>
>>> >> >>7ixmXea4gFCoUw4j8b0HUsYOw7f4Pk%3D&reserved=0==>
>>> >> >> .
>>> >> >> NAML
>>> >> >>
>>> >> >><https://na01.safelinks.protection.outlook.com/?url=
>>> >> http%3A%2F%2Fapache-f
>>> >>
>>>
>>>>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro
>>>>>>>%
>>>>>>>3D
>>>
>>> >>>>ma
>>> >>
>>> >>
>>>
>>>>>>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dna
>>>>>>>b
>>>>>>>bl
>>>
>>> >>>>e.
>>> >>
>>> >>
>>>
>>>>>>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamesp
>>>>>>>a
>>>>>>>ce
>>>
>>> >>>>-n
>>> >>
>>> >>
>>>
>>>>>>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscri
>>>>>>>b
>>>>>>>er
>>>
>>> >>>>s%
>>> >>
>>> >>
>>>
>>>>>>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-s
>>>>>>>e
>>>>>>>nd
>>>
>>> >>>>_i
>>> >>
>>> >>
>>>
>>>>>>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C3a1ce1deff3
>>>>>>>f
>>>>>>>47
>>>
>>> >>>>df
>>> >>
>>> >>
>>>
>>>>>>>f8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636391
>>>>>>>0
>>>>>>>13
>>>
>>> >>>>16
>>> >>
>>> >>
>>>
>>>>>>>4618149&sdata=IBL7nGCu8Fr2VJyGGJvN4eo2j3ciNKaqdMySmNqzEH8%3D&reserve
>>>>>>>d
>>>>>>>=0
>>>
>>> >>>>>
>>> >>
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> >-----
>>> >> >Regards,
>>> >> >Prashant
>>> >> >--
>>> >> >View this message in context:
>>> >> >https://na01.safelinks.protection.outlook.com/?url=
>>> >> http%3A%2F%2Fapache-fle
>>> >> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
>>> >> tp15510p15803.ht
>>> >>
>>>
>>>>>>ml&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b344
>>>>>>3
>>>>>>87
>>>
>>> >>>94
>>> >>
>>> >>
>>>
>>>>>>aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=J3LsrJ3Zxc%2FxglCYj
>>>>>>8
>>>>>>zw
>>>
>>> >>>cX
>>> >>
>>> >> >vDzIX9nCPn0S%2Brd%2BVE9O0%3D&reserved=0
>>> >> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >>
>>> >> ------------------------------
>>> >> If you reply to this email, your message will be added to the
>>> discussion
>>> >> below:
>>> >>
>>> >>https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fapache-fl
>>>
>>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C
>>>>>0
>>>>>1%
>>>
>>>
>>>>>7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178dece
>>>>>e
>>>>>1%
>>>
>>>
>>>>>7C0%7C0%7C636391020812650097&sdata=4dXIVzqiXbxllGLy9oymfR5lLMIhps6NQmj
>>>>>p
>>>>>8t
>>>
>>> >>VmRVo%3D&reserved=0
>>> >> tp15510p15804.html
>>> >> To start a new topic under Apache Flex Users, email
>>> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15807&i=2>
>>> >> To unsubscribe from Apache Flex Users, click here
>>> >>
>>> >><https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fapache-f
>>>
>>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3
>>>>>D
>>>>>un
>>>
>>>
>>>>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8
>>>>>L
>>>>>TU
>>>
>>>
>>>>>0MTcyMzE2NA&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1
>>>>>b
>>>>>5a
>>>
>>>
>>>>>7b34438794aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=4dcQPrPyC3
>>>>>p
>>>>>pE
>>>
>>> >>x36S3f%2B950UpNNwOJEfiG5e%2BGXpALg%3D&reserved=0==>
>>> >> .
>>> >> NAML
>>> >>
>>> >><https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fapache-f
>>>
>>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3
>>>>>D
>>>>>ma
>>>
>>>
>>>>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabb
>>>>>l
>>>>>e.
>>>
>>>
>>>>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespac
>>>>>e
>>>>>-n
>>>
>>>
>>>>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribe
>>>>>r
>>>>>s%
>>>
>>>
>>>>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-sen
>>>>>d
>>>>>_i
>>>
>>>
>>>>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7Cf10440168a264
>>>>>c
>>>>>e4
>>>
>>>
>>>>>a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63639102
>>>>>0
>>>>>81
>>>
>>>
>>>>>2650097&sdata=XnllokaW1joWP0zh%2Fy1zvmzruvn%2BneggkXh6xHdsunE%3D&reser
>>>>>v
>>>>>ed
>>>
>>> >>=0>
>>> >>
>>> >
>>> >
>>> >
>>> >
>>> >-----
>>> >Regards,
>>> >Prashant
>>> >--
>>> >View this message in context:
>>> >https://na01.safelinks.protection.outlook.com/?url=
>>> http%3A%2F%2Fapache-fle
>>> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
>>> tp15510p15805.ht
>>>
>>>>ml&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b34438
>>>>7
>>>>94
>>>
>>>
>>>>aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=HBbOQ1Hn1n0lAG%2FGYHd
>>>>z
>>>>bg
>>>
>>> >vrwKxd8pWLrxm46FJSAnY%3D&reserved=0
>>> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the
>>>discussion
>>> below:
>>>
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>l
>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C01
>>>%
>>>7C%7C5d32ae4db4c14fd8227a08d4ea476740%7Cfa7b1b5a7b34438794aed2c178decee1
>>>%
>>>7C0%7C0%7C636391039781390709&sdata=2zBxDD8UoNESAJZyvKWBerW8UiGUFbpCHf%2B
>>>n
>>>iUgm0aA%3D&reserved=0
>>> tp15510p15807.html
>>> To start a new topic under Apache Flex Users, email
>>> ml+s2333346n1h16@n4.nabble.com
>>> To unsubscribe from Apache Flex Users, click here
>>>
>>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-
>>>f
>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Du
>>>n
>>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8LT
>>>U
>>>0MTcyMzE2NA&data=02%7C01%7C%7C5d32ae4db4c14fd8227a08d4ea476740%7Cfa7b1b5
>>>a
>>>7b34438794aed2c178decee1%7C0%7C0%7C636391039781390709&sdata=u9qzMLM9zEaI
>>>C
>>>Vfd8TuFsLmf8Tjcw4G%2BEN6U2Jf35tc%3D&reserved=0==>
>>> .
>>> NAML
>>>
>>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-
>>>f
>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dm
>>>a
>>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabble
>>>.
>>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-
>>>n
>>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribers
>>>%
>>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send_
>>>i
>>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C5d32ae4db4c14fd
>>>8
>>>227a08d4ea476740%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363910397
>>>8
>>>1390709&sdata=AByKY5e%2BF3ekcVN7l1hKEfp0TkaMEy3p%2BSw7wuHHCzI%3D&reserve
>>>d
>>>=0>
>>>
>>
>>
>>
>>
>>-----
>>Regards,
>>Prashant
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>e
>>x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15809.h
>>t
>>ml&data=02%7C01%7C%7C5d32ae4db4c14fd8227a08d4ea476740%7Cfa7b1b5a7b3443879
>>4
>>aed2c178decee1%7C0%7C0%7C636391039781390709&sdata=OBijYEbbq0BjTiZ44ouvJ9w
>>a
>>D4N1Gd49pm0aO36ZGcI%3D&reserved=0
>>Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <pr...@gmail.com> wrote:
>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+s2333346n15807h2@n4.nabble.com> wrote:
>
>> 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" <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15807&i=0>> wrote:
>>
>> >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]" <
>> >[hidden email] <http:///user/SendEmail.jtp?type=node&node=15807&i=1>>
>> wrote:
>> >
>> >> 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
>>interest
>> >>is
>> >> in backporting amfjs to AS and make the API similar to regular Flex.
>> In
>> >> that case, I will refactor the amfjs class map to use the one in our
>> >> Reflection library.
>> >>
>> >> -Alex
>> >>
>> >> On 8/23/17, 9:08 AM, "PKumar" <[hidden email]
>> >> <http:///user/SendEmail.jtp?type=node&node=15804&i=0>> wrote:
>> >>
>> >> >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 Users]" <
>> >> >[hidden email]
>><http:///user/SendEmail.jtp?type=node&node=15804&i=1>>
>> >> wrote:
>> >> >
>> >> >> 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 doing something right or is there some other problem that
>>needs
>> >> >> solving?
>> >> >>
>> >> >> Some observations along the way:
>> >> >>
>> >> >> I was able to talk to the server in SWF code just by using
>> >> >> NetConnection.call and passing in CommandMessages and
>> >>RemotingMessages,
>> >> >> but the amf.js code seems to be sending an ActionMessage wrapped
>> >>around
>> >> >> the CommandMessage and RemotingMessage. Is that wrapping what
>> >> >> NetConnection does?
>> >> >>
>> >> >> I'm tempted to try to refactor amf.js into several AS classes. Is
>> >>that
>> >> >> worth doing or are there bigger fish to fry?
>> >> >>
>> >> >> The amf.js code includes a Promise implementation. If we refactor
>> to
>> >> >>AS,
>> >> >> should we try to use promises or make the API more compatible with
>> >> >>regular
>> >> >> Flex? I'm leaning towards compatibility with regular Flex.
>> >> >>
>> >> >> Thoughts?
>> >> >> -Alex
>> >> >>
>> >> >> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
>> >> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote:
>> >> >>
>> >> >> >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 <[hidden email]
>> >> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote:
>> >> >> >>
>> >> >> >> 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 request & response
>> >> >> >>
>> >> >> >> I also checked James ward implementation but that does not
>> >>support
>> >> >> >>vector
>> >> >> >> and blazeds connectivity.
>> >> >> >>
>> >> >> >> I prepared a demo for class mapping and blazeDs connection. If
>> >>you
>> >> >> >>want to
>> >> >> >> check, please let me know. I will share on github.
>> >> >> >>
>> >> >> >> one query i want to ask , can we convert this amfJS library to
>> >> >>FlexJS
>> >> >> >> Typedef just like createJS library?
>> >> >> >>
>> >> >> >>
>> >> >> >> Regards,
>> >> >> >> Prashant
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> -----
>> >> >> >> Regards,
>> >> >> >> Prashant
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
>> >> >> http%3A%2F%2Fapache-fl
>> >> >>
>> >>
>>
>>>>>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p
>>>>>>>>15
>>
>> >>>>>>78
>> >>
>> >> >>>>2.
>> >> >>
>> >> >>
>> >>
>>
>>>>>>>>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7
>>>>>>>>b3
>>
>> >>>>>>44
>> >>
>> >> >>>>38
>> >> >>
>> >> >>
>> >>
>>
>>>>>>>>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6e
>>>>>>>>QE
>>
>> >>>>>>Gj
>> >>
>> >> >>>>Dw
>> >> >>
>> >> >> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
>> >> >> >> Sent from the Apache Flex Users mailing list archive at
>> >>Nabble.com.
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> ------------------------------
>> >> >> If you reply to this email, your message will be added to the
>> >> discussion
>> >> >> below:
>> >> >>
>> >> >>https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fapache-fl
>> >>
>>
>>>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7
>>>>>>C0
>>
>> >>>>1%
>> >>
>> >>
>>
>>>>>>7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178dec
>>>>>>ee
>>
>> >>>>1%
>> >>
>> >>
>>
>>>>>>7C0%7C0%7C636391013164618149&sdata=%2FOcSNyohTV1%2FJaKe%2BgW%2BHspE%2
>>>>>>FV
>>
>> >>>>%2
>> >>
>> >> >>FtaoyEdCq2YOzUmq4%3D&reserved=0
>> >> >> tp15510p15798.html
>> >> >> To start a new topic under Apache Flex Users, email
>> >> >> [hidden email]
>><http:///user/SendEmail.jtp?type=node&node=15804&i=2>
>>
>> >> >> To unsubscribe from Apache Flex Users, click here
>> >> >>
>> >> >><https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fapache-f
>> >>
>>
>>>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%
>>>>>>3D
>>
>> >>>>un
>> >>
>> >>
>>
>>>>>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF
>>>>>>8L
>>
>> >>>>TU
>> >>
>> >>
>>
>>>>>>0MTcyMzE2NA&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b
>>>>>>1b
>>
>> >>>>5a
>> >>
>> >>
>>
>>>>>>7b34438794aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=oG9TQOL2W
>>>>>>HD
>>
>> >>>>Im
>> >>
>> >> >>7ixmXea4gFCoUw4j8b0HUsYOw7f4Pk%3D&reserved=0==>
>> >> >> .
>> >> >> NAML
>> >> >>
>> >> >><https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fapache-f
>> >>
>>
>>>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%
>>>>>>3D
>>
>> >>>>ma
>> >>
>> >>
>>
>>>>>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnab
>>>>>>bl
>>
>> >>>>e.
>> >>
>> >>
>>
>>>>>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespa
>>>>>>ce
>>
>> >>>>-n
>> >>
>> >>
>>
>>>>>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscrib
>>>>>>er
>>
>> >>>>s%
>> >>
>> >>
>>
>>>>>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-se
>>>>>>nd
>>
>> >>>>_i
>> >>
>> >>
>>
>>>>>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C3a1ce1deff3f
>>>>>>47
>>
>> >>>>df
>> >>
>> >>
>>
>>>>>>f8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363910
>>>>>>13
>>
>> >>>>16
>> >>
>> >>
>>
>>>>>>4618149&sdata=IBL7nGCu8Fr2VJyGGJvN4eo2j3ciNKaqdMySmNqzEH8%3D&reserved
>>>>>>=0
>>
>> >>>>>
>> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >-----
>> >> >Regards,
>> >> >Prashant
>> >> >--
>> >> >View this message in context:
>> >> >https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fapache-fle
>> >> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
>> >> tp15510p15803.ht
>> >>
>>
>>>>>ml&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b3443
>>>>>87
>>
>> >>>94
>> >>
>> >>
>>
>>>>>aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=J3LsrJ3Zxc%2FxglCYj8
>>>>>zw
>>
>> >>>cX
>> >>
>> >> >vDzIX9nCPn0S%2Brd%2BVE9O0%3D&reserved=0
>> >> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> >> ------------------------------
>> >> If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-fl
>>
>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C0
>>>>1%
>>
>>
>>>>7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178decee
>>>>1%
>>
>>
>>>>7C0%7C0%7C636391020812650097&sdata=4dXIVzqiXbxllGLy9oymfR5lLMIhps6NQmjp
>>>>8t
>>
>> >>VmRVo%3D&reserved=0
>> >> tp15510p15804.html
>> >> To start a new topic under Apache Flex Users, email
>> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15807&i=2>
>> >> To unsubscribe from Apache Flex Users, click here
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-f
>>
>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3D
>>>>un
>>
>>
>>>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8L
>>>>TU
>>
>>
>>>>0MTcyMzE2NA&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b
>>>>5a
>>
>>
>>>>7b34438794aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=4dcQPrPyC3p
>>>>pE
>>
>> >>x36S3f%2B950UpNNwOJEfiG5e%2BGXpALg%3D&reserved=0==>
>> >> .
>> >> NAML
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-f
>>
>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3D
>>>>ma
>>
>>
>>>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabbl
>>>>e.
>>
>>
>>>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace
>>>>-n
>>
>>
>>>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscriber
>>>>s%
>>
>>
>>>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send
>>>>_i
>>
>>
>>>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7Cf10440168a264c
>>>>e4
>>
>>
>>>>a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636391020
>>>>81
>>
>>
>>>>2650097&sdata=XnllokaW1joWP0zh%2Fy1zvmzruvn%2BneggkXh6xHdsunE%3D&reserv
>>>>ed
>>
>> >>=0>
>> >>
>> >
>> >
>> >
>> >
>> >-----
>> >Regards,
>> >Prashant
>> >--
>> >View this message in context:
>> >https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-fle
>> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
>> tp15510p15805.ht
>>
>>>ml&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b344387
>>>94
>>
>>
>>>aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=HBbOQ1Hn1n0lAG%2FGYHdz
>>>bg
>>
>> >vrwKxd8pWLrxm46FJSAnY%3D&reserved=0
>> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C01%
>>7C%7C5d32ae4db4c14fd8227a08d4ea476740%7Cfa7b1b5a7b34438794aed2c178decee1%
>>7C0%7C0%7C636391039781390709&sdata=2zBxDD8UoNESAJZyvKWBerW8UiGUFbpCHf%2Bn
>>iUgm0aA%3D&reserved=0
>> tp15510p15807.html
>> To start a new topic under Apache Flex Users, email
>> ml+s2333346n1h16@n4.nabble.com
>> To unsubscribe from Apache Flex Users, click here
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dun
>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU
>>0MTcyMzE2NA&data=02%7C01%7C%7C5d32ae4db4c14fd8227a08d4ea476740%7Cfa7b1b5a
>>7b34438794aed2c178decee1%7C0%7C0%7C636391039781390709&sdata=u9qzMLM9zEaIC
>>Vfd8TuFsLmf8Tjcw4G%2BEN6U2Jf35tc%3D&reserved=0==>
>> .
>> NAML
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dma
>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabble.
>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-n
>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribers%
>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send_i
>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C5d32ae4db4c14fd8
>>227a08d4ea476740%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63639103978
>>1390709&sdata=AByKY5e%2BF3ekcVN7l1hKEfp0TkaMEy3p%2BSw7wuHHCzI%3D&reserved
>>=0>
>>
>
>
>
>
>-----
>Regards,
>Prashant
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15809.ht
>ml&data=02%7C01%7C%7C5d32ae4db4c14fd8227a08d4ea476740%7Cfa7b1b5a7b34438794
>aed2c178decee1%7C0%7C0%7C636391039781390709&sdata=OBijYEbbq0BjTiZ44ouvJ9wa
>D4N1Gd49pm0aO36ZGcI%3D&reserved=0
>Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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+s2333346n15807h2@n4.nabble.com> wrote:
> 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" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15807&i=0>> wrote:
>
> >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]" <
> >[hidden email] <http:///user/SendEmail.jtp?type=node&node=15807&i=1>>
> wrote:
> >
> >> 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 interest
> >>is
> >> in backporting amfjs to AS and make the API similar to regular Flex.
> In
> >> that case, I will refactor the amfjs class map to use the one in our
> >> Reflection library.
> >>
> >> -Alex
> >>
> >> On 8/23/17, 9:08 AM, "PKumar" <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15804&i=0>> wrote:
> >>
> >> >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 Users]" <
> >> >[hidden email] <http:///user/SendEmail.jtp?type=node&node=15804&i=1>>
> >> wrote:
> >> >
> >> >> 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 doing something right or is there some other problem that needs
> >> >> solving?
> >> >>
> >> >> Some observations along the way:
> >> >>
> >> >> I was able to talk to the server in SWF code just by using
> >> >> NetConnection.call and passing in CommandMessages and
> >>RemotingMessages,
> >> >> but the amf.js code seems to be sending an ActionMessage wrapped
> >>around
> >> >> the CommandMessage and RemotingMessage. Is that wrapping what
> >> >> NetConnection does?
> >> >>
> >> >> I'm tempted to try to refactor amf.js into several AS classes. Is
> >>that
> >> >> worth doing or are there bigger fish to fry?
> >> >>
> >> >> The amf.js code includes a Promise implementation. If we refactor
> to
> >> >>AS,
> >> >> should we try to use promises or make the API more compatible with
> >> >>regular
> >> >> Flex? I'm leaning towards compatibility with regular Flex.
> >> >>
> >> >> Thoughts?
> >> >> -Alex
> >> >>
> >> >> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
> >> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote:
> >> >>
> >> >> >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 <[hidden email]
> >> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote:
> >> >> >>
> >> >> >> 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 request & response
> >> >> >>
> >> >> >> I also checked James ward implementation but that does not
> >>support
> >> >> >>vector
> >> >> >> and blazeds connectivity.
> >> >> >>
> >> >> >> I prepared a demo for class mapping and blazeDs connection. If
> >>you
> >> >> >>want to
> >> >> >> check, please let me know. I will share on github.
> >> >> >>
> >> >> >> one query i want to ask , can we convert this amfJS library to
> >> >>FlexJS
> >> >> >> Typedef just like createJS library?
> >> >> >>
> >> >> >>
> >> >> >> Regards,
> >> >> >> Prashant
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> -----
> >> >> >> Regards,
> >> >> >> Prashant
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> >> http%3A%2F%2Fapache-fl
> >> >>
> >>
> >>>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15
>
> >>>>>>78
> >>
> >> >>>>2.
> >> >>
> >> >>
> >>
> >>>>>>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7b3
>
> >>>>>>44
> >>
> >> >>>>38
> >> >>
> >> >>
> >>
> >>>>>>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6eQE
>
> >>>>>>Gj
> >>
> >> >>>>Dw
> >> >>
> >> >> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
> >> >> >> Sent from the Apache Flex Users mailing list archive at
> >>Nabble.com.
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> ------------------------------
> >> >> If you reply to this email, your message will be added to the
> >> discussion
> >> >> below:
> >> >>
> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fapache-fl
> >>
> >>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C0
>
> >>>>1%
> >>
> >>
> >>>>7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee
>
> >>>>1%
> >>
> >>
> >>>>7C0%7C0%7C636391013164618149&sdata=%2FOcSNyohTV1%2FJaKe%2BgW%2BHspE%2FV
>
> >>>>%2
> >>
> >> >>FtaoyEdCq2YOzUmq4%3D&reserved=0
> >> >> tp15510p15798.html
> >> >> To start a new topic under Apache Flex Users, email
> >> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15804&i=2>
>
> >> >> To unsubscribe from Apache Flex Users, click here
> >> >>
> >> >><https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fapache-f
> >>
> >>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3D
>
> >>>>un
> >>
> >>
> >>>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8L
>
> >>>>TU
> >>
> >>
> >>>>0MTcyMzE2NA&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b
>
> >>>>5a
> >>
> >>
> >>>>7b34438794aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=oG9TQOL2WHD
>
> >>>>Im
> >>
> >> >>7ixmXea4gFCoUw4j8b0HUsYOw7f4Pk%3D&reserved=0==>
> >> >> .
> >> >> NAML
> >> >>
> >> >><https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fapache-f
> >>
> >>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3D
>
> >>>>ma
> >>
> >>
> >>>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabbl
>
> >>>>e.
> >>
> >>
> >>>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace
>
> >>>>-n
> >>
> >>
> >>>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscriber
>
> >>>>s%
> >>
> >>
> >>>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send
>
> >>>>_i
> >>
> >>
> >>>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C3a1ce1deff3f47
>
> >>>>df
> >>
> >>
> >>>>f8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636391013
>
> >>>>16
> >>
> >>
> >>>>4618149&sdata=IBL7nGCu8Fr2VJyGGJvN4eo2j3ciNKaqdMySmNqzEH8%3D&reserved=0
>
> >>>>>
> >>
> >> >>
> >> >
> >> >
> >> >
> >> >
> >> >-----
> >> >Regards,
> >> >Prashant
> >> >--
> >> >View this message in context:
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fapache-fle
> >> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
> >> tp15510p15803.ht
> >>
> >>>ml&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b344387
>
> >>>94
> >>
> >>
> >>>aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=J3LsrJ3Zxc%2FxglCYj8zw
>
> >>>cX
> >>
> >> >vDzIX9nCPn0S%2Brd%2BVE9O0%3D&reserved=0
> >> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >>
> >>
> >>
> >> ------------------------------
> >> If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fl
> >>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C01%
>
> >>7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178decee1%
>
> >>7C0%7C0%7C636391020812650097&sdata=4dXIVzqiXbxllGLy9oymfR5lLMIhps6NQmjp8t
>
> >>VmRVo%3D&reserved=0
> >> tp15510p15804.html
> >> To start a new topic under Apache Flex Users, email
> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15807&i=2>
> >> To unsubscribe from Apache Flex Users, click here
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-f
> >>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dun
>
> >>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU
>
> >>0MTcyMzE2NA&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a
>
> >>7b34438794aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=4dcQPrPyC3ppE
>
> >>x36S3f%2B950UpNNwOJEfiG5e%2BGXpALg%3D&reserved=0==>
> >> .
> >> NAML
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-f
> >>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dma
>
> >>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabble.
>
> >>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-n
>
> >>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribers%
>
> >>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send_i
>
> >>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7Cf10440168a264ce4
>
> >>a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63639102081
>
> >>2650097&sdata=XnllokaW1joWP0zh%2Fy1zvmzruvn%2BneggkXh6xHdsunE%3D&reserved
>
> >>=0>
> >>
> >
> >
> >
> >
> >-----
> >Regards,
> >Prashant
> >--
> >View this message in context:
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fle
> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
> tp15510p15805.ht
> >ml&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b34438794
>
> >aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=HBbOQ1Hn1n0lAG%2FGYHdzbg
>
> >vrwKxd8pWLrxm46FJSAnY%3D&reserved=0
> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-
> tp15510p15807.html
> To start a new topic under Apache Flex Users, email
> ml+s2333346n1h16@n4.nabble.com
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15809.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <pr...@gmail.com> wrote:
>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+s2333346n15804h9@n4.nabble.com> wrote:
>
>> 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 interest
>>is
>> in backporting amfjs to AS and make the API similar to regular Flex. In
>> that case, I will refactor the amfjs class map to use the one in our
>> Reflection library.
>>
>> -Alex
>>
>> On 8/23/17, 9:08 AM, "PKumar" <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15804&i=0>> wrote:
>>
>> >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 Users]" <
>> >[hidden email] <http:///user/SendEmail.jtp?type=node&node=15804&i=1>>
>> wrote:
>> >
>> >> 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 doing something right or is there some other problem that needs
>> >> solving?
>> >>
>> >> Some observations along the way:
>> >>
>> >> I was able to talk to the server in SWF code just by using
>> >> NetConnection.call and passing in CommandMessages and
>>RemotingMessages,
>> >> but the amf.js code seems to be sending an ActionMessage wrapped
>>around
>> >> the CommandMessage and RemotingMessage. Is that wrapping what
>> >> NetConnection does?
>> >>
>> >> I'm tempted to try to refactor amf.js into several AS classes. Is
>>that
>> >> worth doing or are there bigger fish to fry?
>> >>
>> >> The amf.js code includes a Promise implementation. If we refactor to
>> >>AS,
>> >> should we try to use promises or make the API more compatible with
>> >>regular
>> >> Flex? I'm leaning towards compatibility with regular Flex.
>> >>
>> >> Thoughts?
>> >> -Alex
>> >>
>> >> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
>> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote:
>> >>
>> >> >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 <[hidden email]
>> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote:
>> >> >>
>> >> >> 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 request & response
>> >> >>
>> >> >> I also checked James ward implementation but that does not
>>support
>> >> >>vector
>> >> >> and blazeds connectivity.
>> >> >>
>> >> >> I prepared a demo for class mapping and blazeDs connection. If
>>you
>> >> >>want to
>> >> >> check, please let me know. I will share on github.
>> >> >>
>> >> >> one query i want to ask , can we convert this amfJS library to
>> >>FlexJS
>> >> >> Typedef just like createJS library?
>> >> >>
>> >> >>
>> >> >> Regards,
>> >> >> Prashant
>> >> >>
>> >> >>
>> >> >>
>> >> >> -----
>> >> >> Regards,
>> >> >> Prashant
>> >> >> --
>> >> >> View this message in context:
>> >> >>https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fapache-fl
>> >>
>>
>>>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15
>>>>>>78
>>
>> >>>>2.
>> >>
>> >>
>>
>>>>>>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7b3
>>>>>>44
>>
>> >>>>38
>> >>
>> >>
>>
>>>>>>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6eQE
>>>>>>Gj
>>
>> >>>>Dw
>> >>
>> >> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
>> >> >> Sent from the Apache Flex Users mailing list archive at
>>Nabble.com.
>> >> >
>> >>
>> >>
>> >>
>> >> ------------------------------
>> >> If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-fl
>>
>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C0
>>>>1%
>>
>>
>>>>7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee
>>>>1%
>>
>>
>>>>7C0%7C0%7C636391013164618149&sdata=%2FOcSNyohTV1%2FJaKe%2BgW%2BHspE%2FV
>>>>%2
>>
>> >>FtaoyEdCq2YOzUmq4%3D&reserved=0
>> >> tp15510p15798.html
>> >> To start a new topic under Apache Flex Users, email
>> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15804&i=2>
>> >> To unsubscribe from Apache Flex Users, click here
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-f
>>
>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3D
>>>>un
>>
>>
>>>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8L
>>>>TU
>>
>>
>>>>0MTcyMzE2NA&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b
>>>>5a
>>
>>
>>>>7b34438794aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=oG9TQOL2WHD
>>>>Im
>>
>> >>7ixmXea4gFCoUw4j8b0HUsYOw7f4Pk%3D&reserved=0==>
>> >> .
>> >> NAML
>> >>
>> >><https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-f
>>
>>>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3D
>>>>ma
>>
>>
>>>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabbl
>>>>e.
>>
>>
>>>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace
>>>>-n
>>
>>
>>>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscriber
>>>>s%
>>
>>
>>>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send
>>>>_i
>>
>>
>>>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C3a1ce1deff3f47
>>>>df
>>
>>
>>>>f8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636391013
>>>>16
>>
>>
>>>>4618149&sdata=IBL7nGCu8Fr2VJyGGJvN4eo2j3ciNKaqdMySmNqzEH8%3D&reserved=0
>>>>>
>>
>> >>
>> >
>> >
>> >
>> >
>> >-----
>> >Regards,
>> >Prashant
>> >--
>> >View this message in context:
>> >https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-fle
>> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
>> tp15510p15803.ht
>>
>>>ml&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b344387
>>>94
>>
>>
>>>aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=J3LsrJ3Zxc%2FxglCYj8zw
>>>cX
>>
>> >vDzIX9nCPn0S%2Brd%2BVE9O0%3D&reserved=0
>> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C01%
>>7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178decee1%
>>7C0%7C0%7C636391020812650097&sdata=4dXIVzqiXbxllGLy9oymfR5lLMIhps6NQmjp8t
>>VmRVo%3D&reserved=0
>> tp15510p15804.html
>> To start a new topic under Apache Flex Users, email
>> ml+s2333346n1h16@n4.nabble.com
>> To unsubscribe from Apache Flex Users, click here
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dun
>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU
>>0MTcyMzE2NA&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a
>>7b34438794aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=4dcQPrPyC3ppE
>>x36S3f%2B950UpNNwOJEfiG5e%2BGXpALg%3D&reserved=0==>
>> .
>> NAML
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dma
>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabble.
>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-n
>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribers%
>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send_i
>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7Cf10440168a264ce4
>>a83308d4ea42fce0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63639102081
>>2650097&sdata=XnllokaW1joWP0zh%2Fy1zvmzruvn%2BneggkXh6xHdsunE%3D&reserved
>>=0>
>>
>
>
>
>
>-----
>Regards,
>Prashant
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15805.ht
>ml&data=02%7C01%7C%7Cf10440168a264ce4a83308d4ea42fce0%7Cfa7b1b5a7b34438794
>aed2c178decee1%7C0%7C0%7C636391020812650097&sdata=HBbOQ1Hn1n0lAG%2FGYHdzbg
>vrwKxd8pWLrxm46FJSAnY%3D&reserved=0
>Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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+s2333346n15804h9@n4.nabble.com> wrote:
> 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 interest is
> in backporting amfjs to AS and make the API similar to regular Flex. In
> that case, I will refactor the amfjs class map to use the one in our
> Reflection library.
>
> -Alex
>
> On 8/23/17, 9:08 AM, "PKumar" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15804&i=0>> wrote:
>
> >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 Users]" <
> >[hidden email] <http:///user/SendEmail.jtp?type=node&node=15804&i=1>>
> wrote:
> >
> >> 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 doing something right or is there some other problem that needs
> >> solving?
> >>
> >> Some observations along the way:
> >>
> >> I was able to talk to the server in SWF code just by using
> >> NetConnection.call and passing in CommandMessages and RemotingMessages,
> >> but the amf.js code seems to be sending an ActionMessage wrapped around
> >> the CommandMessage and RemotingMessage. Is that wrapping what
> >> NetConnection does?
> >>
> >> I'm tempted to try to refactor amf.js into several AS classes. Is that
> >> worth doing or are there bigger fish to fry?
> >>
> >> The amf.js code includes a Promise implementation. If we refactor to
> >>AS,
> >> should we try to use promises or make the API more compatible with
> >>regular
> >> Flex? I'm leaning towards compatibility with regular Flex.
> >>
> >> Thoughts?
> >> -Alex
> >>
> >> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote:
> >>
> >> >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 <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote:
> >> >>
> >> >> 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 request & response
> >> >>
> >> >> I also checked James ward implementation but that does not support
> >> >>vector
> >> >> and blazeds connectivity.
> >> >>
> >> >> I prepared a demo for class mapping and blazeDs connection. If you
> >> >>want to
> >> >> check, please let me know. I will share on github.
> >> >>
> >> >> one query i want to ask , can we convert this amfJS library to
> >>FlexJS
> >> >> Typedef just like createJS library?
> >> >>
> >> >>
> >> >> Regards,
> >> >> Prashant
> >> >>
> >> >>
> >> >>
> >> >> -----
> >> >> Regards,
> >> >> Prashant
> >> >> --
> >> >> View this message in context:
> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fapache-fl
> >>
> >>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p1578
>
> >>>>2.
> >>
> >>
> >>>>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7b344
>
> >>>>38
> >>
> >>
> >>>>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6eQEGj
>
> >>>>Dw
> >>
> >> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
> >> >> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >> >
> >>
> >>
> >>
> >> ------------------------------
> >> If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fl
> >>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C01%
>
> >>7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%
>
> >>7C0%7C0%7C636391013164618149&sdata=%2FOcSNyohTV1%2FJaKe%2BgW%2BHspE%2FV%2
>
> >>FtaoyEdCq2YOzUmq4%3D&reserved=0
> >> tp15510p15798.html
> >> To start a new topic under Apache Flex Users, email
> >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15804&i=2>
> >> To unsubscribe from Apache Flex Users, click here
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-f
> >>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dun
>
> >>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU
>
> >>0MTcyMzE2NA&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a
>
> >>7b34438794aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=oG9TQOL2WHDIm
>
> >>7ixmXea4gFCoUw4j8b0HUsYOw7f4Pk%3D&reserved=0==>
> >> .
> >> NAML
> >>
> >><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-f
> >>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dma
>
> >>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabble.
>
> >>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-n
>
> >>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribers%
>
> >>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send_i
>
> >>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C3a1ce1deff3f47df
>
> >>f8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63639101316
>
> >>4618149&sdata=IBL7nGCu8Fr2VJyGGJvN4eo2j3ciNKaqdMySmNqzEH8%3D&reserved=0>
>
> >>
> >
> >
> >
> >
> >-----
> >Regards,
> >Prashant
> >--
> >View this message in context:
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fle
> >x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-
> tp15510p15803.ht
> >ml&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794
>
> >aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=J3LsrJ3Zxc%2FxglCYj8zwcX
>
> >vDzIX9nCPn0S%2Brd%2BVE9O0%3D&reserved=0
> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-
> tp15510p15804.html
> To start a new topic under Apache Flex Users, email
> ml+s2333346n1h16@n4.nabble.com
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15805.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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 interest is
in backporting amfjs to AS and make the API similar to regular Flex. In
that case, I will refactor the amfjs class map to use the one in our
Reflection library.
-Alex
On 8/23/17, 9:08 AM, "PKumar" <pr...@gmail.com> wrote:
>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 Users]" <
>ml+s2333346n15798h23@n4.nabble.com> wrote:
>
>> 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 doing something right or is there some other problem that needs
>> solving?
>>
>> Some observations along the way:
>>
>> I was able to talk to the server in SWF code just by using
>> NetConnection.call and passing in CommandMessages and RemotingMessages,
>> but the amf.js code seems to be sending an ActionMessage wrapped around
>> the CommandMessage and RemotingMessage. Is that wrapping what
>> NetConnection does?
>>
>> I'm tempted to try to refactor amf.js into several AS classes. Is that
>> worth doing or are there bigger fish to fry?
>>
>> The amf.js code includes a Promise implementation. If we refactor to
>>AS,
>> should we try to use promises or make the API more compatible with
>>regular
>> Flex? I'm leaning towards compatibility with regular Flex.
>>
>> Thoughts?
>> -Alex
>>
>> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote:
>>
>> >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 <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote:
>> >>
>> >> 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 request & response
>> >>
>> >> I also checked James ward implementation but that does not support
>> >>vector
>> >> and blazeds connectivity.
>> >>
>> >> I prepared a demo for class mapping and blazeDs connection. If you
>> >>want to
>> >> check, please let me know. I will share on github.
>> >>
>> >> one query i want to ask , can we convert this amfJS library to
>>FlexJS
>> >> Typedef just like createJS library?
>> >>
>> >>
>> >> Regards,
>> >> Prashant
>> >>
>> >>
>> >>
>> >> -----
>> >> Regards,
>> >> Prashant
>> >> --
>> >> View this message in context:
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fapache-fl
>>
>>>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p1578
>>>>2.
>>
>>
>>>>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7b344
>>>>38
>>
>>
>>>>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6eQEGj
>>>>Dw
>>
>> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
>> >> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>> >
>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-&data=02%7C01%
>>7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%
>>7C0%7C0%7C636391013164618149&sdata=%2FOcSNyohTV1%2FJaKe%2BgW%2BHspE%2FV%2
>>FtaoyEdCq2YOzUmq4%3D&reserved=0
>> tp15510p15798.html
>> To start a new topic under Apache Flex Users, email
>> ml+s2333346n1h16@n4.nabble.com
>> To unsubscribe from Apache Flex Users, click here
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dun
>>subscribe_by_code%26node%3D1%26code%3DcHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU
>>0MTcyMzE2NA&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a
>>7b34438794aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=oG9TQOL2WHDIm
>>7ixmXea4gFCoUw4j8b0HUsYOw7f4Pk%3D&reserved=0==>
>> .
>> NAML
>>
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-users.2333346.n4.nabble.com%2Ftemplate%2FNamlServlet.jtp%3Fmacro%3Dma
>>cro_viewer%26id%3Dinstant_html%2521nabble%253Aemail.naml%26base%3Dnabble.
>>naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-n
>>abble.view.web.template.NodeNamespace%26breadcrumbs%3Dnotify_subscribers%
>>2521nabble%253Aemail.naml-instant_emails%2521nabble%253Aemail.naml-send_i
>>nstant_email%2521nabble%253Aemail.naml&data=02%7C01%7C%7C3a1ce1deff3f47df
>>f8ef08d4ea413522%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63639101316
>>4618149&sdata=IBL7nGCu8Fr2VJyGGJvN4eo2j3ciNKaqdMySmNqzEH8%3D&reserved=0>
>>
>
>
>
>
>-----
>Regards,
>Prashant
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15803.ht
>ml&data=02%7C01%7C%7C3a1ce1deff3f47dff8ef08d4ea413522%7Cfa7b1b5a7b34438794
>aed2c178decee1%7C0%7C0%7C636391013164618149&sdata=J3LsrJ3Zxc%2FxglCYj8zwcX
>vDzIX9nCPn0S%2Brd%2BVE9O0%3D&reserved=0
>Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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 Users]" <
ml+s2333346n15798h23@n4.nabble.com> wrote:
> 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 doing something right or is there some other problem that needs
> solving?
>
> Some observations along the way:
>
> I was able to talk to the server in SWF code just by using
> NetConnection.call and passing in CommandMessages and RemotingMessages,
> but the amf.js code seems to be sending an ActionMessage wrapped around
> the CommandMessage and RemotingMessage. Is that wrapping what
> NetConnection does?
>
> I'm tempted to try to refactor amf.js into several AS classes. Is that
> worth doing or are there bigger fish to fry?
>
> The amf.js code includes a Promise implementation. If we refactor to AS,
> should we try to use promises or make the API more compatible with regular
> Flex? I'm leaning towards compatibility with regular Flex.
>
> Thoughts?
> -Alex
>
> On 8/21/17, 11:02 AM, "Harbs" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15798&i=0>> wrote:
>
> >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 <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15798&i=1>> wrote:
> >>
> >> 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 request & response
> >>
> >> I also checked James ward implementation but that does not support
> >>vector
> >> and blazeds connectivity.
> >>
> >> I prepared a demo for class mapping and blazeDs connection. If you
> >>want to
> >> check, please let me know. I will share on github.
> >>
> >> one query i want to ask , can we convert this amfJS library to FlexJS
> >> Typedef just like createJS library?
> >>
> >>
> >> Regards,
> >> Prashant
> >>
> >>
> >>
> >> -----
> >> Regards,
> >> Prashant
> >> --
> >> View this message in context:
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fl
> >>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15782.
>
> >>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7b34438
>
> >>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6eQEGjDw
>
> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
> >> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-
> tp15510p15798.html
> To start a new topic under Apache Flex Users, email
> ml+s2333346n1h16@n4.nabble.com
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15803.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Harbs <ha...@gmail.com>.
I think rewriting it in ActionScript makes sense.
> On Aug 21, 2017, at 10:26 PM, piotrz <pi...@gmail.com> 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.
>
> Thanks,
> Piotr
>
>
>
> -----
> Apache Flex PMC
> piotrzarzycki21@gmail.com
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15786.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15786.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Do you mean we should rewrite amfjs in ActionScript?
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: piotrz <pi...@gmail.com>
Sent: Monday, August 21, 2017 11:04:56 AM
To: users@flex.apache.org
Subject: Re: Remote object for Flex JS
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
piotrzarzycki21@gmail.com
--
View this message in context: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15784.html&data=02%7C01%7C%7C06ba328091ff4451091e08d4e8bf7cda%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636389356507672230&sdata=k0PObFQ%2BKNslNKbxmNYHLQ6B6Cak6GAAv6ZNUXMkMhU%3D&reserved=0
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15784.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <ah...@adobe.com.invalid>:
> 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 doing something right or is there some other problem that needs
> solving?
>
> Some observations along the way:
>
> I was able to talk to the server in SWF code just by using
> NetConnection.call and passing in CommandMessages and RemotingMessages,
> but the amf.js code seems to be sending an ActionMessage wrapped around
> the CommandMessage and RemotingMessage. Is that wrapping what
> NetConnection does?
>
> I'm tempted to try to refactor amf.js into several AS classes. Is that
> worth doing or are there bigger fish to fry?
>
> The amf.js code includes a Promise implementation. If we refactor to AS,
> should we try to use promises or make the API more compatible with regular
> Flex? I'm leaning towards compatibility with regular Flex.
>
> Thoughts?
> -Alex
>
> On 8/21/17, 11:02 AM, "Harbs" <ha...@gmail.com> wrote:
>
> >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 <pr...@gmail.com> wrote:
> >>
> >> 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 request & response
> >>
> >> I also checked James ward implementation but that does not support
> >>vector
> >> and blazeds connectivity.
> >>
> >> I prepared a demo for class mapping and blazeDs connection. If you
> >>want to
> >> check, please let me know. I will share on github.
> >>
> >> one query i want to ask , can we convert this amfJS library to FlexJS
> >> Typedef just like createJS library?
> >>
> >>
> >> Regards,
> >> Prashant
> >>
> >>
> >>
> >> -----
> >> Regards,
> >> Prashant
> >> --
> >> View this message in context:
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fl
> >>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-
> JS-tp15510p15782.
> >>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8be
> bf0f%7Cfa7b1b5a7b34438
> >>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=
> 9Vgilc%2FEEN6eQEGjDw
> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
> >> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>
>
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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 doing something right or is there some other problem that needs
solving?
Some observations along the way:
I was able to talk to the server in SWF code just by using
NetConnection.call and passing in CommandMessages and RemotingMessages,
but the amf.js code seems to be sending an ActionMessage wrapped around
the CommandMessage and RemotingMessage. Is that wrapping what
NetConnection does?
I'm tempted to try to refactor amf.js into several AS classes. Is that
worth doing or are there bigger fish to fry?
The amf.js code includes a Promise implementation. If we refactor to AS,
should we try to use promises or make the API more compatible with regular
Flex? I'm leaning towards compatibility with regular Flex.
Thoughts?
-Alex
On 8/21/17, 11:02 AM, "Harbs" <ha...@gmail.com> wrote:
>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 <pr...@gmail.com> wrote:
>>
>> 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 request & response
>>
>> I also checked James ward implementation but that does not support
>>vector
>> and blazeds connectivity.
>>
>> I prepared a demo for class mapping and blazeDs connection. If you
>>want to
>> check, please let me know. I will share on github.
>>
>> one query i want to ask , can we convert this amfJS library to FlexJS
>> Typedef just like createJS library?
>>
>>
>> Regards,
>> Prashant
>>
>>
>>
>> -----
>> Regards,
>> Prashant
>> --
>> View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15782.
>>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8bebf0f%7Cfa7b1b5a7b34438
>>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=9Vgilc%2FEEN6eQEGjDw
>>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Re: Remote object for Flex JS
Posted by Harbs <ha...@gmail.com>.
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 <pr...@gmail.com> wrote:
>
> 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 request & response
>
> I also checked James ward implementation but that does not support vector
> and blazeds connectivity.
>
> I prepared a demo for class mapping and blazeDs connection. If you want to
> check, please let me know. I will share on github.
>
> one query i want to ask , can we convert this amfJS library to FlexJS
> Typedef just like createJS library?
>
>
> Regards,
> Prashant
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15782.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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 request & response
I also checked James ward implementation but that does not support vector
and blazeds connectivity.
I prepared a demo for class mapping and blazeDs connection. If you want to
check, please let me know. I will share on github.
one query i want to ask , can we convert this amfJS library to FlexJS
Typedef just like createJS library?
Regards,
Prashant
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15782.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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 do folks think we should just write our own?
Thanks,
-Alex
On 8/19/17, 9:10 AM, "PKumar" <pr...@gmail.com> wrote:
>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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co
>m%2Femilkm%2Famfjs&data=02%7C01%7C%7Ce45b6cdea1224f14a0e008d4e71d2f0c%7Cfa
>7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636387559905269418&sdata=onanCVBE
>Ytv9Pu8BvXf8KCsjuh9y7Gh1w77TdR8EfnY%3D&reserved=0
>
>Good part is that this library is licensed under Apache License 2.0
>
>
>
>-----
>Regards,
>Prashant
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2FRemote-object-for-Flex-JS-tp15510p15775.ht
>ml&data=02%7C01%7C%7Ce45b6cdea1224f14a0e008d4e71d2f0c%7Cfa7b1b5a7b34438794
>aed2c178decee1%7C0%7C0%7C636387559905269418&sdata=o%2Btyo%2BXIwvztKVam2w2L
>hybYlRTOFNTNgbSAy71PSIo%3D&reserved=0
>Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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 part is that this library is licensed under Apache License 2.0
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15775.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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 will try to ping Carlos off the list.
[1] https://goo.gl/fh3v1L
Thanks,
Piotr
-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15774.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <co...@gmail.com> wrote:
>Ok thanks for the update Prashant!
>
>On Tue, Aug 15, 2017 at 6:33 PM, PKumar <pr...@gmail.com> 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 the following exception,
>>
>> "Only string header data supported."
>>
>> i will setup amfphp ant my side and analyze it further.
>>
>> Regards,
>> Prashant
>>
>>
>>
>> -----
>> Regards,
>> Prashant
>> --
>> View this message in context: http://apache-flex-users.
>> 2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15751.html
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
Ok thanks for the update Prashant!
On Tue, Aug 15, 2017 at 6:33 PM, PKumar <pr...@gmail.com> 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 the following exception,
>
> "Only string header data supported."
>
> i will setup amfphp ant my side and analyze it further.
>
> Regards,
> Prashant
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15751.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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 the following exception,
"Only string header data supported."
i will setup amfphp ant my side and analyze it further.
Regards,
Prashant
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15751.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <co...@gmail.com> wrote:
>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 <co...@gmail.com>
>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, PKumar <pr...@gmail.com> wrote:
>>
>>> 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
>>>
>>>
>>>
>>> -----
>>> Regards,
>>> Prashant
>>> --
>>> View this message in context:
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>lex-users.23333&data=02%7C01%7C%7Cd2c9e8c0b0224c553eeb08d4dd67804a%7Cfa7
>>>b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636376884000093162&sdata=fK9cB8X
>>>UCMHqPW4xnPsKaKRXjucuXn2ceefR3PTnAKA%3D&reserved=0
>>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15613.html
>>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>>
>>
>>
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
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 <co...@gmail.com> 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, PKumar <pr...@gmail.com> wrote:
>
>> 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
>>
>>
>>
>> -----
>> Regards,
>> Prashant
>> --
>> View this message in context: http://apache-flex-users.23333
>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15613.html
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>
>
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
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 <pr...@gmail.com> wrote:
> 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
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15613.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15613.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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+s2333346n15596h61@n4.nabble.com> wrote:
> Any luck?
>
> On Tue, Aug 1, 2017 at 8:58 PM, Fréderic Cox <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15596&i=0>> 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 <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15596&i=1>> het
> > volgende geschreven:
> > >
> > > 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]" <
> > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=15596&i=2>>
> wrote:
> > >
> > >> 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 which works fine in the regular Flex SDK
> > >>
> > >> On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox <[hidden email]
> > >> <http:///user/SendEmail.jtp?type=node&node=15577&i=0>>
> > >> wrote:
> > >>
> > >>> 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 then I copied the source files in my
> > >>> project and could compile.
> > >>>
> > >>> However the FaultEvent is immediately returned. What can I do to
> debug
> > >>> here?
> > >>>
> > >>>
> > >>> On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
> > >>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=1>>
>
> > >> wrote:
> > >>>
> > >>>> 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 <+43%20676%203327320> <+43%20676%203327320>
> > >>>> fax: +43 810 9554 249195 <+43%20810%209554249195>
> <+43%20810%209554249195>
> > >>>> Email: [hidden email]
> > >> <http:///user/SendEmail.jtp?type=node&node=15577&i=2>
> > >>>> Web: www.kostenzer.net
> > >>>> UID: ATU56508014
> > >>>>
> > >>>>> Am 27.07.2017 um 09:06 schrieb piotrz <[hidden email]
> > >> <http:///user/SendEmail.jtp?type=node&node=15577&i=3>>:
> > >>>>>
> > >>>>> 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 code itself, so I
> would
> > >> be
> > >>>>> happy to help you setup environment for that purpose if you
> needed.
> > >>>>> I will refresh "amf" branch today with newest code from "develop".
> > >>>>>
> > >>>>> [1]
> > >>>>> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-
> > >>>> AMF-branch-feature-amf-Starting-the-effort-Special-
> > >>>> Thanks-to-PKumar-td59640.html
> > >>>>> [2] https://github.com/apache/flex-asjs/tree/feature/amf
> > >>>>>
> > >>>>> Thanks,
> > >>>>> Piotr
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> -----
> > >>>>> Apache Flex PMC
> > >>>>> [hidden email] <http:///user/SendEmail.jtp?
> type=node&node=15577&i=4>
> > >>>>> --
> > >>>>> View this message in context: http://apache-flex-users.23333
> > >>>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
> > >>>>> Sent from the Apache Flex Users mailing list archive at
> Nabble.com.
> > >>>>
> > >>>>
> > >>>
> > >>
> > >>
> > >> ------------------------------
> > >> If you reply to this email, your message will be added to the
> discussion
> > >> below:
> > >> http://apache-flex-users.2333346.n4.nabble.com/Remote-
> > object-for-Flex-JS-
> > >> tp15510p15577.html
> > >> To start a new topic under Apache Flex Users, email
> > >> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15596&i=3>
> > >> To unsubscribe from Apache Flex Users, click here
> > >> <http://apache-flex-users.2333346.n4.nabble.com/
> > template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=
> > cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> > >> .
> > >> NAML
> > >> <http://apache-flex-users.2333346.n4.nabble.com/
> > template/NamlServlet.jtp?macro=macro_viewer&id=instant_
> > html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.
> > BasicNamespace-nabble.view.web.template.NabbleNamespace-
> > nabble.view.web.template.NodeNamespace&breadcrumbs=
> > notify_subscribers%21nabble%3Aemail.naml-instant_emails%
> > 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> > >>
> > >
> > >
> > >
> > >
> > > -----
> > > Regards,
> > > Prashant
> > > --
> > > View this message in context: http://apache-flex-users.
> > 2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15585.html
> > > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-
> tp15510p15596.html
> To start a new topic under Apache Flex Users, email
> ml+s2333346n1h16@n4.nabble.com
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15599.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
Any luck?
On Tue, Aug 1, 2017 at 8:58 PM, Fréderic Cox <co...@gmail.com> 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 <pr...@gmail.com> het
> volgende geschreven:
> >
> > 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+s2333346n15577h72@n4.nabble.com> wrote:
> >
> >> 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 which works fine in the regular Flex SDK
> >>
> >> On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15577&i=0>>
> >> wrote:
> >>
> >>> 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 then I copied the source files in my
> >>> project and could compile.
> >>>
> >>> However the FaultEvent is immediately returned. What can I do to debug
> >>> here?
> >>>
> >>>
> >>> On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
> >>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=1>>
> >> wrote:
> >>>
> >>>> 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 <+43%20676%203327320>
> >>>> fax: +43 810 9554 249195 <+43%20810%209554249195>
> >>>> Email: [hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15577&i=2>
> >>>> Web: www.kostenzer.net
> >>>> UID: ATU56508014
> >>>>
> >>>>> Am 27.07.2017 um 09:06 schrieb piotrz <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15577&i=3>>:
> >>>>>
> >>>>> 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 code itself, so I would
> >> be
> >>>>> happy to help you setup environment for that purpose if you needed.
> >>>>> I will refresh "amf" branch today with newest code from "develop".
> >>>>>
> >>>>> [1]
> >>>>> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-
> >>>> AMF-branch-feature-amf-Starting-the-effort-Special-
> >>>> Thanks-to-PKumar-td59640.html
> >>>>> [2] https://github.com/apache/flex-asjs/tree/feature/amf
> >>>>>
> >>>>> Thanks,
> >>>>> Piotr
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> -----
> >>>>> Apache Flex PMC
> >>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=4>
> >>>>> --
> >>>>> View this message in context: http://apache-flex-users.23333
> >>>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
> >>>>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>
> >>
> >>
> >> ------------------------------
> >> If you reply to this email, your message will be added to the discussion
> >> below:
> >> http://apache-flex-users.2333346.n4.nabble.com/Remote-
> object-for-Flex-JS-
> >> tp15510p15577.html
> >> To start a new topic under Apache Flex Users, email
> >> ml+s2333346n1h16@n4.nabble.com
> >> To unsubscribe from Apache Flex Users, click here
> >> <http://apache-flex-users.2333346.n4.nabble.com/
> template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=
> cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> >> .
> >> NAML
> >> <http://apache-flex-users.2333346.n4.nabble.com/
> template/NamlServlet.jtp?macro=macro_viewer&id=instant_
> html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.
> BasicNamespace-nabble.view.web.template.NabbleNamespace-
> nabble.view.web.template.NodeNamespace&breadcrumbs=
> notify_subscribers%21nabble%3Aemail.naml-instant_emails%
> 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >>
> >
> >
> >
> >
> > -----
> > Regards,
> > Prashant
> > --
> > View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15585.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
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 <pr...@gmail.com> het volgende geschreven:
>
> 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+s2333346n15577h72@n4.nabble.com> wrote:
>
>> 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 which works fine in the regular Flex SDK
>>
>> On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15577&i=0>>
>> wrote:
>>
>>> 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 then I copied the source files in my
>>> project and could compile.
>>>
>>> However the FaultEvent is immediately returned. What can I do to debug
>>> here?
>>>
>>>
>>> On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=1>>
>> wrote:
>>>
>>>> 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 <+43%20676%203327320>
>>>> fax: +43 810 9554 249195 <+43%20810%209554249195>
>>>> Email: [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15577&i=2>
>>>> Web: www.kostenzer.net
>>>> UID: ATU56508014
>>>>
>>>>> Am 27.07.2017 um 09:06 schrieb piotrz <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15577&i=3>>:
>>>>>
>>>>> 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 code itself, so I would
>> be
>>>>> happy to help you setup environment for that purpose if you needed.
>>>>> I will refresh "amf" branch today with newest code from "develop".
>>>>>
>>>>> [1]
>>>>> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-
>>>> AMF-branch-feature-amf-Starting-the-effort-Special-
>>>> Thanks-to-PKumar-td59640.html
>>>>> [2] https://github.com/apache/flex-asjs/tree/feature/amf
>>>>>
>>>>> Thanks,
>>>>> Piotr
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -----
>>>>> Apache Flex PMC
>>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=4>
>>>>> --
>>>>> View this message in context: http://apache-flex-users.23333
>>>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
>>>>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-
>> tp15510p15577.html
>> To start a new topic under Apache Flex Users, email
>> ml+s2333346n1h16@n4.nabble.com
>> To unsubscribe from Apache Flex Users, click here
>> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
>> .
>> NAML
>> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15585.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by PKumar <pr...@gmail.com>.
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+s2333346n15577h72@n4.nabble.com> wrote:
> 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 which works fine in the regular Flex SDK
>
> On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15577&i=0>>
> wrote:
>
> > 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 then I copied the source files in my
> > project and could compile.
> >
> > However the FaultEvent is immediately returned. What can I do to debug
> > here?
> >
> >
> > On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=1>>
> wrote:
> >
> >> 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 <+43%20676%203327320>
> >> fax: +43 810 9554 249195 <+43%20810%209554249195>
> >> Email: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15577&i=2>
> >> Web: www.kostenzer.net
> >> UID: ATU56508014
> >>
> >> > Am 27.07.2017 um 09:06 schrieb piotrz <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15577&i=3>>:
> >> >
> >> > 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 code itself, so I would
> be
> >> > happy to help you setup environment for that purpose if you needed.
> >> > I will refresh "amf" branch today with newest code from "develop".
> >> >
> >> > [1]
> >> > http://apache-flex-development.2333347.n4.nabble.com/FlexJS-
> >> AMF-branch-feature-amf-Starting-the-effort-Special-
> >> Thanks-to-PKumar-td59640.html
> >> > [2] https://github.com/apache/flex-asjs/tree/feature/amf
> >> >
> >> > Thanks,
> >> > Piotr
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > -----
> >> > Apache Flex PMC
> >> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=4>
> >> > --
> >> > View this message in context: http://apache-flex-users.23333
> >> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
> >> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >>
> >>
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-
> tp15510p15577.html
> To start a new topic under Apache Flex Users, email
> ml+s2333346n1h16@n4.nabble.com
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15585.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
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 which works fine in the regular Flex SDK
On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox <co...@gmail.com>
wrote:
> 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 then I copied the source files in my
> project and could compile.
>
> However the FaultEvent is immediately returned. What can I do to debug
> here?
>
>
> On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
> christian@kostenzer.net> wrote:
>
>> 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: christian@kostenzer.net
>> Web: www.kostenzer.net
>> UID: ATU56508014
>>
>> > Am 27.07.2017 um 09:06 schrieb piotrz <pi...@gmail.com>:
>> >
>> > 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 code itself, so I would be
>> > happy to help you setup environment for that purpose if you needed.
>> > I will refresh "amf" branch today with newest code from "develop".
>> >
>> > [1]
>> > http://apache-flex-development.2333347.n4.nabble.com/FlexJS-
>> AMF-branch-feature-amf-Starting-the-effort-Special-
>> Thanks-to-PKumar-td59640.html
>> > [2] https://github.com/apache/flex-asjs/tree/feature/amf
>> >
>> > Thanks,
>> > Piotr
>> >
>> >
>> >
>> >
>> >
>> > -----
>> > Apache Flex PMC
>> > piotrzarzycki21@gmail.com
>> > --
>> > View this message in context: http://apache-flex-users.23333
>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
>> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>>
>
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
Did you check Carlos's thread and one of his project which he created ?
Thanks,
Piotr
-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15584.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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 merged code from our develop branch to "amf", so everything
is fresh.
Piotr
-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15583.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
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 <pi...@gmail.com> het volgende geschreven:
>
> 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
> piotrzarzycki21@gmail.com
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15581.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15581.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Fréderic Cox <co...@gmail.com>.
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 then I copied the source files in my
project and could compile.
However the FaultEvent is immediately returned. What can I do to debug here?
On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
christian@kostenzer.net> wrote:
> 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: christian@kostenzer.net
> Web: www.kostenzer.net
> UID: ATU56508014
>
> > Am 27.07.2017 um 09:06 schrieb piotrz <pi...@gmail.com>:
> >
> > 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 code itself, so I would be
> > happy to help you setup environment for that purpose if you needed.
> > I will refresh "amf" branch today with newest code from "develop".
> >
> > [1]
> > http://apache-flex-development.2333347.n4.nabble.
> com/FlexJS-AMF-branch-feature-amf-Starting-the-effort-
> Special-Thanks-to-PKumar-td59640.html
> > [2] https://github.com/apache/flex-asjs/tree/feature/amf
> >
> > Thanks,
> > Piotr
> >
> >
> >
> >
> >
> > -----
> > Apache Flex PMC
> > piotrzarzycki21@gmail.com
> > --
> > View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
Re: Remote object for Flex JS
Posted by Christian Kostenzer <ch...@kostenzer.net>.
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: christian@kostenzer.net
Web: www.kostenzer.net
UID: ATU56508014
> Am 27.07.2017 um 09:06 schrieb piotrz <pi...@gmail.com>:
>
> 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 code itself, so I would be
> happy to help you setup environment for that purpose if you needed.
> I will refresh "amf" branch today with newest code from "develop".
>
> [1]
> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-AMF-branch-feature-amf-Starting-the-effort-Special-Thanks-to-PKumar-td59640.html
> [2] https://github.com/apache/flex-asjs/tree/feature/amf
>
> Thanks,
> Piotr
>
>
>
>
>
> -----
> Apache Flex PMC
> piotrzarzycki21@gmail.com
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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 code itself, so I would be
happy to help you setup environment for that purpose if you needed.
I will refresh "amf" branch today with newest code from "develop".
[1]
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-AMF-branch-feature-amf-Starting-the-effort-Special-Thanks-to-PKumar-td59640.html
[2] https://github.com/apache/flex-asjs/tree/feature/amf
Thanks,
Piotr
-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by Christian Kostenzer <ch...@kostenzer.net>.
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 <pi...@gmail.com>:
>
> 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
> piotrzarzycki21@gmail.com
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15512.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Remote object for Flex JS
Posted by piotrz <pi...@gmail.com>.
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
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15512.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.