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 "Harshana Eranga Martin (JIRA)" <ji...@apache.org> on 2011/08/27 00:37:29 UTC

[jira] [Updated] (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:all-tabpanel ]

Harshana Eranga Martin updated AXIS2-5124:
------------------------------------------

    Attachment: AXIS2-5124.patch

Please find the patch to fix the issue. 

Axis2 was completely built with patch. It has passed all the tests.

> 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