pb with xmlrpclib

Doug Fort dougfort at dougfort.net
Fri Jul 6 09:57:27 EDT 2001


Alexandre Fayolle wrote:

> Hi,
> 
> I'm using python 2.1 and the latest release of xmlrpclib from pythonware.
> 
> If I use the default server, the following call causes  an error on the
> server:
> 
> from xmlrpclib import *
> 
> server = Server("http://localhost:8000")
> 
> print server
> 
> try:
>     print server.echo('\231')
> except Error, v:
>     print "ERROR", v
> 
> Is this a bug in xmlrpc or in the underlying xmllib ?
>  
> Alexandre Fayolle

The XML-RPC standard only supports ASCII text.  (I found this our from the 
new O'Reilly book 'Programming Web Services with XML-RPC'.  The book is 
pretty light weight (I skimmed it in an hour) but it has some worthwhile 
tidbits.

-- 
Doug Fort <dougfort at dougfort.net>
http://www.dougfort.net

______________________________________________________________________
Posted Via Uncensored-News.Com - Still Only $9.95 - http://www.uncensored-news.com
   With Seven Servers In California And Texas - The Worlds Uncensored News Source
  



More information about the Python-list mailing list