Hi all, I'm experimenting with collating data from a remote database that uses XML-RPC. I can send it messages like;
import xmlrpclib medweb = xmlrpclib.Server("http://bogus.server.com") medweb.getImages('scar') '<?xml version="1.0" encoding="ISO-8859-1" ?>\015\012\011<data>\015\012\011\011<title>Medwebb Images</title> \0
(lots of stuff snipped) But I just can't figure out how to send the XML version of the same query, ie <?XML VERSION="1.0"?> <methodCall> <methodName>getimages</methodName> <params> <param> <value><string>scar</string></value> </param> </params> </methodCall> to the server. I've got a nasty feeling that when I get told how to do this, I'm going to slap my forehead bloody hard.... As you can see the data is returned in XML format, and whilst I'm fine with Python code for XML parsing (usually use sgmlop), I'm a bit lost on where to start here. An External Method seems the best way, but I'd like the received wisdom on this. Ta muchly, tone ------ Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope