You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sami Lakka <sa...@tut.fi> on 2004/09/22 13:55:40 UTC
WSDL2Java not taking account the nillable- attributes in Axis-1.2RC2
I'm trying to create Java- classes from my WSDL but I ran into problems with
WSDL2Java in
axis-1_2RC1. When I set nillable as true in my WSDL (MaxAge attribute, see
below) the
WSDL2Java doesn't bind the element as an Integer but as an int. With Axis
1.1 this worked
and the element was bind as an Integer. Unfortunately I cannot change the
type of the element
and I cannot use the earlier Axis.
WSDL (snippet):
<s:complexType name="ReadRequestItem">
<s:attribute name="MaxAge" type="s:int" nillable="true"/>
</s:complexType>
- Sami