Description desc = descElement.toComponent();
// Check if the wsdl is only a port type
// In these cases, only the port type is used, as the service name and endpoint name
// are provided on the jbi endpoint
if (desc.getInterfaces().length == 1 && desc.getServices().length == 0) {
Interface itf = desc.getInterfaces()[0];
QName interfaceName = itf.getName();
LOGGER.debug("Endpoint {} implements interface {}", serviceEndpoint, interfaceName);
serviceEndpoint.addInterface(interfaceName);
} else {
Service service = desc.getService(serviceEndpoint.getServiceName());
if (service == null) {