axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guthi Prasad (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2790) Not able to generate enumeration values in output WSDL file
Date Wed, 20 May 2009 18:51:45 GMT
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.


Mime
View raw message