0 Replies Latest reply on Nov 21, 2008 1:47 PM by 843844

    ¿JAXWS exclude (ignore) bean property?

      Hi all.

      I'm trying to develop a WS under jaxws. Beans to be transport (after marshalling) have (public) properties which I don't want to send/receive. ¿Anybody knows how can I indicate to jaxws not marshalling those attributes?

      Using Axis2, I can do that including in WSDD file 'exclude properties' clauses. But now I'm using fully native jaxws so that chance doesn't exist.

      I (bad) solution could be to create, for each bean, a wrap bean witch implements only those attributes I need to send/receive. But I guess there are better solutions. Do you?

      Thaks in advance!