public RecordBean[] search(String tableName, String query, int start, int count, String[] columns, SortByFieldBean[] fieldBeans) throws Exception { RecordBean[] result = webServiceStub.searchWithSorting(tableName, query, start, count, columns, fieldBeans ); if (result == null) { return new RecordBean[0]; } return result; }