Hi all, I've seen that for a simple type derived from another simple type WSDL2Java tool generates a wrapped class, not according with jax-rpc specs (4.2.5).
example: <xsd:complexType name="MyBean"> <xsd:sequence> ... <xsd:element name="StringRestriction"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="4"/> </xsd:restriction> </xsd:simpleType> </xsd:element> ... </xsd:sequence> </xsd:complexType> For the Element inside the ComplexType that derives from xsd:string, WSDL2java generates a StringRestriction.java class. Moreover, MyBean.java class has a method setStringRestriction(StringRestriction stringRestriction) is this an Axis bug? thanks in advance, Andrea Tevoi