endpoint = Util.encodeURL(sharepointClientContext.getSiteURL())
+ SPConstants.LISTS_END_POINT;
LOGGER.config("endpoint set to: " + endpoint);
final ListsLocator loc = new ListsLocator();
loc.setListsSoapEndpointAddress(endpoint);
final Lists listsService = loc;
try {
stub = (ListsSoap_BindingStub) listsService.getListsSoap();