Enum classes do not map correctly when they are accompanied by a .aegis.xml
mapping file
----------------------------------------------------------------------------------------
Key: XFIRE-1095
URL: http://jira.codehaus.org/browse/XFIRE-1095
Project: XFire
Issue Type: Bug
Components: Aegis Module
Affects Versions: 1.2.5
Environment: Sun Java JDK 1.5.0_06, Apache Tomcat 5.5.23
Reporter: Andrew Newdigate
Assignee: Dan Diephouse
Priority: Minor
I am using an enum, but would like to change the default name and namespace of
the generated WSDL element. Initially, I accomplished this using a .aegis.xml
mapping file that looked as follows:
(com.bglobal.iproducts.ia.servicelayer.api.model.enums.IAProjectionTypeEnum.aegis.xml)
<mappings xmlns:ia="http://www.bglobal.com/iproducts/evolution/ia">
<mapping name="ia:ProjectionTypeEnum">
</mapping>
</mappings>
However, when the enum class is accompanied by a .aegis.xml file, Aegis seems
to treat the Enum as a Javabean-style class with a single method
"declaringClass". Deleting the .aegis.xml file corrects the problem, and the
WSDL once again displays the enum as a enumerated type.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email