0 Replies Latest reply: Nov 21, 2008 7:47 AM by 843844 RSS

    ¿JAXWS exclude (ignore) bean property?

    843844
      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!