K
Karl Uppiano
When developing a Java-first web service, not been able to find any
annotation that will control minOccurs and maxOccurs in the generated web
service schema. As far as I can tell, JAX-WS sets minOccurs="1" for elements
that map to Java primitives, and minOccurs="0" for class instance
references, on the assumption that a Java primitive is not nillable, whereas
an instance reference is. Does anybody know if there is any more
fine-grained way to control occurrence constraints?
annotation that will control minOccurs and maxOccurs in the generated web
service schema. As far as I can tell, JAX-WS sets minOccurs="1" for elements
that map to Java primitives, and minOccurs="0" for class instance
references, on the assumption that a Java primitive is not nillable, whereas
an instance reference is. Does anybody know if there is any more
fine-grained way to control occurrence constraints?