public static ApplicationDescriptionType parseAppDescirption(Reader reader)
throws GfacException {
try {
ApplicationDescriptionType appDesc = ApplicationDescriptionDocument.Factory.parse(
reader).getApplicationDescription();
SchemaValidator validator = new SchemaValidator(appDesc);
validator.validate();
return appDesc;
} catch (XmlException e) {
throw new GfacException(e,FaultCode.InvaliedLocalArgumnet);
} catch (IOException e) {
throw new GfacException(e,FaultCode.InvaliedLocalArgumnet);