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<mailto:[email protected]>
Sent: Wednesday, 19 September 2018 8:30 PM
To: [email protected]<mailto:[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

[Image removed by 
sender.]<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>

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%7C636729804117561328&sdata=xzkZ5tbKxA54hjbCQsDGzPtQjLa%2BdyxmN9uigiV0jrA%3D&reserved=0>



Reply via email to