Since your Java API:
public void Lista(PfVO pf)
expects a strongly typed "PfVO" object, then you need to send a typed
object from your:
Aggiorna(vo:Object):Void
ActionScript function. Either change your client code to:
Aggiorna(vo:vo.as400.PfVO):Void
To ensure you're only sending instances of this type, or relax the API
on your Java class to:
public void Lista(Map pf)
and manually construct your java instance of PfVO yourself.
I noticed that your PfVO class has many other strongly typed fields -
are all of these classes correctly registered and sent over the wire?
Also, are all of these types matched with corresponding Java classes?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 8:07 AM
To: Flex Coders
Subject: [flexcoders] Cannot invoke method
Hi,
i have this problem, if you can you look my code, if you look my mxml
file when press "PassaPOJO" button, flex lunch this error
Error: Cannot invoke method 'Lista'.
Why? what i wrong, please can you help me
java side simple function
public void Lista(PfVO pf)
{
System.out.print(pf.getDe50pf());
}
Devis
Yahoo! Groups Links