if(severity == SEVERITY_WARNING) {
eh.warning(errorInfo);
}
else if(severity == SEVERITY_ERROR) {
eh.error(errorInfo);
}
else if(severity == SEVERITY_FATAL_ERROR) {
eh.fatalError(errorInfo);
// Fatal error strategy is to terminate with a WSDLException.