symfony3 Working with Web Services