final ClassLoader moduleClassLoader, final DeploymentReflectionIndex deploymentReflectionIndex) throws DeploymentUnitProcessingException {
final String endpointInterfaceClassName = webServiceAnnotation.endpointInterface();
try {
final Class<?> endpointInterfaceClass = endpointInterfaceClassName.length() > 0 ? moduleClassLoader
.loadClass(endpointInterfaceClassName) : null;
final JwsWebServiceEndpointVerifier wsEndpointVerifier = new JwsWebServiceEndpointVerifier(
endpointClass, endpointInterfaceClass, deploymentReflectionIndex);
wsEndpointVerifier.verify();
if (wsEndpointVerifier.failed()) {
wsEndpointVerifier.logFailures();
throw WSLogger.ROOT_LOGGER.jwsWebServiceClassVerificationFailed(endpointClass);
}
} catch (ClassNotFoundException e) {
throw WSLogger.ROOT_LOGGER.declaredEndpointInterfaceClassNotFound(endpointInterfaceClassName, endpointClass);
}