axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishanthan Thangarajah (JIRA)" <>
Subject [jira] [Updated] (AXIS2-4630) ADB generates code that doesn't compile when WSDL has abstract types.
Date Sun, 12 May 2013 12:55:16 GMT


Kishanthan Thangarajah updated AXIS2-4630:

    Attachment: AXIS2-4630.patch

Attaching a patch which will fix the compilations errors with abstract type. We can use the
this [1] attached WSDL to reproduce this issue.

> ADB generates code that doesn't compile when WSDL has abstract types.
> ---------------------------------------------------------------------
>                 Key: AXIS2-4630
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.1
>            Reporter: Aaron Gourley
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: AXIS2-4630.patch
> In ADBBeanTemplate.xsl, occurrences of the following exist without taking into consideration
the fact that the class may have been declared as abstract:
> new <xsl:value-of select="$name"/>();
> Classes are declared abstract if @isAbstract='true' here (also in ADBBeanTemplate.xsl):
> <xsl:if test="@isAbstract and @unwrapped and not(@skip-write)">abstract</xsl:if>
> Obviously, abstract classes can not be instantiated directly.  Specifically I am seeing
the problem in the generated Factory.fromString() method.

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

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

View raw message