if (webService == null) {
Message message = new Message("SEI_CLASS_NO_WEBSERVICE_ANNOTATED", LOG);
throw new ToolException(message);
}
if (webService.endpointInterface().length() > 0) {
clazz = AnnotationUtil.loadClass(webService.endpointInterface(), clazz.getClassLoader());
webService = AnnotationUtil.getPrivClassAnnotation(clazz, WebService.class);
if (webService == null) {
Message message = new Message("SEI_INTERFACE_NO_WEBSERVICE_ANNOTATED", LOG);
throw new ToolException(message);