Generated code has duplicate property_Type definitions
------------------------------------------------------
Key: AXIS2C-1574
URL: https://issues.apache.org/jira/browse/AXIS2C-1574
Project: Axis2-C
Issue Type: Bug
Components: wsdl2c tool
Affects Versions: 1.6.0
Reporter: Hengli Wang
I have a WSDL file that has a complexType with an element named Type,
<element name="MyType">
<complexType>
<sequence>
<element name="Type" type="xsd:integer" minOccurs="0" maxOccurs="1"
nillable="true"/>
</sequence>
</complexType>
</element>
The generated code defines two property_Type,
axis2_char_t *property_Type;
...
int property_type;
A close look shows that 'axis2_char_t *property_Type;' is hard coded in
CADBBeanTemplateSource.xsl. I replaced all hard coded property_Type with
_property_Type, and it seems that generated code is happy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]