axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-4630) ADB generates code that doesn't compile when WSDL has abstract types.
Date Sun, 14 Jul 2013 06:40:48 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707973#comment-13707973
] 

Hudson commented on AXIS2-4630:
-------------------------------

SUCCESS: Integrated in Axis2 #2404 (See [https://builds.apache.org/job/Axis2/2404/])
Adding missing files for AXIS2-4630 (sagara: rev 1502933)
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/pom.xml
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test
dir
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test
dir/service.wsdl
* /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test
dir/service.xsd

                
> 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: Kishanthan Thangarajah
>             Fix For: 1.7.0
>
>         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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
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