axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Rosalia (JIRA)" <>
Subject [jira] Created: (AXIS2-4128) Java2WSDL does not generate enum fields
Date Tue, 11 Nov 2008 21:19:46 GMT
Java2WSDL does not generate enum fields

                 Key: AXIS2-4128
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.4.1
         Environment: Windows XP SP2, Java 1.6, Maven2 2.0.8, Maven2 Axis2 Java2WSDL plugin
            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 {

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:extension base="xs:Enum">

This happens when I execute the Java2WSDL step through the maven plugin as well as if I run
the Java2WSDL command line class (

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:
For additional commands, e-mail:

View raw message