Return-Path: Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 80431 invoked from network); 20 May 2002 15:02:39 -0000 Received: from natwar.webmailer.de (HELO post.webmailer.de) (192.67.198.70) by daedalus.apache.org with SMTP; 20 May 2002 15:02:39 -0000 Received: from arnehome (p508425BF.dip0.t-ipconnect.de [80.132.37.191]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id RAA28953 for ; Mon, 20 May 2002 17:02:39 +0200 (MEST) From: "Arne M. Degenring" To: Subject: Bug in Bean Mapping when using inheritance Date: Mon, 20 May 2002 17:02:32 +0200 Message-ID: <001001c2000f$5f496470$fe78a8c0@arnehome> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I think I found a bug in the Bean Mapping when inheritance is used. The Java bean TestResult is descendant of TestAbstractResult: ----------- public class TestAbstractResult { private String someInfo; public String getSomeInfo() { return someInfo; } public void setSomeInfo(String someInfo) { this.someInfo = someInfo; } } ----------- public class TestResult extends TestAbstractResult { private String one; public String getOne() { return one; } public void setOne(String one) { this.one = one; } } ----------- This is mapped to the following WSDL types (when accessed through HTTP GET ?wsdl): !!!! !!!! The "someInfo" element is in the complexType "TestAbstractResult" *and* in the complexType "TestResult", which inherits from TestAbstractResult. So the "someInfo" element is twice in "TestResult": Once inherited from TestAbstractResult, and one defined in TestResult. I think the line marked with "!!!!" is too much. Do you agree? Arne