FindService request = (FindService)regObject;
String generic = request.getGeneric();
String businessKey = request.getBusinessKey();
Vector nameVector = request.getNameVector();
CategoryBag categoryBag = request.getCategoryBag();
TModelBag tModelBag = request.getTModelBag();
FindQualifiers qualifiers = request.getFindQualifiers();
int maxRows = request.getMaxRows();
// first make sure we need to continue with this request. If
// no arguments were passed in then we'll simply return
// an empty ServiceList (aka "a zero match result set").
if (((nameVector == null) || (nameVector.size() == 0)) &&
((categoryBag == null) || (categoryBag.size() == 0)) &&
((tModelBag == null) || (tModelBag.size() == 0)))
{
ServiceList list = new ServiceList();
list.setServiceInfos(new ServiceInfos());
list.setGeneric(generic);
list.setOperator(Config.getOperator());