axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim James McConechy" <>
Subject Axis Generates All Fields Not Nullable
Date Tue, 17 Jun 2008 19:34:51 GMT

When I run wsdl2java from a .NET 1.1 web service axis adds code such as:


if (localitemCode ==null){

// write the nil attribute

throw new org.apache.axis2.databinding.ADBException("itemCode cannot be


The WSDL looks like:


<s:element minOccurs="0" maxOccurs="1" name="itemCode" type="s:string"/>


Why does it generate the field as required? Can I make it not do this?
Previously on axis 1.4 I would change setNillable(false) to


Thanks in advance

Tim McConechy | Principal Software Engineer | Infor | Office:
610.407.8191 | Mobile: 610.306.6603 |


View raw message