8 Jun
2004
8 Jun
'04
11:28 a.m.
Michael Haubenwallner wrote:
Ulrich Wisser wrote:
Hello Michael,
I would like to include dates in my xml-rpc answers. Zope gives me an error "long int exceeds XML-RPC limits". In my Script (Python) I am not allowed to import the DateTime class from xmlrpclib.
Do I really have to use external methods?
Have you tried to convert the date to string and send a string?
Yes I did. But then it it send as <string /> markup, not as <date.iso8601 /> markup.
how about this? http://www.python.org/doc/current/lib/datetime-objects.html
Yes, that works very well in my external method. But I can not import xmlrpclib in a Python Script object. /Ulrich