sharepointClientContext = inSharepointClientContext;
endpoint = Util.encodeURL(sharepointClientContext.getSiteURL())
+ SPConstants.SITEDATAENDPOINT;
LOGGER.log(Level.CONFIG, "Endpoint set to: " + endpoint);
final SiteDataLocator loc = new SiteDataLocator();
loc.setSiteDataSoapEndpointAddress(endpoint);
final SiteData servInterface = loc;
try {
stub = (SiteDataSoap_BindingStub) servInterface.getSiteDataSoap();
} catch (final ServiceException e) {