Thank you, Oliver. I will follow up on that idea.
And I vaguely recall reading about weakness in xmlrpclib, which why I
posted these notes. My head hurts already, so if I have stumbled on
to a known problem then I like to minimize the self-inflicted stress.
Mark
On May 19, 2006, at 12:11 AM, Oliver Bock wrote:
XMLRPCServlet internal error
Traceback (most recent call last):
File "/usr/local/Webware-0.9.1/WebKit/XMLRPCServlet.py", line
46, in respondToPost
params, method = xmlrpclib.loads(data)
File "/var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/
xmlrpclib.py", line 1012, in loads
p.feed(data)
File "/var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/
xmlrpclib.py", line 528, in feed
self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 17, column 29
Mark,
Your stack trace suggests that your problem may be with XMLRPC data
that is being sent to you by somebody else---there may be nothing
wrong with Webware. I suggest that you hack XMLRPCServlet.py to
output the contents of 'data' in the line identified in your
trace. Perhaps the problem will be obvious, or perhaps you can get
whoever is sending the data to send simpler cases. (e.g. XMLRPC
has no representation of None/null, but some people use non-
standard schemas to transmit it anyway.)
Oliver
P.S. In the unlikely event that it's relevant, xmlrpclib in Python
2.2 had a bug that produced a problem that looked something like
this. I don't remember the details, but I found an entry in my
notes that says "fixed encoding for Fault". Make of that what you
will.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss