grenoml wrote:
Ok, yes, client would not know this. Is there no way in which the
context could be advertised by the server or discovered by the client? LDAP? Hardcoding the name just seems really rigid.


I cannot agree more on the principle. But somewhere you need a fixed point, so I can't think of any better solution other than hardcoding the "fulcrum" in the code. The problem is that the client doesn't know a thing about the server, all it has is a IP and possibly a port. We can think of some advertising mechanism, but it seems to me that any solution (do you really want an LDAP server just to know the relative location of the XML-RPC endpoint) would mean overengineering and complicate.

But suggestions on this are really most welcome.

Ciao,

--
Gianugo Rabellino



Reply via email to