remove duplicate call to method serviceCatalog in service.php

the method, get_endpoint call to serviceCatalog