try { tx.begin(); UddiEntityPublisher requestor = this.getEntityPublisher(em, body.getAuthInfo()); if (!((Publisher) requestor).isAdmin()) { throw new UserMismatchException(new ErrorMessage("errors.AdminReqd"));
try { tx.begin(); UddiEntityPublisher requestor = this.getEntityPublisher(em, body.getAuthInfo()); if (!((Publisher) requestor).isAdmin()) { throw new UserMismatchException(new ErrorMessage("errors.AdminReqd"));