sharepointClientContext = inSharepointClientContext;
endpoint = Util.encodeURL(sharepointClientContext.getSiteURL())
+ SPConstants.GSPBULKAUTHORIZATION_ENDPOINT;
LOGGER.log(Level.CONFIG, "Endpoint set to: " + endpoint);
final BulkAuthorizationLocator bulkloc = new BulkAuthorizationLocator();
bulkloc.setBulkAuthorizationSoapEndpointAddress(endpoint);
final BulkAuthorization service = bulkloc;
try {
stub = (BulkAuthorizationSoap_BindingStub)
service.getBulkAuthorizationSoap();