Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94762

Re: Fwd: Request for Information XML-RPC (Python)

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'binary': 0.05; 'wrapper': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; 'appropriate': 0.14; 'encoding': 0.15; 'expects': 0.16; 'instance"': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'string).': 0.16; 'subject:XML': 0.16; 'xmlrpclib': 0.16; '(in': 0.18; 'library': 0.20; 'issue.': 0.20; '(this': 0.24; 'xml': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'host': 0.28; 'document,': 0.29; 'dom': 0.29; 'protocol.': 0.29; 'thus,': 0.29; 'convert': 0.29; "i'm": 0.30; 'problem': 0.33; 'belong': 0.33; 'wrap': 0.33; 'case,': 0.34; 'server': 0.34; 'instance': 0.35; 'set.': 0.35; 'supports': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'does': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'your': 0.60; 'hope': 0.61; '(that': 0.63; 'between': 0.65; 'received:217': 0.66; 'potentially': 0.67; '(likely': 0.84; 'elementary': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: Fwd: Request for Information XML-RPC (Python)
Date Thu, 30 Jul 2015 08:10:43 +0200
References <CAKsfBhG7omPzk-4v9UH_FAGt2UdxGkBVa5GyOcRFVBkwUFevvQ@mail.gmail.com> <CAKsfBhFCz2faBYaLcSsfOvWgzOtAmj4oH7x3YoAukGq7MyjWTQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e0ac16.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:eY8QVkD1tHQTU8GJvHplf3JWd10=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1086.1438236651.3674.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1438236651 news.xs4all.nl 2823 [2001:888:2000:d::a6]:38997
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:94762

Show key headers only | View raw


"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 comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Fwd: Request for Information XML-RPC (Python) dieter <dieter@handshake.de> - 2015-07-30 08:10 +0200

csiph-web