[Zope] XMLRPC accessing Zope DTML/SQL methods

Mayers, Philip J p.mayers@ic.ac.uk
Wed, 8 Nov 2000 10:28:41 -0000


Ok, so this works:

def extmethod(self, REQUEST):
	return str(REQUEST)

From the web that prints the string Representation of REQUEST. But, over
XMLRPC, this:

s=xmlrpblib.Server("http://server.name/Zope/path/")
s.path.extmethod()

Returns the string representation of REQUEST, but *this*

s.path.extmethod('rrr')

return 'rrr'. What's happening?

Regards,
Phil

+----------------------------------+
| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |
+----------------------------------+  

-----Original Message-----
From: Dieter Maurer [mailto:dieter@handshake.de]
Sent: 07 November 2000 21:35
To: Mayers, Philip J
Cc: 'zope@zope.org'
Subject: Re: [Zope] XMLRPC accessing Zope DTML/SQL methods

<snip helpful replies>