public synchronized ServiceLocationEnumeration findServiceTypes(
public ServiceLocationEnumeration findServiceTypes(
    public synchronized ServiceLocationEnumeration findServiceTypes(                                                       String NA,                                                       Vector scopes)    throws ServiceLocationException {        ServiceLocationEnumeration results = new ServiceTypeEnumeration();                // check that the UA supports the scopes given.        Vector scopesToUse = getSupportedScopes(scopes);        if(scopesToUse.isEmpty()) {            throw new ServiceLocationException(ServiceLocationException.SCOPE_NOT_SUPPORTED,                                               "UA: Requested scope is NOT supported");        }                // create request...        SLPSrvTypeReqMessage req = new SLPSrvTypeReqMessage(NA, scopesToUse, locale);                sendRequest(req, scopesToUse, results);                // return the discovered service types        return results;    }