You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Alexander Kormushin <ko...@gmail.com> on 2011/02/03 10:00:11 UTC

Re: In code first approch how to specify minOccurs

As I know JAXB doesn't allow you to specify minOccurs/maxOccurs excplicitly.
So in code-first approach this is unavailable. 

But you can set up them implicitly via @XmlElement(required=true/false)
annotation. You could apply it on generated RequestWrapper field, for
instance.
-- 
View this message in context: http://cxf.547215.n5.nabble.com/In-code-first-approch-how-to-specify-minOccurs-tp3360717p3368982.html
Sent from the cxf-user mailing list archive at Nabble.com.