Hello,

I would like to connect to ZODB using XmlRPC. I used a port number 9675. Is
the port 9675 correct ?
I run ZODB with such parameters : runzeo.py -a 9675 -f "C:\tmp\Data.fs"

How ZODB should be configured for XMLRpc ?
but I have such error :

[Fatal Error] :1:1: Content is not allowed in prolog.
org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers
response: Content is not allowed in prolog.
       at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(
XmlRpcStreamTransport.java:174)
       at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(
XmlRpcStreamTransport.java:149)
       at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(
XmlRpcHttpTransport.java:95)
       at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(
XmlRpcSunHttpTransport.java:39)
       at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(
XmlRpcClientWorker.java:53)
       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)

       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:157)

       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:146)

       at rpcapplication.RpcMain.main(RpcMain.java:64)
Caused by:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
       at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(
AbstractSAXParser.java:1269)
       at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(
XmlRpcStreamTransport.java:172)
       at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(
XmlRpcStreamTransport.java:149)
       at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(
XmlRpcHttpTransport.java:95)
       at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(
XmlRpcSunHttpTransport.java:39)
       at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(
XmlRpcClientWorker.java:53)
       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)

       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:157)

       at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:146)

       at rpcapplication.RpcMain.main(RpcMain.java:64)


My xml looks like :

<?xml version="1.0"?>
<methodCall>
 <methodName>root.get</methodName>
 <params>
   <param>
     <value>conferences</value>
   </param>
 </params>
</methodCall>

Could you give me some suggestion how should I solve it ?

And the second question : Is it some way how to see what is in ZODB - some
administration tool , which shows all objects and methods ?

Thanks for reply.
Jola



--
Pozdrawiam Jola
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to