final List<Endpoint> endpoints = role.getRole().getEndpoints(endpointType); if (endpoints.isEmpty()) { log.debug("{} No endpoints in metadata of type {}", getLogPrefix(), endpointType);
for (final Endpoint endpoint : role.getEndpoints()) { QName endpointType = endpoint.getSchemaType(); if (endpointType == null) {