axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Green (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-1797) Base attributes not serialized when simpleContent extends another simpleContent
Date Tue, 01 Feb 2005 22:09:17 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1797?page=history ]

Steve Green updated AXIS-1797:
------------------------------

    Attachment: Test.java

This test program show the problem in action.  Note that the attributes called 'a' and 'b'
are not displayed.  Also note that EncryptableNameIdentifierType does not extend NameIdentifierType
thus making it impossible to use these types polymorphically.

> Base attributes not serialized when simpleContent extends another simpleContent
> -------------------------------------------------------------------------------
>
>          Key: AXIS-1797
>          URL: http://issues.apache.org/jira/browse/AXIS-1797
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: 1797.wsdl, Test.java
>
> When a simpleContent extends another simpleContent, and the base type has attributes,
those attributes are not serialized.
> I believe that the problem is with the code generation, and not a serialization bug.
 The code generator uses a has-a model for this, and I believe that it should be an is-a model.
 This is also necessary to allow for polymorphic behavior in the generated classes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message