axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <>
Subject [Axis2] making minOccurs=1 by default for wsdl generated with POJO
Date Tue, 05 Jan 2010 05:52:40 GMT
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.



Amila Suriarachchi
WSO2 Inc.

View raw message