axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radim Kolarik" <>
Subject Java 5 enum type and WSDL
Date Wed, 05 Mar 2008 16:55:23 GMT

I tried to use java2wsdl tool to generate a WSDL file for my service,
which uses Java 5 enum type on the interface:

public enum TestEnum {

It generates the type as:

<xs:complexType name="TestEnum">
    <xs:extension base="xs:Enum">

which is wrong because it extends xs:Enum where xs is namespace, which doesn't define an
Enum type. Also, the individual supported values ONE, TWO and THREE
are not listed.

Is Java 5 enum supported by Axis2? If not, when is it planned to be
supported? BTW, I used the latest nightly build of Axis2 to test this.

Thanks a lot,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message