You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jing Xue <jx...@digizenstudio.com> on 2005/11/28 23:34:19 UTC
Does Axis 1.3 support Java 5 enum types?
Hi,
One of the Web services I'm trying to expose references a Java 5 enum type. I am
not handwriting any WSDL, and instead using ?wsdl to generate the WSDL file. In
the file generated, the enum type is mapped to anyType, instead of the
xsd:enumeration I was expecting.
I did some search on the Internet and the mail list archive, but what I found
mostly are about the classic style of enumerations, i.e., the "public static
final" approache. So my question is, can I make Axis generate enumerations out
of Java 1.5 enum types?
Thanks.
--Jing Xue
Re: Does Axis 1.3 support Java 5 enum types?
Posted by Davanum Srinivas <da...@gmail.com>.
Q: can I make Axis generate enumerations out
of Java 1.5 enum types?
A: No.
-- dims
On 11/28/05, Jing Xue <jx...@digizenstudio.com> wrote:
> Hi,
>
> One of the Web services I'm trying to expose references a Java 5 enum type. I am
> not handwriting any WSDL, and instead using ?wsdl to generate the WSDL file. In
> the file generated, the enum type is mapped to anyType, instead of the
> xsd:enumeration I was expecting.
>
> I did some search on the Internet and the mail list archive, but what I found
> mostly are about the classic style of enumerations, i.e., the "public static
> final" approache. So my question is, can I make Axis generate enumerations out
> of Java 1.5 enum types?
>
> Thanks.
> --Jing Xue
>
>
--
Davanum Srinivas : http://wso2.com/blogs/