axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Lakmal Pathirage (JIRA)" <>
Subject [jira] Commented: (AXIS2C-494) Generated code for complex types give compilation errors (WSDL2C Java Version)
Date Fri, 05 Jan 2007 09:40:27 GMT


Milinda Lakmal Pathirage commented on AXIS2C-494:

Applied patch fix the bug.

> Generated code for complex types give compilation errors (WSDL2C Java Version)
> ------------------------------------------------------------------------------
>                 Key: AXIS2C-494
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: Current (Nightly)
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: codegen.patch
> <xs:complexType name="ErrorParameterType">
> 		<xs:sequence>
> 			<xs:element name="Value" type="xs:string" minOccurs="0"/>
> 		</xs:sequence>
> 		<xs:attribute name="ParamID" type="xs:string"/>
> </xs:complexType>
> when there is complex type like above inside wsdl, generated .c file containing structure
and function for manipulating it gave compilation errors.
> This is caused by if statement in the CADBBeanTemplate Source doesn't correctly process
the input xml generated for the complex type.
> To correct the error we have to introduce a new attribute to the "property " element
in the generated xml. And improve the following logic in template.
> <xsl:if test="property and (not(property/@attribute) or property/@attribute='')">
> <xsl:if test="property and (not(property/@attribute) or property/@attribute='' or

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message