Hi, I'm trying to use the xmlrpc interface to interact with xindice but the only response I get is "xmlrpclib.ProtocolError: <ProtocolError for localhost:8080/xindice: 302 Moved Temporarily>" when using python or "XML-RPC Fault #5: Didn't receive 200 OK from remote server. (HTTP/1.1 302 Moved Temporarily)" when using php.
Configuration details are: Redhat linux kernel 2.4.18-27.8.0 java jdk1.3.1_07 tomcat 5.0.19 xindice - tried both the 1.1b4 release and cvs source 1.1b5-dev For xmlrpc access I tried both python 2.2.1 with the standard xmlrpclib (which I want to use) and php 4.3.4 with phpxmlrpc library (just in case it was python specific). Example session: >>> import xmlrpclib >>> server = xmlrpclib.Server("http://localhost:8080/xindice") >>> server.execute("db.GetDocumentCount", ('/db/testing')) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.2/xmlrpclib.py", line 975, in __request verbose=self.__verbose File "/usr/lib/python2.2/xmlrpclib.py", line 848, in request headers xmlrpclib.ProtocolError: <ProtocolError for localhost:8080/xindice: 302 Moved Temporarily> I can access the xindice installation via the browser (http://localhost:8080/xindice) and via the commandline tools (xindice ac -c xmldb:xindice://localhost:8080/db -n testing). Any suggestions? Thanks, Suzanne