0 Replies Latest reply on Dec 27, 2006 8:06 AM by Peter Bruhn

    How to disable class attributes in generated WSDL

    Peter Bruhn Newbie

      Hi,

      I have an Entity-Bean like

      class employee {

      @Id
      private int id;

      @ManyToOne
      @JoinColumn(name="dept_id")
      private Department dep;

      // ....
      }

      and a Webservice (JSR-181) returning an employee. Now I don't want the attribute "dep" to show up in the generated WSDL nor to be returned. Is there a way to accomplish this?

      Thanks for any help,
      Peter