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.
