Hi,

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 {
        ONE,
        TWO,
        THREE
}

It generates the type as:

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

which is wrong because it extends xs:Enum where xs is
http://www.w3.org/2001/XMLSchema 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,
Radim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to