I've been tweeking the XindiceServlet code a bit to get familiar with it . I'm curious why theres a decision to force the the path between its XML-RPC interface and the XMLDB client to be "/Xindice" ?

Currently its required that the servlet be at

http://host:port/Xindice/db...

And the XMLDB clients path be

xmldb:xindice://host:port/db/.....

I think this is the only way that remote access can occur over the XML-RPC client driver (Am I correct?).

Wouldn't it be more powerful to freeup the location that XindiceServet is accessable from by including such path info into the clients URI?

xmldb:xindice://host:port/Xindice/db/.....

then you can place the Servlet in any web application location and still be able to access it simply by the remote RPC based client

xmldb:xindice://host:port/Foo/Bar/db/.....

xmldb:xindice://host:port/Foo/Bar/db2/....

xmldb:xindice://host:port/Foo/Bar/db3/....

xmldb:xindice://host:port/HelloWorld/db/....

xmldb:xindice://host:port/db/....

xmldb:xindice://host:port/....

Webapplication developers can then choose where the XML-RPC access to thier db may or may not occur and Multiple RPC points can exist in one server namespace.

Thoughts?
-Mark



Reply via email to