Are you using PHP or Java?
I have been able to do it fine using AMFPHP. In fact with PHP 5 you
can use type hinting to force method parameters to be a specific VO.
I would have to look at the code to see why it is not working, but it
should work fine by just sending the VO through as a parameter of the
called service. That said, since PHP is not strictly typed, so
sending typed objects through to remoting services are not all that
meaningful (or useful) unless you are planning to enforce the limited
type hinting of PHP 5. Either way, in PHP, you need to verify that
you got what you were expecting.
I have only used FDS with Java, so I can't say for certain that it
works with RPC, however from what I understand, it should.
- Kevin
On May 3, 2007, at 7:56 PM, Austin Kottke wrote:
Thanks Kevin,
I've been unable to send a remoteclass TO a server, I've been
able to receive
remoteclasses and the binding works fine, sending is a different
story.
I'm not using FDS however, so it possibly might be a drawback
in the server.
Best, Austin
Kevin wrote:
yes.
HOW depends a little on where you are going with it (Java or PHP
or ??) but you use the [RemoteClass (alias=''some.server.class")]
to map your AS VO to your server VO. With PHP, you will need to
use the $_explicitType variable in your PHP classes.
- Kevin
On May 3, 2007, at 4:40 PM, Austin Kottke wrote:
Hi - is it possible to send an array of VOs over an AMF3 gateway
to a
server and have
the server correctly parse this?
I've noticed that only strings and ints are supported in the
tests I'm
doing. Is this true?
Best, Austin