throws RepositoryException {
String endpoint = Util.encodeURL(inSharepointClientContext.getSiteURL())
+ 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) {