try {
jaxrpcInputStream = moduleFile.getInputStream(moduleFile.getEntry(jaxrpcMappingPath));
} catch (IOException e) {
throw new DeploymentException("Could not open stream to jaxrpc mapping document", e);
}
JavaWsdlMappingDocument mappingDocument = null;
try {
mappingDocument = JavaWsdlMappingDocument.Factory.parse(jaxrpcInputStream);
} catch (XmlException e) {
throw new DeploymentException("Could not parse jaxrpc mapping document", e);
} catch (IOException e) {
throw new DeploymentException("Could not read jaxrpc mapping document", e);
}
mapping = mappingDocument.getJavaWsdlMapping();
return mapping;
}