Carlos,

Just let us summary later.

Thanks,
Piotr

On Thu, Sep 20, 2018, 11:55 PM Carlos Rovira <[email protected]>
wrote:

> Hi Darrel,
>
> just to let others know, we are talking privately about this issue looking
> to sensible data.
> We'll report here once we get to some conclusion.
>
> Thanks
> Carlos
>
> El jue., 20 sept. 2018 a las 17:29, Darrell Vermaak (<
> [email protected]>) escribió:
>
>> Hi Carlos, Alex
>>
>>
>>
>> After much digging I can see that the body of the POST from Apache Royale
>> RemoteObject is very different to the body of the POST from Flex. Does this
>> mean that Flex/PHP is not compliant with AMF? The headers only differ in
>> the Accept details where Royale uses “*/*” while Flex uses
>> “text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,*/*”.
>>
>>
>>
>> If I modify Zend’s php and hard code the operation,body,source to be the
>> same as Flex then Royale is able to correctly handle the returned data as
>> an Array of objects. This is very exciting as the POST should not be too
>> much of a challenge?
>>
>>
>>
>> I can send you the 2 pcap files or the 2 POSTs in a zip file if this will
>> help.
>>
>>
>>
>> I would really like to be able to use Royale as a replacement for Flex
>> and be abe to use my backend data services as I migrate to Royale.
>>
>>
>>
>> Please let me know what the next step is.
>>
>>
>>
>> Regards
>>
>>
>>
>> Darrell
>>
>>
>>
>> *From: *Carlos Rovira <[email protected]>
>> *Sent: *Thursday, 20 September 2018 11:07 AM
>> *To: *[email protected]
>> *Subject: *Re: Apache Royale App / Zend-Amf
>>
>>
>>
>> Ok Darrell,
>>
>>
>>
>> for what you say it seems just a matter of fight with the config and
>> check that all pieces in code are set up. I had to do the same when I
>> started! ;)
>>
>> For example I recommend as well to double check that you have set the
>> ClassAlias bead, and check the code in the examples with have in our repo
>> (both the client and the server, although the later is Java/BlazeDS, since
>> it can give you some hint or idea)
>>
>>
>>
>> Good luck, and we'll wait for your results! :)
>>
>>
>>
>> Carlos
>>
>>
>>
>>
>>
>> El jue., 20 sept. 2018 a las 10:53, Darrell Vermaak (<
>> [email protected]>) escribió:
>>
>> Hi Carlos
>>
>>
>>
>> Thanks for looking into this.
>>
>>
>>
>> I have built a simple Flex application to do the exact same thing – I now
>> want to compare the packets sent by the Flex app to the packets sent by the
>> Apache Royale app to see if I can find the difference(s). I think something
>> is missing in my Apache Royale app. In the developer tools of Chrome I can
>> see that Zend Amf is complaining that Method “null” does not exist. I am
>> trying to determine why Zend Amf thinks I am calling method null.
>>
>>
>>
>> Let me dig a bit further on my side – any pointers would be appreciated
>> in the mean time.
>>
>>
>>
>> Many thanks
>>
>>
>>
>> Regards
>>
>>
>>
>> Darrell
>>
>>
>>
>> *From: *Carlos Rovira <[email protected]>
>> *Sent: *Thursday, 20 September 2018 10:21 AM
>> *To: *[email protected]
>> *Subject: *Re: Apache Royale App / Zend-Amf
>>
>>
>>
>> Hi Darrell,
>>
>>
>>
>> I worked on AMF/RemoteObject feature along with Alex and solve some
>> things for others coming. Actually others had success with the following
>> kind of servers: BlazeDS, AMFPHP, ColdFusion, (and I think I left one
>> more...)
>>
>>
>>
>> This is the first time we get a request for ZendAMF so we need to see
>> what's could be the problem, since it can be a bug or something in the
>> config is not totally right.
>>
>>
>>
>> First: About small messages. Please check if Zend uses this format. If so
>> you need to turn off this config. Until now, FWIK, only BlazeDS has this
>> feature and we bypass this problem (for now, until we implement small
>> messages some day) turning this off.
>>
>>
>>
>> About encoding/decoding. it would seem strange to me we have some problem
>> in that part, since we try to transfer different objects with almost all
>> kind of data nested and it worked, but it could be a possibility. As well
>> Zend could be expecting something different. So, for this I recommend you
>> take some tool to see the AMF packets (one I think works very well is
>> Charles Proxy Server). So you can see what you are sending and see the
>> response.
>>
>>
>>
>> To help more from here, and taking into account we don't have zend amf
>> experience, we'll need to work close with you to help get to the problem.
>> So the other things you can do is send here a simple service config you are
>> using in your server and the code you are using in your Royale client to
>> see if we can detect something strange and propose some change for you to
>> try.
>>
>>
>>
>> With all of this I think we finally should find where's the issue.
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> El mié., 19 sept. 2018 a las 21:40, Alex Harui (<[email protected]>)
>> escribió:
>>
>> Hi Darrell,
>>
>>
>>
>> Is there any way for you to get more definitive information from the
>> server as to whether the request was not understood and maybe what it sent
>> back?  Maybe a log with IP and time and error?
>>
>>
>>
>> I never really used the Data/Services feature in Flash Builder, but in
>> the few times I debugged a test case that used it, I was under the
>> impression that the end result was a set of data classes and I think some
>> methods that wrapped RemoteObject calls.  But all of that should be in .as
>> files and once you have them, I think you can use any build tools like Ant
>> to build the project.  You shouldn’t actually need Flash Builder to build
>> it.
>>
>>
>>
>> So, assuming you have the .as files, they should compile in Royale.  I
>> think we’d be interested in seeing if there are some other dependencies you
>> need to compile cleanly.  But in the end, those data classes should have
>> [RemoteClass] metadata and Royale should be able to handle that.  We would
>> want the server to send the same AMF packet as it is more efficient over
>> the wire.  I’m not even sure how to configure the server to send a large
>> string instead.  I think there is an AMF/HTTP channel but I don’t think it
>> is very efficient.
>>
>>
>>
>> I’m have at least one other nasty bug to work on so hopefully some other
>> volunteer will take a look at this, but if not I will get around to it
>> after I clear these other tasks.
>>
>>
>>
>> -Alex
>>
>>
>>
>>
>>
>> *From: *Darrell Vermaak <[email protected]>
>> *Reply-To: *"[email protected]" <[email protected]>
>> *Date: *Wednesday, September 19, 2018 at 12:00 PM
>> *To: *"[email protected]" <[email protected]>
>> *Subject: *RE: Apache Royale App / Zend-Amf
>>
>>
>>
>> Hi Alex
>>
>>
>>
>> Thanks for your response.
>>
>>
>>
>> I have read the threads that I could find (I have been searching for a
>> few days now).
>>
>>
>>
>> The test case should return 81 rows. From what I can tell the server
>> receives the request but then either amf returns an error or Apache Royale
>> is having a problem with the returned data.
>>
>>
>>
>> I think that the amf server is unable to process the request because I am
>> not sending/using the correct information in my connection to the server.
>>
>>
>>
>> The server is correctly configured as we use this server for ongoing Flex
>> / PHP development. What I do not have is a file that translates the data
>> types between PHP and Apache Royale (valueObjects). Adobe Flash builder
>> which we use for Flex development has the Data/Services feature which
>> creates the services for us in Flex – but I cant figure out what to do with
>> this in Apache Royale. As a result I am just expecting to get a large
>> String back from the server which can be converted into an ArrayCollection.
>>
>>
>>
>> The test url is http://toacdev.peritus.co.za/VSCode/js-debug/index.html
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftoacdev.peritus.co.za%2FVSCode%2Fjs-debug%2Findex.html&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117541309&sdata=2TB4DQ6JF4mV9P8bZwb5vYveYIcObHOy0xQkzPQBvoc%3D&reserved=0>
>>
>>
>>
>> I would be happy to send you the Apache Royale code and the PHP code.
>>
>>
>>
>> Thanks for your assistance
>>
>>
>>
>> Darrell
>>
>>
>>
>> *From: *Alex Harui <[email protected]>
>> *Sent: *Wednesday, 19 September 2018 8:30 PM
>> *To: *[email protected]
>> *Subject: *Re: Apache Royale App / Zend-Amf
>>
>>
>>
>> AMF is pretty new so there might be issues.  Have you read the recent
>> past threads about AMF?  I think there is an issue with small messages.
>>
>>
>>
>> Are you getting any errors on the server side?
>>
>>
>>
>> Do you have a small test case we can debug (we would need to be able to
>> run it against your server)?
>>
>>
>>
>> Thanks,
>>
>> -Alex
>>
>>
>>
>> *From: *Darrell Vermaak <[email protected]>
>> *Reply-To: *"[email protected]" <[email protected]>
>> *Date: *Wednesday, September 19, 2018 at 9:43 AM
>> *To: *"[email protected]" <[email protected]>
>> *Subject: *Apache Royale App / Zend-Amf
>>
>>
>>
>>
>>
>> Hi
>>
>>
>>
>> I am struggling to get a basic Apache Royale app to communicate with
>> zend-amf (PHP based amf server).
>>
>>
>>
>> Does Apache Royale support zend-amf v1.11?
>>
>>
>>
>> I am trying to connect to services that I created for Flex applications –
>> however I am unable to receive data back from the zend-amf server. I seem
>> to be missing something.
>>
>>
>>
>> Any help would be appreciated
>>
>>
>>
>> Thanks
>>
>>
>>
>> Virus-free. www.avast.com
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>>
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>>
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>>
>>
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>>
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>> --
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>> Carlos Rovira
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>> http://about.me/carlosrovira
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>>
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>>
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=02%7C01%7Caharui%40adobe.com%7C442bcd8033264586296408d61e621de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636729804117551319&sdata=kp6hecKFYr9timxj%2ByP8cRPcn4%2BHfO2cTHit8JTcQbE%3D&reserved=0>
>>
>>
>>
>>
>> --
>>
>> Carlos Rovira
>>
>> http://about.me/carlosrovira
>>
>>
>>
>>
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

Reply via email to