Hi, thank's for your help but with Aggiorna(vo:vo.as400.PfVO):Void flex throw again Error: Cannot invoke method 'Lista'. I have review all my classes, and if i use them when retrive data , work fine, for example public PfVO[] Retrive_PF() the code work!!!, I'm not more thing to check. Help please. Devis
-----Original Message----- From: "Peter Farland" <[EMAIL PROTECTED]> To: <[email protected]> Date: Mon, 14 Mar 2005 10:22:18 -0500 Subject: RE: [flexcoders] Cannot invoke method > > 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 > > > > > > > > Yahoo! Groups Links > > > >

