[ 
https://issues.apache.org/jira/browse/AXIS2C-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bill Blough updated AXIS2C-1574:
--------------------------------
    Component/s: code generation
                     (was: wsdl2c tool)

> 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: code generation
>    Affects Versions: 1.6.0
>            Reporter: Hengli Wang
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to