royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: Apache Royale App / Zend-Amf
Date Wed, 19 Sep 2018 19:38:17 GMT
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.


From: Darrell Vermaak <>
Reply-To: "" <>
Date: Wednesday, September 19, 2018 at 12:00 PM
To: "" <>
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

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

I would be happy to send you the Apache Royale code and the PHP code.

Thanks for your assistance


From: Alex Harui<>
Sent: Wednesday, 19 September 2018 8:30 PM
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


From: Darrell Vermaak <>
Reply-To: "" <>
Date: Wednesday, September 19, 2018 at 9:43 AM
To: "" <>
Subject: Apache Royale App / Zend-Amf


I am struggling to get a basic Apache Royale app to communicate with zend-amf (PHP based amf

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


[Image removed by sender.]<>


View raw message