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

 

Reply via email to