Hello everybody

Using JBossWS 1.2.0GA, I want to generate XSD-Schema out of Java using JAXB2.0 
annotations.
There is i.e. an @XmlElement providing attribute 'nillable' but no 'minOccurs' 
or 'maxOccurs'.

Does anybody have an idea how to use annotations to define these two 
attributes? Are JAXB 2.0 annotations complete at all?

By default, JBoss WS generates minOccurs='0' and maxOccurs='unbound' for all 
elements of the XSD. This is not what I need.

thanks in advance

ng
Harald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034442#4034442

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034442
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to