[Zope] Re: xml rpc

Pieter Laeremans pieter.laeremans at student.kuleuven.ac.be
Sat Dec 6 09:38:55 EST 2003


Pieter Laeremans <pieter.laeremans at student.kuleuven.ac.be> writes:

> Hannu Krosing <hannu at tm.ee> writes:
> 
> > Pieter Laeremans kirjutas L, 06.12.2003 kell 15:14:
> > > >From the document at http://www.zope.org/Members/teyc/howxmlrpc  
> > > I deduce that zope has the ability to work as an xmlrpc server.
> > > 
> > > However when I try it using the following code (because I didn't make
> > > a test folder and because zope runs on port 9673 on my system)
> > > 
> > > --------------------------------------------------------
> > > #!/usr/bin/python
> > > 
> > > import xmlrpclib
> > > 
> > > s=xmlrpclib.Server("http://localhost:9673")
> > > print s.Zope.pyhello("Chui Tey")
> > 
> > Do you have an one argument methiod called Zope/pyhello defined in your
> > zope ?
> > 
> 
> 
> in my / folder I have a method pyhello defined.
> 

It works just fine when I visit the following page with my browser :

http://localhost:9673/pyhello?name=pieter


regards,
 
 Pieter




More information about the Zope mailing list