Very interesting question. I found this because I had the same idea.
It seems very similar to UDDI to me, and it gives you another level of indirection with possible improvements in security and improved maintainability (except for one point of failure that you can resolve anyway).
Of course, there is a DNS that would solve the host name problem, but with such a web service, you have incredible features, such as returning different connection strings based on who is asking (depending on the SSL certificate or user / pass or token, services directories such as AD, LDAP, user role, etc. - the sky is the limit :)
In addition, all connection strings will be properly protected and inaccessible to search for curious users.
At first, this idea seems perverted, but the more I think about it, the more I become convinced that a company at the enterprise level can greatly benefit from the introduction of such a solution.
Piotr owsiak
source share