On Tuesday, April 2, 2002, at 05:48 PM, Mark Diggory wrote:
Mike,
No, it isn't. The current XML:DB API impl uses CORBA to talk to the server, but it needs to be able to contact it via HTTP initially, to bootstrap the CORBA connection.
Ok, hmmm. Well, I'm dealing with a situation where I already have http services running via apache and tomcat, I'd love to just drop my ior into my doc base there and use the already installed services, however,
I anticipate this is also not workable as the Xindice XML:DB implmentation is probibly looking specifically on port 4080 for the ior isn't it? As well the APIService in Xindice hard codes the location of the ior relative to XINDICE_HOME (Ouch).
If you're on UNIX a symbolic link would fix you right up. I was also going to say just make it configurable and send us a patch, but then I remembered that APIService is going to be removed from 1.1 onwards.
As for the client API, you can specify the port as part of the URI.
IIRC, the upcoming XMLRPC impl of the XML:DB API will unfortunately be using http anyway, so there's no real way out of it.
Hmm, is the XMLRPC service going to be running directly through the HTTP Server? Will it run on a specific port? Just curious.
It will use the same HTTP server and port. In this case you're actually kind of stuck too, since all communications with the server will be through HTTP. The only way around it would be to directly embed Xindice inside a Tomcat instance, which is very possible.
-Mark
Kimbro Staken Java and XML Software, Consulting and Writing http://www.xmldatabases.org/ Apache Xindice native XML database http://xml.apache.org/xindice XML:DB Initiative http://www.xmldb.org
