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