dynamically expose a sp as a service