tags:

views:

444

answers:

2

In a Mate EventHandler tag I have an RemoteObjectInvoker tag.

<RemoteObjectInvoker 
    destination="zend"
    source="AccountService"
    method="createAccount"
    arguments="{event.fname}"
    showBusyCursor="true"
    debug="true">
.../>

The server is PHP using the Zend Framework. I am using Zend_Amf for the remote object calls.

The problem I've having is with the arguments property of the RemoteObjectInvoker tag. The online documentation says the arguments property expects an array. But in some of the examples is shows an object can also be used. It does not matter what I use (object, array) they all resolve to a value of 1 on the server. I turned on debugging in Mate, which says the class or array or string is being passed.

Any ideas on how to troubleshoot this problem?

A: 

I don't have a perfect solution for you, but you might find the following discussion intersting:

http://mate.asfusion.com/forums/topic.php?id=605

Tom
A: 

Thank Tom.

I bypassed Mate by storing the RemoteObject in a manager class. After doing this I am getting the same results (but slightly better) from Flex. Leading me to believe I have a different problem than Mate. I cannot pass an array or object to the server at all. The right method (on the server) is responding, but my dump statements (on the server) shows that no data is being passed to the server. Thanks for the response.