You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Guthi Prasad (JIRA)" <ax...@ws.apache.org> on 2009/05/20 20:51:45 UTC

[jira] Created: (AXIS-2790) Not able to generate enumeration values in output WSDL file

Not able to generate enumeration values in output WSDL file
-----------------------------------------------------------

                 Key: AXIS-2790
                 URL: https://issues.apache.org/jira/browse/AXIS-2790
             Project: Axis
          Issue Type: Bug
          Components: WSDL processing
    Affects Versions: 1.4
         Environment: Jdk v1.5, Weblogic v10
            Reporter: Guthi Prasad


Hi ,

 Recently we have migrated to Axis v1.4 ( from Axis v1.1). The issues is with the enumeration object, the values are not showing up in output WSDL file. 
 We are generating class from WSDL file  & it is able to generate all classes ( even for enumeration ) & WSDL files looks like this : 

<simpleType name="Version">
        <restriction base="xsd:string">
        <enumeration value="7.0"/>
        </restriction>
      </simpleType>

 & deploy .wsdd

    <typeMapping
        xmlns:ns="urn:ews-structs"
        qname="ns:Version"
        type="java:com.hp.ews.bd.beans.Version"
        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />



When we do Java2WSDL, this  Object " Version" with enumeration "70" is never shown. 

Any suggestions!! 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.