Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 35770 invoked from network); 25 Oct 2008 14:12:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2008 14:12:16 -0000 Received: (qmail 6847 invoked by uid 500); 25 Oct 2008 14:12:19 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 6835 invoked by uid 500); 25 Oct 2008 14:12:19 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 6824 invoked by uid 99); 25 Oct 2008 14:12:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 07:12:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Oct 2008 14:11:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70F77234C236 for ; Sat, 25 Oct 2008 07:11:44 -0700 (PDT) Message-ID: <2084505202.1224943904461.JavaMail.jira@brutus> Date: Sat, 25 Oct 2008 07:11:44 -0700 (PDT) From: "Benson Margulies (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-1883) inherited classes and attributes not generated In-Reply-To: <1147790883.1224771884596.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benson Margulies reassigned CXF-1883: ------------------------------------- Assignee: Benson Margulies > inherited classes and attributes not generated > ---------------------------------------------- > > Key: CXF-1883 > URL: https://issues.apache.org/jira/browse/CXF-1883 > Project: CXF > Issue Type: Bug > Components: JavaScript Client > Affects Versions: 2.2 > Environment: i686 GNU/Linux - apache-cxf-2.2-SNAPSHOT 15/10/17:04 > Reporter: Brice Vandeputte > Assignee: Benson Margulies > > I'm using the CXF JavaScript Client and i got a problem with extended classes and inherited attributes. > It's like the Javascript code generated by CXF bugs with extended classes. > Here is an example , i've got 2 classes : > --- File Person.java : > @XmlRootElement(name = "Person") > public class Person { > Long id; > String name; > (...getters/setters..) > } > --- File Expert.java : > @XmlRootElement(name = "Expert") > public class Expert extends Person { > String speciality; > (...getters/setters..) > } > > An Expert(id,name,speciality) extends a Person(id,name). > In my CXF Javascript client, i can invoke (perso JS object).getName(), but (expert JS object).getName() or (expert JS object).getSpeciality() are undefined. > > Here is an extract of the generated Javascript > (http://myserver:8080/CXF/HW?js): > (...) > // > // Constructor for XML Schema item > {http://demo.com/}expert > // > function demo_com__expert () { > this.typeMarker = 'demo_com__expert'; > } > (...) > // > // Constructor for XML Schema item > {http://demo.com/}person > // > function demo_com__person () { > this.typeMarker = 'demo_com__person'; > this._id = null; > this._name = null; > } > (...) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.