RE: hiding a property from Axis serializer?

2004-12-01 Thread mmosttler
, Bogdan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 9:49 AM To: [EMAIL PROTECTED] Subject: RE: hiding a property from Axis serializer? Could you please elaborate a little more on that? In what way exactly? Have my class implement BeanInfo interface and describe the properties I'd

RE: hiding a property from Axis serializer?

2004-11-30 Thread mmosttler
Try using the bean info class to define what properties exist for the bean. Axis seems to obey this Java Bean rule. -Original Message- From: Sheptunov, Bogdan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 11:57 AM To: [EMAIL PROTECTED] Subject: RE: hiding a property from

RE: hiding a property from Axis serializer?

2004-11-30 Thread Sheptunov, Bogdan
: Tuesday, November 30, 2004 11:40 AM To: [EMAIL PROTECTED] Subject: RE: hiding a property from Axis serializer? Try using the bean info class to define what properties exist for the bean. Axis seems to obey this Java Bean rule. -Original Message- From: Sheptunov, Bogdan [mailto

Re: hiding a property from Axis serializer?

2004-11-30 Thread Tim K. (Gmane)
Sheptunov, Bogdan wrote: Could you please elaborate a little more on that? In what way exactly? Have my class implement BeanInfo interface and describe the properties I'd like to see returned in getPropertyDescriptors() method? Read the Java Beans specification, in particular the sections that

Re: hiding a property from Axis serializer?

2004-11-24 Thread Adrian Perez Jorge
Sheptunov, Bogdan wrote: A filter all those properties approach is to create a interface for each of those beans you would like to serialize, but just including getters and setters for those properties you really want to be serialized; then let your bean implement that interface (already

RE: hiding a property from Axis serializer?

2004-11-24 Thread Sheptunov, Bogdan
Yes I saw that, thank you Adrian. I understand that I should be able to specifying which properties I want serialized by writing a custom serializer. However, I do not wish to do that. I do not see any special circumstances in what I am trying to do that Axis should not be able to handle. As

Re: hiding a property from Axis serializer?

2004-11-23 Thread tony . q . weddle
I don't think there is any way of hiding properties explicitly. If you use a BeanSerializer, all properties that follow the JavaBean convention will be picked up. One way is to not use JavaBean conventions for those properties that you want to hide. Take a look at the JavaBean specification and

RE: hiding a property from Axis serializer?

2004-11-23 Thread Sheptunov, Bogdan
WSDL still being put up in the response? Thanks Bogdan -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, November 23, 2004 2:41 AMTo: [EMAIL PROTECTED]Subject: Re: hiding a property from Axis serializer?I don't think there is any way of hi

Re: hiding a property from Axis serializer?

2004-11-23 Thread Adrian Perez Jorge
Sheptunov, Bogdan wrote: Thank you Tony. This is what I ended up doing yesterday - putting underscores in front of the methods. Don't like it though, as technically by doing this I am in violation of coding standards, and in general this isn't a clean solution. I actually thought I found a

RE: hiding a property from Axis serializer?

2004-11-23 Thread Sheptunov, Bogdan
A filter all those properties approach is to create a interface for each of those beans you would like to serialize, but just including getters and setters for those properties you really want to be serialized; then let your bean implement that interface (already does!) and alter

hiding a property from Axis serializer?

2004-11-22 Thread Sheptunov, Bogdan
Hello, Axis serializer by default picks up everything that looks like a JavaBean property, and puts it into response. This leads to an undesirable side effect: some of the class internals that have bean-like access, become exposed to the outside and end up being automatically included into the