[jboss-user] [JBossWS] - How to disable class attributes in generated WSDL

bruhn do-not-reply at jboss.com
Wed Dec 27 08:06:49 EST 2006


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996437#3996437

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996437



More information about the jboss-user mailing list