Change the UrlBuilder.format() method to receive a service  parameter

Change the UrlBuilder.format() method to receive a service  parameter