Hi,
i'm currently experiencing a problem with the
conversion of an actionscript class to a java class
during a service call with Flex 1.5.
I get a the following error when trying to call an
update service :
"The expected argument types are (myPackage.UserData)
but the supplied types were (flashgateway.io.ASObject)
and converted to (null)."
My UserData java object has the following properties :
private String userId;
private String firstname;
private String lastname;
private String email;
private Map properties;
and thus, my corresponding PersonalDetailsVO value
object has the following properties :
public var userId:String ;
public var email:String;
public var firstname:String;
public var lastname:String;
public var properties:Object;
public static var registered:Boolean =
Object.registerClass( "myPackage.UserData",
PersonalDetailsVO );
The java method i call from Flex is :
public boolean update(UserData userData)
and i call it with a :
service.update(personalDetails);
where personalDetails is a PersonalDetailsVO
The weird thing is that in a first call to get an
existing value for my UserData, everything goes fine
and i get a valid PersonalDetailsVO in my Flex
application. But when i try to call an update with a
UserData parameter, i had the previous error.
Anyone got a clue?:(
Thanks a lot,
Antoine
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/