You are on page 1of 1

@WebMethod(operationName = "lista_persona")

public ArrayList<Persona> lista_persona(){


ArrayList<Persona> lista_persona=new ArrayList<>();
try {
lista_persona=DBPersona.lista_persona();
} catch (SQLException ex) {
Logger.getLogger(wsPersona.class.getName()).log(Level.SEVERE, null,
ex);
}
return lista_persona;
}
@WebMethod(operationName = "buscar_ci")
public String buscar_ci(@WebParam(name = "ci") String ci) {
//TODO write your implementation code here:
return null;
}

You might also like