Modified return methods of webservice

* web service isn't allowed to return List so I transformed List
in basic arrays []

Signed-off-by: Martinas Mihaela <martinas.mihaela21@gmail.com>
Modified main

Signed-off-by: Martinas Mihaela <martinas.mihaela21@gmail.com>