Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 13893 invoked from network); 29 May 2007 13:23:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2007 13:23:40 -0000 Received: (qmail 82252 invoked by uid 500); 29 May 2007 13:23:41 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 82199 invoked by uid 500); 29 May 2007 13:23:41 -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: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 82089 invoked by uid 99); 29 May 2007 13:23:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2007 06:23:41 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2007 06:23:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3DFF071417F for ; Tue, 29 May 2007 06:23:16 -0700 (PDT) Message-ID: <1397775.1180444996250.JavaMail.jira@brutus> Date: Tue, 29 May 2007 06:23:16 -0700 (PDT) From: "Sathija Pavuluri (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-2055) POJO service's return object loses data from parent class. In-Reply-To: <29676862.1170086509054.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/AXIS2-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sathija Pavuluri updated AXIS2-2055: ------------------------------------ Attachment: new_adb.patch > POJO service's return object loses data from parent class. > ---------------------------------------------------------- > > Key: AXIS2-2055 > URL: https://issues.apache.org/jira/browse/AXIS2-2055 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: rpc > Affects Versions: 1.1.1 > Environment: Linux, Java 6. > Reporter: Sathija Pavuluri > Assignee: Deepal Jayasinghe > Priority: Blocker > Attachments: adb.patch, adb.patch, java2wsdl.patch, new_adb.patch, pojo-src.zip, tcpmon-response.txt, updated_adb.patch > > > I have a POJO service that returns an object which was populated with data on its fields and its parent fields as well. > The client however retrieves null values for the parent's fields. > The tcpmon response does not have the parent's fields in the soap response. > Here are the objects. > public class CustomerDTO { > private String name; > private String phone; > private String address; > // public getters/setters > } > public class PremierCustomerDTO extends CustomerDTO { > private String clubName; > private String vipNumber; > // public getters/setters > } > My service class returns a PremierCustomerDTO with data populated on it for all > five attributes. > Whereas, after I retrieve the PremierCustomerDTO at the client side, only the 2 > attrs (clubName, vipNumber) declared > on it are returned. > The other 3 from the parent are null. > The entire source code is attached here. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org