Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 53827 invoked from network); 1 Feb 2005 22:09:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Feb 2005 22:09:23 -0000 Received: (qmail 31856 invoked by uid 500); 1 Feb 2005 22:09:22 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 31300 invoked by uid 500); 1 Feb 2005 22:09:20 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 31287 invoked by uid 99); 1 Feb 2005 22:09:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 14:09:20 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j11M9HAr030599 for ; Tue, 1 Feb 2005 23:09:17 +0100 Message-ID: <1669002528.1107295757639.JavaMail.jira@ajax.apache.org> Date: Tue, 1 Feb 2005 23:09:17 +0100 (CET) From: "Steve Green (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-1797) Base attributes not serialized when simpleContent extends another simpleContent In-Reply-To: <1258844346.1107294437360.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ 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