code: public void lookupDataSet(final DataSetDef def,
                                final DataSetLookup request,
                                final DataSetReadyCallback listener) throws Exception {
  
          if (dataSetLookupServices != null) {
              try {
                  dataSetLookupServices.call(
                          new RemoteCallback<DataSet>() {
                              public void callback(DataSet result) {
                                  if (result == null) {
                                      listener.notFound();
                                  } else {
                                      listener.callback(result);
                                  }
                              }
                          },
                          new ErrorCallback<Message>() {
                              @Override
                              public boolean error(Message message,
                                                   Throwable throwable) {
                                  return listener.onError(new ClientRuntimeError(throwable));
                              }
                          })
                          .lookupDataSet(def,
                                         request);
              } catch (Exception e) {
                  listener.onError(new ClientRuntimeError(e));
              }
          }
          // Data set not found on client.
          else {
              listener.notFound();
          }
      }
docs: Process the specified data set lookup request for a given definition.
  
  @param def     The data set definition
  @param request The data set lookup request
  @throws Exception It there is an unexpected error trying to execute the lookup request.