HttpServletRequest request = this.getThreadLocalRequest();
HttpSession session = request.getSession();
String lang = request.getLocale().getLanguage();
FindResponse response = new FindResponse();
try {
FindBusiness findBusiness = new FindBusiness();
FindQualifiers findQualifiers = new FindQualifiers();
for (String string : findQualifyers) {
findQualifiers.getFindQualifier().add(string);
}
findBusiness.setFindQualifiers(findQualifiers);
Name name = new Name();
name.setValue(nameStr);
findBusiness.getName().add(name);
logger.debug("FindBusiness " + findBusiness + " sending findBusinesses request..");
List<Business> businesses = new ArrayList<Business>();