Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-28 Thread Dieter Maurer
lucas wrote at 2021-3-27 18:53 +0100: >Following our previous discussion: > https://www.talkend.net/post/287193.html > >I finally took time (thanks to Florian R.) to get a reproducible example >of my problem, as asked previously by ChrisA. I compared `xmlrpc.client.ServerProxy.__init__` for Py

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-28 Thread Terry Reedy
On 3/27/2021 6:10 PM, lucas wrote: I hope it will solve it too. Do i need to do anything ? Review the patch by trying it out on your system. If necessary because you do not have a local cpython clone, backup installed 3.9 Lib/xmlrpc.py and hand-edit. Then report OS, python used, and result.

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-28 Thread Chris Angelico
On Sun, Mar 28, 2021 at 9:12 AM lucas wrote: > > Thank you ChrisA ! > > I hope it will solve it too. Do i need to do anything ? > > Thank you for your time and help. > There are a couple of things you can do actually! First off, here's the pull request, which will be where further comments happen

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread Terry Reedy
On 3/27/2021 5:49 PM, Chris Angelico wrote: https://bugs.python.org/issue38038 It seems to have been intended as a pure refactor, so I'd call this a regression. Fortunately, it's not difficult to fix; but I'm not sure if there are any other subtle changes. The regression's already been reporte

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread lucas
Thank you ChrisA ! I hope it will solve it too. Do i need to do anything ? Thank you for your time and help. Best wishes, --lucas On 27/03/2021 22:49, Chris Angelico wrote: On Sun, Mar 28, 2021 at 5:00 AM lucas wrote: I finally took time (thanks to Florian R.) to get a reproducible exampl

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread Chris Angelico
On Sun, Mar 28, 2021 at 5:00 AM lucas wrote: > I finally took time (thanks to Florian R.) to get a reproducible example > of my problem, as asked previously by ChrisA. Thanks! With this in hand, I can play around with it. > On debian, Python 3.7, i got: > > 127.0.0.1 - - [27/Mar/2021 18:31:

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread lucas
And, in my outputs, a key part is missing: the received arguments as parsed by Flask: Python 3.7: REQUEST: ImmutableMultiDict([('u', 'user'), ('p', 'password')]) Python 3.9: REQUEST: ImmutableMultiDict([]) Have a good day everyone, --lucas On 27/03/2021 18:53, lucas wrote: Followin

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-03-27 Thread lucas
Following our previous discussion: https://www.talkend.net/post/287193.html I finally took time (thanks to Florian R.) to get a reproducible example of my problem, as asked previously by ChrisA. The following code is implementing a webserver with Flask, and a client with the XMLRPC client

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 20:21, Chris Angelico wrote: On Thu, Feb 25, 2021 at 6:14 AM lucas wrote: I tested from the windows computer (Python 3.8, it appears, not 3.7 as i thought), and got the following nginx log: [LAPTOP IP] - - [24/Feb/2021:20:06:42 +0100] "POST /lib/exe/xmlrpc.php?u=[user]&p=[passwor

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread Chris Angelico
On Thu, Feb 25, 2021 at 6:14 AM lucas wrote: > I tested from the windows computer (Python 3.8, it appears, not 3.7 as i > thought), and got the following nginx log: > > [LAPTOP IP] - - [24/Feb/2021:20:06:42 +0100] "POST > /lib/exe/xmlrpc.php?u=[user]&p=[password] HTTP/1.1" 200 209 "-" > "DokuWikiX

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 19:22, Chris Angelico wrote: On Thu, Feb 25, 2021 at 5:12 AM lucas wrote: On 24/02/2021 18:48, Chris Angelico wrote: I added socket.gethostbyname("wiki.example.net") (i removed the https:// since it, obviously now i think about it, led to a socket error) in the program, so i coul

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread Chris Angelico
On Thu, Feb 25, 2021 at 5:12 AM lucas wrote: > > On 24/02/2021 18:48, Chris Angelico wrote: > I added socket.gethostbyname("wiki.example.net") (i removed the https:// > since it, obviously now i think about it, led to a socket error) > in the program, so i could verify both the URL and IP are equi

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 18:48, Chris Angelico wrote: On Thu, Feb 25, 2021 at 4:36 AM lucas wrote: A properly-formed URL will start with a protocol. I don't know specifically what changed, but it's looking like something started rejecting malformed URLs. Try adding "http://"; or "https://"; to your URL (w

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread Chris Angelico
On Thu, Feb 25, 2021 at 4:36 AM lucas wrote: > > A properly-formed URL will start with a protocol. I don't know > > specifically what changed, but it's looking like something started > > rejecting malformed URLs. Try adding "http://"; or "https://"; to your > > URL (whichever is appropriate) and s

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
On 24/02/2021 18:00, Chris Angelico wrote: On Thu, Feb 25, 2021 at 2:02 AM lucas wrote: Hi everyone, (Sorry for the double-send if any, i'm not sure the first send was performed, maybe because of bounce errors according to mailman.) I'm currently trying to understand an error when using the

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread Chris Angelico
On Thu, Feb 25, 2021 at 2:02 AM lucas wrote: > > Hi everyone, > > (Sorry for the double-send if any, i'm not sure the first send was > performed, maybe because of bounce errors according to mailman.) > > > I'm currently trying to understand an error when using the > dokuwikixmlrpc python module, a

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
njaro is based), that's the ca-certificates package) are up to date; and (2) check with whoever owns the wiki about any other certificates they require. After that, all I know about XML RPC is to avoid it. :-) I don't have the possibility to test this on python 3.8 specifically

Re: XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread 2QdxY4RzWzUUiLuE
ent.ProtocolError: wiki.example.net/lib/exe/xmlrpc.php: 401 Unauthorized> At the risk of stating the obvious, it might actually be an authentication problem. In addition to double checking the password: (1) make sure all of your certificates (under Arch Linux, on which Manjaro is based), that&

XML RPC changes between 3.7 and 3.9 yield 401 http error

2021-02-24 Thread lucas
Hi everyone, (Sorry for the double-send if any, i'm not sure the first send was performed, maybe because of bounce errors according to mailman.) I'm currently trying to understand an error when using the dokuwikixmlrpc python module, allowing to easily work with DokuWiki RPC interface. An

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

2015-07-29 Thread dieter
y 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

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

2015-07-29 Thread Irmen de Jong
m for its string/xml form and send that as a string across your xml-rpc call. Irmen -- https://mail.python.org/mailman/listinfo/python-list

Fwd: Request for Information XML-RPC (Python)

2015-07-29 Thread Davide D'Arenzo
Goodmorning dear Team, 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 p

RE: xml-rpc server on wine

2011-11-08 Thread Prasad, Ramit
>> Hi, I have a XML-RPC server python running on VM Windows (on Linux) >> and a XML-RPC client python on Linux. Server and client have different >> IP address. I'd like migrate server on wine. How can communicate >> server and client? IP address is different or is

Re: xml-rpc server on wine

2011-11-07 Thread Adam Tauno Williams
On Sat, 2011-11-05 at 05:50 -0700, pacopyc wrote: > Hi, I have a XML-RPC server python running on VM Windows (on Linux) > and a XML-RPC client python on Linux. Server and client have different > IP address. I'd like migrate server on wine. How can communicate > server and clie

xml-rpc server on wine

2011-11-05 Thread pacopyc
Hi, I have a XML-RPC server python running on VM Windows (on Linux) and a XML-RPC client python on Linux. Server and client have different IP address. I'd like migrate server on wine. How can communicate server and client? IP address is different or is the same? Can you help me? Thanks --

Re: Python script xml-rpc to C# xml-rpc script

2011-03-15 Thread Adam Tauno Williams
On Tue, 2011-03-15 at 08:00 -0700, Ymtrader wrote: > If anyone is fluent in python as well as C# using the cook computing > xml-rpc.net library I could really use some help. I have been trying > to write a C# program to access upcdatabase.com without much luck. Yes, I've used both. > have a w

Python script xml-rpc to C# xml-rpc script

2011-03-15 Thread Ymtrader
If anyone is fluent in python as well as C# using the cook computing xml-rpc.net library I could really use some help. I have been trying to write a C# program to access upcdatabase.com without much luck. I have a working python script. Would anyone be willing to show me the C# equivalent to th

xml-rpc UnicodeDecodeError

2010-06-10 Thread timothee cezard
Hi all, I'm starting to use xml-rpc module to check and potentially modify a confluence wiki but I'm getting and error on a page containing the pound (£) sign here is the code I'm using server = xmlrpclib.ServerProxy('my_server', verbose=True) token = server.co

Re: xml-rpc

2010-03-29 Thread Brian Quinlan
separate thread? Or is there some queuing mechanism for client calls? Thanks in advance. By default calls are processed serially. Look for ThreadingMixIn in: http://docs.python.org/library/socketserver.html And maybe read this too: http://code.activestate.com/recipes/81549-a-simple-xml-rpc-server

Re: xml-rpc

2010-03-16 Thread Gabriel Genellina
En Sun, 14 Mar 2010 05:14:49 -0300, ahmet erdinc yilmaz escribió: Recenetly we are developing a senior project and decide to use xmlrpclib. However I have some questions. In the documentation I could not find any clue about handling requests? Does the server handles each request in a separa

Re: xml-rpc

2010-03-14 Thread Martin P. Hellwig
On 03/14/10 10:32, hackingKK wrote: Instead of using the library directly, isn't python-twisted a better choice? Why? -- mph -- http://mail.python.org/mailman/listinfo/python-list

Re: xml-rpc

2010-03-14 Thread hackingKK
Instead of using the library directly, isn't python-twisted a better choice? happy hacking. Krishnakant. On Sunday 14 March 2010 03:47 PM, Martin P. Hellwig wrote: On 03/14/10 08:14, ahmet erdinc yilmaz wrote: Hello, Recenetly we are developing a senior project and decide to use xmlrpclib.

Re: xml-rpc

2010-03-14 Thread Martin P. Hellwig
On 03/14/10 08:14, ahmet erdinc yilmaz wrote: Hello, Recenetly we are developing a senior project and decide to use xmlrpclib. However I have some questions. In the documentation I could not find any clue about handling requests? Does the server handles each request in a separate thread? Or is t

xml-rpc

2010-03-14 Thread ahmet erdinc yilmaz
Hello, Recenetly we are developing a senior project and decide to use xmlrpclib. However I have some questions. In the documentation I could not find any clue about handling requests? Does the server handles each request in a separate thread? Or is there some queuing mechanism for client calls

Re: XML-RPC(using SimpleXMLRPCServer) slow on the first call

2009-10-14 Thread Mahi Haile
-- Forwarded message -- > From: "Gabriel Genellina" > To: python-list@python.org > Date: Wed, 14 Oct 2009 00:52:13 -0300 > Subject: Re: XML-RPC(using SimpleXMLRPCServer) slow on the first call > En Mon, 12 Oct 2009 18:58:45 -0300, Mahi Haile > escrib

Re: XML-RPC(using SimpleXMLRPCServer) slow on the first call

2009-10-13 Thread Gabriel Genellina
En Mon, 12 Oct 2009 18:58:45 -0300, Mahi Haile escribió: Hello all,I have an xml-rpc server running on a machine in the same LAN as the client. Both the server and the client are in Python. When I have a series of xmlrepc calls from the client to the server, the first call usually takes

XML-RPC(using SimpleXMLRPCServer) slow on the first call

2009-10-12 Thread Mahi Haile
Hello all,I have an xml-rpc server running on a machine in the same LAN as the client. Both the server and the client are in Python. When I have a series of xmlrepc calls from the client to the server, the first call usually takes much longer than it should - orders of magnitude. The latency is

Re: Client-server PDF creation with xtopdf, XML-RPC, ReportLab and Python

2009-10-04 Thread vasudevram
On Oct 4, 7:38 pm, vasudevram wrote: > Hi group, > > I'll update the README.txt file to correct that error soon.) Done. Corrected README.txt uploaded (as part of updated zip file). I forgot to mention, in the original post above, that both the client and the server programs have top-level clas

Client-server PDF creation with xtopdf, XML-RPC, ReportLab and Python

2009-10-04 Thread vasudevram
Hi group, I've released a software package named PDFXMLRPC. It consists of a server and a client. Using them, you can do client-server PDF creation from text, over the Internet or your intranet. It runs over XML-RPC and uses HTTP as the transport. It can work with any available port, incl

Jabber xml-rpc

2009-01-22 Thread makkalot
Hi all i have a program which does some xml-rpc work over SSL, i want now to add some NAT capibilites to my program. The way i thought is to use jabber and send my calls over jabber xml-rpc and ssl it. - Is it the best way to make sth 'natted'? - If yes which library do u reccommend

Re: XML-RPC

2008-10-26 Thread Stefan Behnel
asit wrote: > what is XML-RPC System Doesn't Wikipedia tell you that? Stefan -- http://mail.python.org/mailman/listinfo/python-list

XML-RPC

2008-10-26 Thread asit
what is XML-RPC System -- http://mail.python.org/mailman/listinfo/python-list

Re: XML RPC Problem....

2008-09-13 Thread Usman Ajmal
Yeah right but i don't see something wrong in my server's code. Following is my server's simple code import SimpleXMLRPCServer #server = ServerProxy("http://betty.userland.com";) class AuthenticationFunctions: def s(self): print "something..." server = SimpleXMLRPCServer.SimpleXM

Re: XML RPC Problem....

2008-09-13 Thread Fredrik Lundh
Usman Ajmal wrote: Problem is that when i start client (while the server is already running), i get an error i.e. Error 500 Internal Server Error that's a server error, not a client error. check the server logs (e.g. error.log or similar). -- http://mail.python.org/mailman/listinfo/pyth

Re: XML RPC Problem....

2008-09-13 Thread Usman Ajmal
Problem is that when i start client (while the server is already running), i get an error i.e. Error 500 Internal Server Error On Sat, Sep 13, 2008 at 3:58 PM, Fredrik Lundh <[EMAIL PROTECTED]>wrote: > Usman Ajmal wrote: > > Where exactly should i call ServerProxy? Following is the code from my

Re: XML RPC Problem....

2008-09-13 Thread Fredrik Lundh
Usman Ajmal wrote: Where exactly should i call ServerProxy? Following is the code from my client.py ServerProxy is the preferred name. Server is an old alias for the same class. t = SecureTransport() t.set_authorization(ustring, text_ucert) server = xmlrpclib.Server('http://l

Re: XML RPC Problem....

2008-09-13 Thread Usman Ajmal
Where exactly should i call ServerProxy? Following is the code from my client.py t = SecureTransport() t.set_authorization(ustring, text_ucert) server = xmlrpclib.Server('http://localhost:8000/',transport=t) print server.s() Note: Full code for client is here at http://privatepast

Re: XML RPC Problem....

2008-09-13 Thread Fredrik Lundh
Usman Ajmal wrote: Please explain the arguments of send_request. What exactly are the connection, handler and request_body? It will be really helpful if you give an example of how do i call send_request you don't call send_request. you should pass the SecureTransport instance as an argument

Re: XML RPC Problem....

2008-09-13 Thread Usman Ajmal
Please explain the arguments of send_request. What exactly are the connection, handler and request_body? It will be really helpful if you give an example of how do i call send_request On Thu, Sep 11, 2008 at 7:18 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote: > Usman Ajmal wrote: > > And i also fou

Re: XML-RPC "filter"

2008-09-12 Thread luigi . paioro
On 11 Set, 18:45, Richard Levasseur <[EMAIL PROTECTED]> wrote: > Because he wants to insert parameters at the very start, he can > probably get away with modifying the xml directly.  Just find the > position of the (i think thats the tag) and insert the xml > you need after it.  Its pretty dirty,

Re: XML-RPC "filter"

2008-09-11 Thread Richard Levasseur
On Sep 10, 2:04 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > > > On 9 Set, 17:55, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > >> I would go for a slightly different approach: make your server have a > >> dispatch-method that delegates the calls to the und

Re: XML RPC Problem....

2008-09-11 Thread Usman Ajmal
Thanks for ur help. But now i am getting an error xmlrpclib.ProtocolError: Here is my code at http://privatepaste.com/d81Kut9AFj Any idea what wrong am i doing? On Thu, Sep 11, 2008 at 7:18 AM, Fredrik Lundh <[EMAIL PROTECTED]>wrote: > Usman Ajmal wrote: > > And i also fount that a typical

Re: XML RPC Problem....

2008-09-11 Thread Fredrik Lundh
Usman Ajmal wrote: And i also fount that a typical system.auth call will look like: POST /xmlrpc/clarens_server.py HTTP/1.0 Host: localhost User-Agent: xmlrpclib.py/0.9.9 (by www.pythonware.com ) Content-Type: text/xml Content-Length: 105 AUTHORIZATION: Basic MkhVTm

XML RPC Problem....

2008-09-11 Thread Usman Ajmal
Hi everyone, I am trying to call a function named system.auth at the server side running at localhost:8080 but at the same time i want to set the http header. I found that header can be set by h.putheader("AUTHORIZATION", "Basic %s"%encodestring("%s:%s" % (ustring,text_ucert))) #us

Re: XML-RPC "filter"

2008-09-10 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: On 9 Set, 17:55, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: I would go for a slightly different approach: make your server have a dispatch-method that delegates the calls to the underlying actual implementation. But *before* that happens, extract the information as

Re: XML-RPC "filter"

2008-09-10 Thread Richard Levasseur
On Sep 9, 8:53 am, Luigi <[EMAIL PROTECTED]> wrote: > Dear all, > > I'm writing an XML-RPC server which should be able to modify the > incoming request before dispatching it. In particular I wand to added > two fixed parameters to the method called: one is the client hos

Re: XML-RPC "filter"

2008-09-10 Thread luigi . paioro
On 9 Set, 17:55, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > I would go for a slightly different approach: make your server have a > dispatch-method that delegates the calls to the underlying actual > implementation. But *before* that happens, extract the information as > above, and either > >

Re: XML-RPC "filter"

2008-09-09 Thread Diez B. Roggisch
Luigi wrote: > Dear all, > > I'm writing an XML-RPC server which should be able to modify the > incoming request before dispatching it. In particular I wand to added > two fixed parameters to the method called: one is the client host > address, and the other is the us

XML-RPC "filter"

2008-09-09 Thread Luigi
Dear all, I'm writing an XML-RPC server which should be able to modify the incoming request before dispatching it. In particular I wand to added two fixed parameters to the method called: one is the client host address, and the other is the user name provided as for Basic Authentication

Re: Authentication for XML-RPC Calls

2008-07-22 Thread Larry Bates
whitemice wrote: The only documentation regarding doing authentication for XML-RPC I can find is - "Both the HTTP and HTTPS transports support the URL syntax extension for HTTP Basic Authentication: http://user:[EMAIL PROTECTED]:port/path. The user:pass portion will be base64-encoded as an

Authentication for XML-RPC Calls

2008-07-22 Thread whitemice
The only documentation regarding doing authentication for XML-RPC I can find is - "Both the HTTP and HTTPS transports support the URL syntax extension for HTTP Basic Authentication: http://user:[EMAIL PROTECTED]:port/path. The user:pass portion will be base64-encoded as an HTTP `Authoriz

Re: Python XML-RPC Server with clientside Javascript

2008-07-05 Thread akineko
Hello Paul, Thank you very much for your prompt and clear answer. I didn't know the "same origin" javascript security policy (as I'm not familiar with javascript). After reading the description of the "same origin" javascript policy, I think you are absolutely correct. The security policy does mak

Re: Python XML-RPC Server with clientside Javascript

2008-07-05 Thread paul
found many XML-RPC examples with javascript but all of them I found assume XML-RPC services to be deliver from a web server, such as Apache, as a CGI. I'd think this has nothing to do with CGI vs. "free-standing", the client couldn't tell the difference anyway. It looks lik

Python XML-RPC Server with clientside Javascript

2008-07-04 Thread akineko
:8765') print s.my_method() I tested all methods one by one and they are working as I intended. Now, I want to use those exposed methods from a static html file (without any web server) using client side javascript. (i.e. Open File... from the browser (or file://...) ) I found many XML-RP

Want a strange XML RPC server

2008-01-08 Thread Laszlo Nagy
Hi, I would like to have a strage XML RPC server. It should use one main thread for all connections. I have some code like this (using a custom RPC server class): server_address = (LISTEN_HOST, LISTEN_PORT) # (address, port) server = mess.SecureXMLRPCServer.SecureXMLRPCServer

Re: xml-rpc timeout

2007-09-24 Thread Steve Holden
Lawrence D'Oliveiro wrote: > In message <[EMAIL PROTECTED]>, Steve > Holden wrote: > >> Timeouts shouldn't be a normal feature of TCP communications. > > On the contrary, they should. How else are you going to detect that the > other side has died? You missed the point, which is that TCP hosts s

Re: xml-rpc timeout

2007-09-22 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Steve Holden wrote: > Timeouts shouldn't be a normal feature of TCP communications. On the contrary, they should. How else are you going to detect that the other side has died? -- http://mail.python.org/mailman/listinfo/python-list

Re: xml-rpc timeout

2007-09-21 Thread Steve Holden
hat on't have their own explicit timeouts applied. Give it a try. > I would have thought this to be an easy thing to achieve. In order to > make xml-rpc easy to use.. it has become difficult to control. > You might also ask why your server *is* timing out. Timeouts shouldn't be a

Re: xml-rpc timeout

2007-09-21 Thread Jd
what method I am going to call, I do not have access to socket. I would have thought this to be an easy thing to achieve. In order to make xml-rpc easy to use.. it has become difficult to control. Anyone have any other ideas ? /Jd -- http://mail.python.org/mailman/listinfo/python-list

Re: xml-rpc timeout

2007-09-21 Thread Steve Holden
Jd wrote: > Hi >I have a multi-threaded application. For certain operations to the > server, I would like to explicitly set timeout so that I get correct > status from the call and not timed out exception. >Does anyone know how to go about doing it ? > The easiest way is to use socket.setd

xml-rpc timeout

2007-09-21 Thread Jd
Hi I have a multi-threaded application. For certain operations to the server, I would like to explicitly set timeout so that I get correct status from the call and not timed out exception. Does anyone know how to go about doing it ? /Jd -- http://mail.python.org/mailman/listinfo/python-list

Re: Asynchronous XML-RPC client library?

2007-04-29 Thread Jarek Zgoda
Stefano Canepa napisał(a): >> Is there anything like that? Googling yields many articles on async >> servers, but virtually nothing on clients. I have to talk to remote in >> an environment that does not allow threads... > > Why don't you try twisted (http://www.twistedmatrix.com) Because this i

Re: Asynchronous XML-RPC client library?

2007-04-29 Thread Stefano Canepa
On 29 Apr, 07:11, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Is there anything like that? Googling yields many articles on async > servers, but virtually nothing on clients. I have to talk to remote in > an environment that does not allow threads... > > -- > Jarek Zgodahttp://jpa.berlios.de/ Why don

Re: Asynchronous XML-RPC client library?

2007-04-29 Thread Jarek Zgoda
Martin v. Löwis napisał(a): >> Is there anything like that? Googling yields many articles on async >> servers, but virtually nothing on clients. I have to talk to remote in >> an environment that does not allow threads... > > My recommendation would be to use xmlrpclib, and combine it with > the

Re: Asynchronous XML-RPC client library?

2007-04-29 Thread Martin v. Löwis
Jarek Zgoda schrieb: > Is there anything like that? Googling yields many articles on async > servers, but virtually nothing on clients. I have to talk to remote in > an environment that does not allow threads... My recommendation would be to use xmlrpclib, and combine it with the async framework t

Asynchronous XML-RPC client library?

2007-04-28 Thread Jarek Zgoda
Is there anything like that? Googling yields many articles on async servers, but virtually nothing on clients. I have to talk to remote in an environment that does not allow threads... -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: XML-RPC SSL and client side certs?

2007-04-11 Thread Martin v. Löwis
Jeff McNeil schrieb: > I apologize for not giving you a Python specific answer, but for the > XMLRPC services I've deployed, I front them with Apache and proxy back > to localhost:8080. > > I do all of the encryption and authentication from within the Apache > proper and rely on mod_proxy to forwa

Re: XML-RPC SSL and client side certs?

2007-04-10 Thread Jeff McNeil
I've settled on basic authentication, but I see no reason why you couldn't take advantage of mod_ssl. Thanks, hope that helps. Just another option, really. Jeff On 10 Apr 2007 14:43:40 -0700, Eli Criffield <[EMAIL PROTECTED]> wrote: > > Does anyone have an example set

XML-RPC SSL and client side certs?

2007-04-10 Thread Eli Criffield
Does anyone have an example setup of a XML-RPC sever using client side certs for authentication? And instead of having a list of certs allowed to connect, I'd like to allow any cert signed by my CA. It doesn't seem like it would be to hard to do and I'll probably spend some tim

Re: keyword arguments for xml-rpc

2007-03-19 Thread [EMAIL PROTECTED]
Diez, Yes thanx - that (structs) is indeed where my confusion lies... :) Alas, ordered parameters it is. On Mar 19, 5:44 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > I don't see[1] the possibility to pass keyword arguments via XMLRPC. Where > did you get that impression from? You can

Re: keyword arguments for xml-rpc

2007-03-19 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > I've just noticed that I can't seem to use keyword arguments for > xml-rpc requests even though the protocol itself encodes parameter > names, types, and values when it sends the xml across the network. > This becomes a bit problematic for me b

keyword arguments for xml-rpc

2007-03-19 Thread [EMAIL PROTECTED]
I've just noticed that I can't seem to use keyword arguments for xml-rpc requests even though the protocol itself encodes parameter names, types, and values when it sends the xml across the network. This becomes a bit problematic for me because I want to store some XML- RPC metho

Re: who is maintainer of xml-rpc module?

2006-11-26 Thread Fredrik Lundh
Mark Harrison wrote: > So, I've made a couple of small but useful additions to > the xml-rpc package. Is there an assigned maintainer > of the package I should communicate with? post your patch here: http://sourceforge.net/tracker/?group_id=5470&atid=305470 -- http

Re: who is maintainer of xml-rpc module?

2006-11-26 Thread Martin v. Löwis
Mark Harrison schrieb: > So, I've made a couple of small but useful additions to > the xml-rpc package. Is there an assigned maintainer > of the package I should communicate with? The author of the module is Fredrik Lundh; you can try to contact him. If you want to contribute your

who is maintainer of xml-rpc module?

2006-11-25 Thread Mark Harrison
So, I've made a couple of small but useful additions to the xml-rpc package. Is there an assigned maintainer of the package I should communicate with? I've got the server side running under apache/mod_python, which is a bit more industrial strength than the simple xmlrpc server, and a

Re: Problem with XML-RPC not mounted in /

2006-11-06 Thread Almad
Just FYI, this is bug in CP filter machinery, xmlrpc filter do not apply recursively so do not dispatch reuqest. Quick fix is to xmlrpcfilter.on not only on /ws, but also on /ws/main Regards, Almad -- http://mail.python.org/mailman/listinfo/python-list

Problem with XML-RPC not mounted in /

2006-11-06 Thread Almad
Hi, I'm trying to build XML-RPC service, both server and client library. My server is CherryPy with XML-RPC filter. I have here method registration_ip. When it's in, say http://ws.rpgplanet.nerv/, everything is OK, but when I move it in http://ws.rpgplanet.nerv/main/, this behaviour oc

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-07 Thread skip
>> As someone else noted though, a five-second delay for such a small >> example doesn't seem to be an XML-RPC problem. A simple round-trip >> to my XML-RPC server running on the localhost takes about 5 >> *milli*seconds. Fredrik> even if

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-07 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > As someone else noted though, a five-second delay for such a small example > doesn't seem to be an XML-RPC problem. A simple round-trip to my XML-RPC > server running on the localhost takes about 5 *milli*seconds. even if the service you're conn

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-07 Thread skip
d though, a five-second delay for such a small example doesn't seem to be an XML-RPC problem. A simple round-trip to my XML-RPC server running on the localhost takes about 5 *milli*seconds. That's with sgmlop installed, but even without it, I can't imagine it taking more

Re: XML-RPC + SimpleHTTPServer question

2006-07-07 Thread jbrewer
Thank you very much, Fredrik. Your code and suggestion worked perfectly. I haven't benchmarked the plain HTTP post vs Binary wrapper, but strangely even using the naive Binary wrapper in Python sends files much faster than how Java + Axis wraps byte arrays in SOAP messages. Jeremy -- http://ma

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-07 Thread Jack
Ha! Thanks Fredrik for the big hint :) I wasn't careful when reading that page. Was in too much of a hurry to try the code :) > and a "5" as the second argument in the greeting call. I wonder what that > does ? ;-) > > (if you need a hint, look for "waits the given number of seconds" on this >

Re: Solution for XML-RPC over a proxy

2006-07-07 Thread Stefan Krah
* Andrew R <[EMAIL PROTECTED]> wrote: > All, > > I couldn't get my xml-rpc script to work via a corporate proxy. > > I noticed a few posts asking about this, and a very good helper script by jjk > on > starship. That script didn't work for me, and I thin

Re: Solution for XML-RPC over a proxy

2006-07-07 Thread Laszlo Nagy
Andrew R írta: > All, > > I couldn't get my xml-rpc script to work via a corporate proxy. > > I noticed a few posts asking about this, and a very good helper script by jjk > on > starship. That script didn't work for me, and I think its a little old -- but >

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-07 Thread Fredrik Lundh
Jack wrote: > When I try TooFPy with the SOAP and XML-RPC sample client code > provided in TooFPy tutorials, a log entry shows up quickly on web server > log window, but it takes a long time (5 seconds or longer) okay, 5 seconds... > No, I'm not using any accelerator. The

Solution for XML-RPC over a proxy

2006-07-06 Thread Andrew R
All, I couldn't get my xml-rpc script to work via a corporate proxy. I noticed a few posts asking about this, and a very good helper script by jjk on starship. That script didn't work for me, and I think its a little old -- but it was very helpful to figure it out. The below s

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-06 Thread Jack
No, I'm not using any accelerator. The code is extremely simple (from toofpy): # XML-RPC test import xmlrpclib srv = xmlrpclib.Server('http://localhost:4334/RPC2/greeting') print srv.greeting('you', 5) # SOAP test import SOAPpy srv = SOAPpy.SOAPProxy('http://localh

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-06 Thread Boris Borcic
Jack wrote: > When I try TooFPy with the SOAP and XML-RPC sample client code > provided in TooFPy tutorials, a log entry shows up quickly on web server > log window, but it takes a long time (5 seconds or longer) for the client > to output a "Hello you." It seems like

Re: XML-RPC server-client communication

2006-07-06 Thread Stefka
no, its an extern IP adress. For my needs the server and the client must be on different machines. But I opened the port and it worked. Thanks anyway :) Greetz, Stefka Marco Aschwanden wrote: > > server = SimpleXMLRPCServer.SimpleXMLRPCServer(("xxx.xxx.xxx.xxx", > > 22999)) > > Could it be that x

Re: Python SOAP and XML-RPC performance extremely low?

2006-07-06 Thread skip
Jack> When I try TooFPy with the SOAP and XML-RPC sample client code Jack> provided in TooFPy tutorials, a log entry shows up quickly on web Jack> server log window, but it takes a long time (5 seconds or longer) Jack> for the client to output a "Hello you."

  1   2   >