+ SPConstants.ALERTSENDPOINT;
LOGGER.log(Level.CONFIG, "Endpoint set to: " + endpoint);
final AlertsLocator loc = new AlertsLocator();
loc.setAlertsSoapEndpointAddress(endpoint);
final Alerts alertsService = loc;
try {
stub = (AlertsSoap_BindingStub) alertsService.getAlertsSoap();
} catch (final ServiceException e) {
LOGGER.log(Level.WARNING, e.getMessage(), e);
throw new SharepointException("Unable to create SPAlertsWS stub.");
}
}