Map<QName, Document> modelMap;
Map<QName, String> elementMap;
try {
CompilerOptions options = new CompilerOptions();
SchemaCompiler schemaCompiler = new SchemaCompiler(options);
schemaCompiler.compile(axisService.getSchema());
modelMap = schemaCompiler.getProcessedModelMap();
elementMap = schemaCompiler.getProcessedElementMap();
} catch (SchemaCompilationException e) {
throw new DataServiceFault(e, "Error in schema compile");
}