Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94762 > unrolled thread
| Started by | dieter <dieter@handshake.de> |
|---|---|
| First post | 2015-07-30 08:10 +0200 |
| Last post | 2015-07-30 08:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Fwd: Request for Information XML-RPC (Python) dieter <dieter@handshake.de> - 2015-07-30 08:10 +0200
| From | dieter <dieter@handshake.de> |
|---|---|
| Date | 2015-07-30 08:10 +0200 |
| Subject | Re: Fwd: Request for Information XML-RPC (Python) |
| Message-ID | <mailman.1086.1438236651.3674.python-list@python.org> |
"Davide D'Arenzo" <davide.darenzo@gmail.com> writes: > I'm Davide D'Arenzo and I'm working with Python using the standard > xmlrpclib library communicating between a JavaServer (that host xmlrpc > server) and my python client. I have a problem and I hope that you should > solve my issue. > > I want to send a DOM instance through xmlrpc protocol. I know that the > istance are impossible to manage by xmlrpclib library in Python but this is > what I need. XML-RPC supports only a very small set of elementary types - and "DOM instance" does not belong to this set. Thus, you must ask your server administrator as what type the server expects to get the XML (this may either by "string" or "binary"; I suppose, it will be "binary"). You then convert your DOM instance into an XML document, potentially using an appropriate encoding (likely "utf-8"), and potentially wrap it into "xmlrpclib"'s "binary" wrapper (in case, the server expects a binary string).
Back to top | Article view | comp.lang.python
csiph-web