Hello!
I am working with php, Flex and zend's AMF Server using this guide. I successfully managed to connect php with Flex but after 'reconstruction' of my MySQL query I get a little bit different objects - some of their values are NULL. That confuses Flex and I get an error from my RemoteObject:
Was expecting mx.messaging.messages.Ackno...
Context : I'm working on a Flash application developed with FDT and compiled with Flash CS4 (I need a huge library). It should connect to various Weborb services.
Weborb is properly configured. My services are properly executed, and values returned, via the management console. Weborb examples as well as various tests compiled with Flex ...
I am using Google AppEngine, in conjunction with PyAMF to provide RemoteObject support. In my Flex code I make several RemoteObject method calls at once which tends to batch the AMF Messages into a single HTTP request.
Most of the time this is fine but AppEngine applies some strict per request limits (in this case I am hitting a Deadlin...
I have a Flex frontend connecting via RemoteObject to Zend Framework's Zend Amf. This is my only means to transport data between client layer (Flex) and the application and persistence layers (LAMP with Zend Framework).
Some ways I can address security are as follows:
I can address TLS by using mx.messaging.channels.SecureAMFChannel in...
Am looking for sample code snippets which will help me specifially on how to tag locations on my flex based google maps using coordinates stored in a database.
Am using Zend Amf and RemoteObjects to achieve this end.
So far I have succesfully display the map on the onReady event
map.setCenter(new LatLng(0.402096, 37.701416), 6, MapType...
I'm wrapping RemoteObject inside a class for easier managing of retries, timeouts, failures and such non standard scenarios. So when wrapping a RemoteObject inside another class, how would I go about unit testing this?
Here is an example of how to use the class:
// set up the object as you would a RemoteObject, but without events:
var...
Hello people, I have the following code in actionscript 3:
var async:AsyncToken;
async = bridge.retornamenu();
The bridge is a remote object, instantiated.
The retornamenu() is the function that I want the remote object open in amfphp.
However the retornamenu() is a dynamic function, which turns another function, but I can not run i...
I am just learning about remote object invocation and wanted to know (other than java rmi ) when would someone create a system that was distributed and make use of remote object invocation? I think if i can see the real world use of it then i can understand it better
...
Hello,
I have problem with parallel call (by RemoteObject calss) AMFPHP method.
AMFPHP side:
method_1
methot_2
Flex side:
call method_1
call method_2 before method_1 send result
Result/errors:
in Flex log: Error "delivery in doubt".
In PHP log: Fatal error: Cannot redeclare class AmfphpGateway in (my path)/AmfphpGateway.php on line 6
...
I'm using the Mate framework for Flex and communicating with a server running C#. I'm having trouble mapping C# classes to ActopnScript classes. I've got it working fine for simple classes and built in datatypes.
If I have a C# method in my API that returns a API.Foo.Result< API.Foo.Bar > what name do I use for my RemoteClass alias? Do ...
Is it possible to receive custom generic typed objects through AMF? I'm trying to integrate a flex app with an existing C# service but flex is choking on custom generic typed objects. As far as I can tell Flex doesn't even support generics, but I'd like to be able to even just read in the object and cast its members as necessary. I basic...
I've seen a bunch of screencasts demonstrating the integration between blazeds and flex, also some lcds tutorials, model driven or not.
I've seen that some of them the presenter opens 2 browsers and once you change one value in a grid, it propagates to all other grids that presents the data.
I am wondering how the heck this is done, an...
I found at this Adobe tutorial a nice "RemoteService" class that creates a RemoteObject and contains the functions for handling the result and fault events. If I wanted to use this approach, how could I pass the data from the result handler to interfaces that modules from the main application could use?
I could put the RemoteService/Re...
I have a vb.net application which runs as a service. I also have another Windows application that serves as the service interface.
In brief the service watches some folders for new files and imports them into various databases. In the service I have an class called 'importFile' containing basic properties such as 'FileName' and 'ImportS...
I use amf calls in flex application.
I've created actionscipt class with RemoteObject metatag for synchroinzation with PHP server class.
The PHP-actoinscript class conversion works well, but I've specially tested invalid case when actionscript class doesn't have field which exists in PHP class. I've got ReferenceError message in my outp...
OK, I am passing a complex object from my .NET library to my Flex application via WebOrb.
In order to automatically translate, I am using the [RemoteClass] meta data tag as follows:
[RemoteClass(alias="test.PlanVO")]
public class Plan
{
[SyncId]
public var id:int;
public var Name:String;
}
This works absolutely fine, unti...
Assume I have the following java class
public class Square {
private Long id;
private double sideLength;
public void setSideLength(double sideLength) {
this.sideLength = sideLength;
}
public double getSideLength() {
return this.sideLength;
}
public double getArea() {
return sid...
Hello,
I want to analyse if the XML I send from my client Flex to my Java using remoteObject is compressed or not.
for this, I'm using Wireshark, but it can't get packets in the localhost (windows vista)
how can I do that ?
...
I have a Flex application which sends/receive a lot of data to/from the server. The bandwidth usage is high.
I'm using RemoteObject to send an XML(Document in Java). So I'd like to compress this XML and reduce the size.
...
Hello!
I was wondering what is considered to be a best practice when I have multiple components and use RemoteObject for AMF communication with a PHP backend.
Have the RemoteObject in the Main.mxml file with all the methods declared here (with handlers and all) and have all components call functions from the parentApplication, thus ha...