[ 
https://issues.apache.org/jira/browse/AXIS2-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500845
 ] 

Sathija Pavuluri commented on AXIS2-2055:
-----------------------------------------

dims,

I got the nightly build and tested this issue.
Found yet another line was not updated right during the merge of BeanUtil.

Line 366 which should have been removed (as it was replaced by line 374) is 
still lingering around.
Please delete line 366 from BeanUtil (this is as of version 542594).

Thanks.
Sathija.

> 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, 
> new_java2wsdl.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to