} catch (Exception e) {
//construct a default spec dd
ApplicationClientDocument appClientDoc = ApplicationClientDocument.Factory.newInstance();
appClientDoc.addNewApplicationClient();
appClient = appClientDoc.getApplicationClient();
specDD = appClientDoc.xmlText();
}
if (appClient == null) {
//we found application-client.xml, if it won't parse it's an error.
try {