[Zope] XML-RPC problems after upgrade

Martijn Pieters mj@zope.com
Thu, 19 Dec 2002 10:53:09 -0500


On Tue, Dec 17, 2002 at 11:15:44AM -0200, Paulo Eduardo Neves wrote:
> I've just upgrade from 2.4.3 to 2.6. In the process, I've also changed 
> some things (e.g., changed from SiteRoot/SiteAccess to VHM). My problem 
> now is that XML-RPC calls aren't working any more. I always get a /RPC2 
> NotFound error.  Here is the output of calling a simple python script:
> 
> ################################333
> python
> Python 2.1.3 (#4, May 23 2002, 15:13:21)
> [GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2
> Type "copyright", "credits" or "license" for more information.
> Welcome to Lazy Python.  Type "help LazyPython" for help.
> >>> import xmlrpclib
> >>> s = xmlrpclib.Server('http://www.samba-choro.com.br')
> >>> s.testXMLRPC()

xmlrpclib defaults to the path /RPC2, which is the Frontier default XML-RPC
server path (Frontier was the first sofwtare to implement XML-RPC). Add a
slash to your URL and things will work just fine.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@zope.com
| Zope Corporation   http://www.zope.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------