Christoph,
Actually, I haven't solved it yet. It trying different things, which mostly amount to working *around* the problem (like reducing my object graph depth, etc). I agree, I like using deep object graphs to, but can't seem to get it to work. -Josh --- In flexcoders@yahoogroups.com, Christoph Guse <[EMAIL PROTECTED]> wrote: > Hi cazzaran, > > how did you solve your problem? I'm interested in a solution, because I > have a very similar problem. In my case I have an object (OgoJobVO) in > which is another object (OgoAccountVO) in which is another object > (OgoPersonVO). > When I get the Job-Object from the Server, everything works fine. When I > try to call a function in a POJO where a Job-Object as an argument, I > get the following error in the NetConnectionDebugger: > > Status (object #2) > .....code: "Server.Processing" > .....description: "Cannot invoke method 'insertJob'." > .....details: "The expected argument types are (ogo.OgoJobVO, > java.lang.String, java.lang.String) but the supplied types were > (flashgateway.io.ASObject, java.lang.String, java.lang.String) and > converted to (null, null, null)." > .....level: "error" > .....type: "" > .....rootcause (object #3) > ..........code: (undefined) > ..........description: "Type ogo.vo.OgoJobVO not found" > ..........details: "" > ..........level: "error" > ..........type: "" > > The call looks like this: > var call = service.insertJob(jobarg,login,password); > > I tested the argument jobarg with > > if(jobarg instanceof OgoJobVO){ > text="type of OgoJobVO"; > } > else{ > text="is not type of OgoJobVO"; > } > mx.core.Application.application.debugtext = text; > > This returns "type of OgoJobVO". > > I really would like to use nested Objects. > > I appreciate for any suggestions. > > Christoph > > cazzaran wrote: > > > > > Found it... but it doesn't make total sense... > > > > here's the response trace: > > > > Info: Serializing response > > (Message #0 targetURI=/1/onStatus, responseURI=null) > > (Object #0) > > level = "error" > > code = "Server.Processing" > > type = "" > > rootcause = (Object #1) > > level = "error" > > code = null > > type = "" > > details = "" > > description = "Could not set object null on class > > pojos.Group's method setOrganization" > > details = "The expected argument types are (pojos.Group) but the > > supplied types were (flashgateway.io.ASObject) and converted to (null)." > > description = "Cannot invoke method 'addGroup'." > > > > > > Below's the serialized request. You can see that the organization IS > > being serialized... I'm not sure why it thinks that the expected > > argument types are Group. The addGroup requires a Group, but the > > Group.setOrganization method takes an Organization. They all have > > _remoteClass assigned, too. Weird... > > > > Info: Deserializing request > > (Message #0 targetURI=groupDelegate.addGroup, responseURI=/1) > > (Array #0) > > [0] = (Object #1) > > _flag = "Envelope" > > headers = (Array #2) > > [0] = (Array #3) > > [0] = "ServiceType" > > [1] = false > > [2] = "stateful-class" > > data = (Array #4) > > [0] = (Typed Object #5 'pojos.Group') > > organization = (Typed Object #6 'pojos.Organization') > > _remoteClass = "pojos.Organization" > > contactNumber = null > > address1 = null > > roles = (Array #7) > > [0] = (Typed Object #8 'pojos.Role') > > roleRights = "a, d, m" > > users = (Array #9) > > _remoteClass = "pojos.Role" > > userRights = "d" > > groupRights = "a, d, m" > > name = "Local Message Creator" > > id = "402881e500523eca0100523ffc040001" > > organization = (Ref #6) > > superuser = false > > [1] = (Typed Object #10 'pojos.Role') > > roleRights = "adm" > > users = (Array #11) > > [0] = (Typed Object #12 'pojos.User') > > password = "passger" > > organizationId = null > > _remoteClass = "pojos.User" > > username = "cazzaran" > > email = "[EMAIL PROTECTED]" > > role = (Ref #10) > > roleID = "1" > > firstName = "Josh" > > id = "1" > > organization = (Ref #6)............ the rest > > truncated > > > > > > > > > > *Yahoo! Groups Sponsor* > > ADVERTISEMENT > > click here > > <http://us.ard.yahoo.com/SIG=1290ag9o1/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1112321921/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075> > > > > > > > > ------------------------------------------------------------------------ > > *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] > > <mailto:[EMAIL PROTECTED]> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/>. > > > > > > -- > **************************************** > Christoph Guse > Löhstraße 34 > 41747 Viersen > Tel. 0 21 62 / 50 24 066 > Mobil 01 72 / 160 74 84 > VoIP 0 12 12 / 39 64 48 831 > **************************************** 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/