You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by "James Walters (JIRA)" <ji...@apache.org> on 2010/08/24 19:28:19 UTC
[jira] Commented: (AXIS2-4128) Java2WSDL does not generate enum
fields
[ https://issues.apache.org/jira/browse/AXIS2-4128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901976#action_12901976 ]
James Walters commented on AXIS2-4128:
--------------------------------------
I'm using Axis2 1.5 and this problem still exist.
>From my searing this bug has existed at least since 2007. Any word on fixing it?
> Java2WSDL does not generate enum fields
> ---------------------------------------
>
> Key: AXIS2-4128
> URL: https://issues.apache.org/jira/browse/AXIS2-4128
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.4.1
> Environment: Windows XP SP2, Java 1.6, Maven2 2.0.8, Maven2 Axis2 Java2WSDL plugin 1.4.1
> Reporter: Jesse Rosalia
>
> I have an interface that has a method that takes an enum value as a parameter:
> public interface Interface {
> public void Method(String param1,
> String param2, EnumType param3,
> String param4, Calendar param5, int param6);
> }
> EnumType is defined as:
> public enum EnumType {
> VALUE1,
> VALUE2,
> VALUE3,
> VALUE4,
> VALUE5
> }
> When I use Java2WSDL to generate a WSDL from this interface, it creates the complex type but does not add any values:
> <xs:complexType name="EnumType">
> <xs:complexContent>
> <xs:extension base="xs:Enum">
> <xs:sequence/>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> This happens when I execute the Java2WSDL step through the maven plugin as well as if I run the Java2WSDL command line class (org.apache.ws.java2wsdl.Java2WSDL).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org