- From: Ken MacLeod <ken@bitsko.slc.ut.us>
- Date: 09 Jan 2001 08:51:13 -0600
- To: <xml-dist-app@w3.org>
"Fredrik Lundh" <fredrik@pythonware.com> writes: > > To make an XML Server request through SOAP or similar mechanisms > > I have to create an XML DOM, populate it, send it through a dedicated pipe > > function, while sending an HTTP request with query string parameters can be > > done through a generic POST or QS method call. > > footnote: depends on the interface, of course. here's a > complete XML-RPC request in Python: > > import xmlrpclib > betty = xmlrpclib.Server("http://betty.userland.com") > print betty.examples.getStateName(41) > > to make a SOAP request, just replace "xmlrpc" with "soap". > doing the same thing via HTTP requires far more work, > even in Python... footnote #2: depends on the interface, of course. here's a possible URI-Space request in Python: import urispace channel = urispace.get("http://monkeyfist.com/rss1.php3") print channel.title > (I'm pretty sure it can be made as easy in any modern language > with decent reflection support) Natch ;-) -- Ken
Received on Tuesday, 9 January 2001 09:51:24 UTC