ZF2-160: Cannot send Array of Objects From Flex to Zend Amf PHP Server
I´m trying to send an array of objects from flex to a zend amf php server. every time, when i make the call, i get this error:
(flash.events::NetStatusEvent)#0 bubbles = false cancelable = false currentTarget = (flash.net::NetConnection)#1 client = (flash.net::NetConnection)#1 connected = false httpIdleTimeout = 0 maxPeerConnections = 32 objectEncoding = 3 proxyType = "none" uri = "http://localhost/project/gateway.php" eventPhase = 2 info = (Object)#2 code = "NetConnection.Call.BadVersion" description = "" details = "" level = "error" target = (flash.net::NetConnection)#1 type = "netStatus"
when i make the call with null as param: _serverConnect.call("UserService.updateTable",_exportNewAndUpdatedUsersToServer,null); no error appears.
but when i give an array of objects (result from sql query), i get the error.