using serviceURL instead of manually crafting host