@Override @WebMethod(operationName = "getActiveTournamentsByLocation") public Tournaments getAllActiveTournamentsByLocation( @WebParam(name = "location") String location) { List<Tournament> tournamentsFromDB = tournamentService.getAllActiveTournamentsByLocation(location); Tournaments tournaments = new Tournaments(); tournaments.setTournaments(tournamentsFromDB); return tournaments; }