this is related to issue[1] I think it is better to make minOccurs=1 considering the following points and the issue given here[1].
1. if the type is a primitive type then anyway it get assigned a value and hence nillable=true and minOccurs=0 can not be supported. 2. if not primitive always minOccurs=0 and nillable=true maps to null value. hence nillable=true is enough. WDYT? [1] https://issues.apache.org/jira/browse/AXIS2-3300 -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/