symfony3Working with Web Services