You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/08/29 08:45:37 UTC

[jira] [Commented] (AXIS2-5124) Client stub generated has errors if a child complex type overrides an existing attribute of the parent complex type with a different return type

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

Hudson commented on AXIS2-5124:
-------------------------------

Integrated in Axis2 #949 (See [https://builds.apache.org/job/Axis2/949/])
    applying patch for AXIS2-5124

amilas : 
Files : 
* /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java


> Client stub generated has errors if a child complex type overrides an existing attribute of the parent complex type with a different return type
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5124
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5124
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: saminda wijeratne
>         Attachments: AXIS2-5124.patch
>
>
> If the wsdl contains a child complex types having an overridden attribute with the return type "Foo" then the parent complex type should also have the return type of that attribute as "Foo". Orelse java compilation errors will occur complaining that the child class is trying to override the parent class method with different return type.

--
This message is automatically generated by JIRA.
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