Class<?> seiClazz = null;
try {
seiClazz = Class.forName(className);
} catch (ClassNotFoundException cnfe) {
LOG.log(Level.SEVERE, "SEI_LOAD_FAILURE_MSG", cnfe);
throw new WebServiceException("endpointInterface element in WebService annotation invalid",
cnfe);
}
if (!seiClazz.isInterface()) {
throw new WebServiceException("endpointInterface element does not refer to a java interface");
}
WebService seiws = seiClazz.getAnnotation(WebService.class);
if (null == seiws) {
throw new WebServiceException("SEI should have a WebService Annotation");
}
if ("".equals(url)) {
url = seiws.wsdlLocation();
}