if (existingServlets.contains(webServiceClass.getName())) continue;
// create webApp and webservices objects if they don't exist already
// add new <servlet/> element
Servlet servlet = new Servlet();
servlet.setServletName(webServiceClass.getName());
servlet.setServletClass(webServiceClass.getName());
webApp.getServlet().add(servlet);
}
/*
* REST