You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Brian Jackson <Br...@zedak.com> on 2004/10/21 18:11:02 UTC
Hiding JavaBean accessor methods?
Is there a way to hide properties (getters/setters) from Axis? I've added a
new method Map getAnswersByID() to my object Question. This is for JSTL
purposes so I can't make it private or hide it using BeanInfo. But Axis
insists on serializing the Map as if it were a bean property, even though I
haven't defined the field in my Question_Helper.java. Is this a bug in
BeanSerializer? Is there a way I can get BeanSerializer to only use the
TypeDesc object for field information?
Thanks for any help,
Brian