So I have my AMF set up going.. and I have run over an awkward occurrence,
if anyone has insight I would love to hear it.
I created my VOs with:

class PictureVO {  public $_explicitType = 'com.marines.officer.Picture; }

This works great outbound.. no problem. Flash sees the PictureVO as
com.marines.officer.Picture. However, when Flash changes the object and
tries to send it -back- to me.. it doesn't get mapped..  I get this error
from Zend_Amf_Request:

"Unable to parse null body data com.marines.officer.User mapped class  is
not defined"

So I then add the following in my AMF Gateway:

$server->setClassMap('com.marines.officer.Picture', 'PictureVO');


and now it works great, execpt Flash rejects the _explicitType.. so it's not
transforming with _explicitType and _explicitType is making it back to the
Flash domain. Is there a way to map inbound objects w/o using
->setClassMap()..

Thanks,
Josh Team

Reply via email to