} else if (!element.getLocalName().equals("application")
|| !element.getNamespaceURI().equals(Constants.WADL11_NS)) {
throw new Exception("Document is not a WADL application with " + Constants.WADL11_NS + " namespace");
}
content = PropertyExpansionRemover.removeExpansions(content);
ApplicationDocument applicationDocument = ApplicationDocument.Factory.parse(content);
application = applicationDocument.getApplication();
resourcesList = application.getResourcesList();
service.setName(getFirstTitle(application.getDocList(), service.getName()));