ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-List
zope-List
RE: [Zope] XML-RPC problems after upgrade
by Kevin Carlson other posts by this author
Dec 19 2002 3:22AM messages near this date
Re: [Zope] XML-RPC problems after upgrade | Re: [Zope] XML-RPC problems after upgrade
I am using xmlrpc with Zope 2.6 with no problems.  I am calling a script
that calls a ZSQL method from a cron job with the following code:

  from xmlrpclib import Server
  server = Server('http://localhost:8080/Blah/WebService/')
  results = server.sql28Cron()
  print results

In looking at this code vs. the code you are running I notice that the only
difference is that the text defining my server name ends with a '/'.  I'd
try adding the '/' and see what happens...

Kevin

-----Original Message-----
From: zope-admin@[...].org [mailto:zope-admin@[...].org]On Behalf Of Paulo
Eduardo Neves
Sent: Wednesday, December 18, 2002 9:59 PM
To: zope@[...].org
Subject: Re: [Zope] XML-RPC problems after upgrade


Em Quarta 18 Dezembro 2002 21:03, Dieter Maurer escreveu:
>  Paulo Eduardo Neves writes:
>   > 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()
> 
>  Try:
> 
>    s = xmlrpclib.Server('http://www.samba-choro.com.br/testXMLRPC')
>    s()

Now, instead of a NotFound with the resource /RC2, I've got an unspecied
not found error. The url is working, it is a simple python script, you
can click on it.

Does anyone got XML-RPC working in version 2.6.0?

thanks for your answer,
--
Paulo Eduardo Neves
Agenda do Samba & Choro, o boteco virtual do samba e choro
http://www.samba-choro.com.br


_______________________________________________
Zope maillist  -  Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )


_______________________________________________
Zope maillist  -  Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:
Paulo Eduardo Neves
Martijn Pieters
Dieter Maurer
Paulo Eduardo Neves
Kevin Carlson
Paulo Eduardo Neves
Martijn Pieters

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved