axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afkham Azeez (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-4630) ADB generates code that doesn't compile when WSDL has abstract types.
Date Thu, 06 Jan 2011 13:42:48 GMT

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

Afkham Azeez reassigned AXIS2-4630:
-----------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> ADB generates code that doesn't compile when WSDL has abstract types.
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-4630
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4630
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.1
>            Reporter: Aaron Gourley
>            Assignee: Amila Chinthaka Suriarachchi
>
> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message