Hi Glen,

 

Thanks for help. BTW, here is the URL: 
https://jaxb2-commons.dev.java.net/collection-setter-injector/ that comes from 
Daniel Kulp(dk...@apache.org), it shows how to use xjc to generate the setter.

 

Jam
 
> Date: Fri, 23 Apr 2010 05:07:34 -0700
> From: glen.ma...@gmail.com
> To: dev@cxf.apache.org
> Subject: Re: Using wsdl2java of cxf to generate set method of List attribute 
> of POJO
> 
> 
> Hmmm...I don't think that's allowed. If I recall the JAXB spec correctly,
> you're supposed to get() the list and add elements to it. CXF uses Sun's
> JAXB library, so that's the way it works.
> 
> Glen
> 
> 
> HeJam wrote:
> > 
> > Hi All,
> > 
> > Does any one know ways to generate the set mothed of List attribute of
> > POJO when using the wsdl2java funciton of cxf?
> > 
> > Thanks!
> > Jam
> > 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Using-wsdl2java-of-cxf-to-generate-set-method-of-List-attribute-of-POJO-tp28339078p28340486.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
> 
                                          
_________________________________________________________________
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TL&swm=1

Reply via email to