LOGGER.warning("Unable to get the list items since stub is null.");
return listItems;
}
final GetListItemsQuery query = new GetListItemsQuery();
final GetListItemsViewFields viewFields = new GetListItemsViewFields();
final GetListItemsQueryOptions queryOptions = new GetListItemsQueryOptions();
try {
query.set_any(queryInfo.getQuery());
viewFields.set_any(queryInfo.getViewFields());
queryOptions.set_any(queryInfo.getQueryOptions());
LOGGER.config("Making web service request with the following "
+ "parameters: query [ " + query.get_any()[0]
+ " ], queryoptions [ " + queryOptions.get_any()[0]
+ " ], viewFields [ " + viewFields.get_any()[0] + "] ");
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Unable to get items at folder level "
+ "for list [ " + listName + " ].", e);
return Collections.emptyList();
}