• Post Reply Bookmark Topic Watch Topic
  • New Topic

Values in VO getting lost in Stub  RSS feed

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am passing a VO from action to DAO and in DAO i am setting values in DAO.
This goes through the EJB Layer. I am facing an problem that some valus in VO gets lost while going through EJB Layer(Stub exactly).

This is the place where it gets lost
Object[] copies = Util.copyObjects(new Object[]{arg0,arg1},_orb());
CallingContext arg0Copy = (CallingContext) copies[0];
wrk_qtr_rptVO arg1Copy = (wrk_qtr_rptVO) copies[1];
wrk_qtr_rptVO result = ((com.wqreports.business.ejb.WQrptMaster)so.servant).genWQRpt(arg0Copy, arg1Copy);
return (wrk_qtr_rptVO)Util.copyObject(result,_orb());

My VO implements serializable interface.
 
author
Bartender
Posts: 4093
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are types/classes of the values?
 
Arulanand Dayalan
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Scott for looking into my problem. My VO consists of String, int and Arraylist of someother VO objects.
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!