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 "seba.wagner@gmail.com" <se...@gmail.com> on 2012/03/11 13:55:00 UTC

Is there a way to annotate certain fields in a Bean to be not processed by Axis2?

Hi,

sometimes you want to exclude certain fields of a Bean from beeing
marshalled into XML when using the Bean as Return Type of a WebService. For
example in a user-object you might like to hide the pwd field. Is there a
way of annotating certain fields in a Bean to be not processed by Axis2 ? I
could not find anything in the docs only the @WebService Annotation, but no
annotations on field-level.

Thanks!
Sebastian

-- 
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com