axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Dell'Olio (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5690) List with Enum type no work
Date Mon, 09 Mar 2015 18:03:38 GMT
Davide Dell'Olio created AXIS2-5690:
---------------------------------------

             Summary: List with Enum type no work
                 Key: AXIS2-5690
                 URL: https://issues.apache.org/jira/browse/AXIS2-5690
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Davide Dell'Olio


Hi,
I create this class:

public class EPCReceiptBodyType {

    protected boolean requestProcessed;
    protected String requestErrorCode;
    protected SecurityLevelContentType currentPortSecurityLevel;
    protected EPCClearanceStatusType[] epcClearanceStatus;
    private List<RequestStatusTypeContentType> requestStatus;

where RequestStatusTypeContentType is enum type.

Axis2 generate wsdl with:
-<xs:schema targetNamespace="http://ws.apache.org/namespaces/axis2/enum" elementFormDefault="qualified"
attributeFormDefault="qualified">


-<xs:simpleType name="it.****.*****.******.*****.*******.RequestStatusTypeContentType">


-<xs:restriction base="xs:string">
<xs:enumeration value="DISCARDED"/>
<xs:enumeration value="PENDING"/>
<xs:enumeration value="ACCEPTED"/>
<xs:enumeration value="NOT_ACCEPTED"/>
<xs:enumeration value="ACCEPTED_WITH_CONDITIONS"/>
</xs:restriction>
</xs:simpleType>


and

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

xs:Enum is not interpreted for generate proxy class.

Thank you



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message