remoteobject

Flex RemoteObject + Zend AMF Server problem

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

Flash RemoteObject Weborb connection without services-config.xml (no Flex)

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

How do I prevent RemoteObject from batching AMF messages together?

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

Zend AMF implementation and AMF protocol security

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

Using Flex to map locations from Zend Amf

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

Flex Unit - testing a library wrapping remote objects

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

How to transform a string in function and concatenate with an object?

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

In what situation would we make use of remote object invocation?

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

flex 4, amfphp, modules - problem with parallel call server function

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

Using Mate's RemoteObjectInvoker with C# classes

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

Receiving generic typed <T> custom objects through remote object in Flex

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

Live propagation of DataGrid / ArrayCollection when changing values in Flex application.

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

In flex how do I pass data retrieved from a remote object service to a modules interface?

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

Get object information in a running process

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

RemoteObject ReferenceError handling

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

Populating an ArrayCollection property using [RemoteClass]

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

Accessing a java method in a flex object

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

Check if data sent from Flex to Java server is zipped or not

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

Flex remoteObject compression

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

Flex 4 Best Practice when using RemoteObject and multiple components

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