axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
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.

WDYT?

[1] https://issues.apache.org/jira/browse/AXIS2-3300

-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message