servlet.addNewServletName().setStringValue(service.getName());
servlet.addNewServletClass().setStringValue(service.getName());
// add new <servlet-mapping/> element
String location = "/" + JAXWSUtils.getServiceName(service);
ServletMappingType servletMapping = webApp.addNewServletMapping();
servletMapping.addNewServletName().setStringValue(service.getName());
servletMapping.addNewUrlPattern().setStringValue(location);
// map service
PortInfo portInfo = new PortInfo();
portInfo.setLocation(contextRoot + location);
map.put(service.getName(), portInfo);