Set correct template web service URL automatically