[issue13404] Add support for system.methodSignature() to XMLRPC Server

2013-09-23 Thread Vajrasky Kok
Vajrasky Kok added the comment: How do you infer the data types for the parameters? I don't think we can, unless we force them to use function annotation. If they don't use that feature, then we say the signature is not supported. The problem is getting deeper if we are talking about return

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2013-07-12 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13404 ___

[issue15021] xmlrpc server hangs

2012-06-12 Thread Abhishek Singh
Abhishek Singh abhishekrsi...@gmail.com added the comment: I found my problem. I was also using pipes to implement my show output (between python and C). The pipe was getting full, and xmlrpc server was locking up because of that. The gdb traceback was confusing though (will re-open if I see

[issue15021] xmlrpc server hangs

2012-06-09 Thread Abhishek Singh
timeout might help given my system is loaded with lots of competing (for CPU) threads. I am running the Simple xmlrpc server. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15021

[issue15021] xmlrpc server hangs

2012-06-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: What kind of xmlrpc server do you run? And how exactly? Try to set a timeout to all sockets: socket.setdefaulttimeout(10) Does this change something? Which exception (and traceback) do you get? -- nosy: +amaury.forgeotdarc

[issue15021] xmlrpc server hangs

2012-06-06 Thread Abhishek Singh
New submission from Abhishek Singh abhishekrsi...@gmail.com: Hi Terry, I am running into a xmlrpc server issue where it just hangs. 9.914048127.0.0.1 - 127.0.0.1TCP 52327 8012 [SYN] Seq=0 Win=32792 Len=0 MSS=16396 TSV=3131436173 TSER=0 WS=6 00 00 00 00 00 00 00 00 00 00 00

[issue14584] Add gzip support the XMLRPC Server

2012-04-14 Thread Raymond Hettinger
New submission from Raymond Hettinger raymond.hettin...@gmail.com: The xmlrpclib client already supports gzipped data and say so in the HTTP header: Accept-Encoding: gzip. Our XMLRPC Server ignores this header and always sends uncompressed data. -- messages: 158282 nosy: rhettinger

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13404 ___ ___ Python-bugs-list

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-14 Thread Raymond Hettinger
. -- components: Library (Lib) messages: 147623 nosy: rhettinger priority: normal severity: normal status: open title: Add support for system.methodSignature() to XMLRPC Server type: feature request versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +flox, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13404 ___ ___ Python-bugs-list

[issue13404] Add support for system.methodSignature() to XMLRPC Server

2011-11-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: How do you infer the data types for the parameters? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13404 ___

How to forward request through lighttpd server to xmlrpc server

2010-04-29 Thread Mishra Gopal-QBX634
Hi, I have Lighttpd web server running on port 80. and i have a xmlrpc web server running on port 8085 How i can send all my request/response to xmlrpc server through lighttpd server running on port 80? Thanks and regards, Gopal -- http://mail.python.org/mailman/listinfo/python-list

confused with creating doctest in xmlrpc server

2009-04-03 Thread Krishnakant
hello all, I am thinking of using the doctest module for my unit testing code in python. I have no problems doing this in usual classes but I am a bit confused with my twisted based rpc classes. given that I directly take the output of running functions on a python prompt for the dockstrings, how

How to Implement an XMLRPC Server in Python?

2008-10-29 Thread Zix
Hello, I am a newbie to python and trying to get a hang of some of its advanced features through an application I am building. Basically, I'd like to build a weather forecasting web service. The clients should be able to query the service with a location and date and get back the weather forecast.

Re: How to Implement an XMLRPC Server in Python?

2008-10-29 Thread Daniel Fetchinson
/search?q=python+xmlrpc+server+example Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Implement an XMLRPC Server in Python?

2008-10-29 Thread Guilherme Polo
On 10/29/08, Zix [EMAIL PROTECTED] wrote: Hello, I am a newbie to python and trying to get a hang of some of its advanced features through an application I am building. Basically, I'd like to build a weather forecasting web service. The clients should be able to query the service with a

Re: How to Implement an XMLRPC Server in Python?

2008-10-29 Thread Diez B. Roggisch
Guilherme Polo schrieb: On 10/29/08, Zix [EMAIL PROTECTED] wrote: Hello, I am a newbie to python and trying to get a hang of some of its advanced features through an application I am building. Basically, I'd like to build a weather forecasting web service. The clients should be able to

Re: How to Implement an XMLRPC Server in Python?

2008-10-29 Thread Zix
On Oct 29, 11:26 pm, Daniel Fetchinson [EMAIL PROTECTED] wrote: These pages might be useful, they include example code: Thanks Daniel, they do help. On Oct 29, 11:42 pm, Guilherme Polo [EMAIL PROTECTED] wrote: Why did you decide to expose a web service through xmlrpc instead of actually

getting full exception information from an xmlrpc server

2008-08-13 Thread Scott
I'm debugging an xmlrpc client/server application. Often when an exception occurs in the server, I receive only a very short error message on the client. For example: xmlrpclib.Fault: Fault 1: type 'exceptions.AssertionError': Presumably this is because xmlrpclib on the server is catching

Re: getting full exception information from an xmlrpc server

2008-08-13 Thread Fredrik Lundh
Scott wrote: I'm debugging an xmlrpc client/server application. Often when an exception occurs in the server, I receive only a very short error message on the client. For example: xmlrpclib.Fault: Fault 1: type 'exceptions.AssertionError': Presumably this is because xmlrpclib on the

Re: getting full exception information from an xmlrpc server

2008-08-13 Thread [EMAIL PROTECTED]
On Aug 13, 3:31 pm, Scott [EMAIL PROTECTED] wrote: What I would like is the full stack trace of what went wrong on the server (i.e. the junk python usually dumps to the console when an exception occurs). I don't care which side I see the dump on (client or server), but I need to see the whole

XMLRPC Server

2007-02-06 Thread viscanti
Hi, I'm trying to create an XMLRPC server using apache + python (cgi). It's not too difficult to configure everything, but I would like to tune it in order to receive up to 2000 calls per minute without any problems. Do Pthon CGIs use threading? I need to make it very efficient, but I haven't

Re: XMLRPC Server

2007-02-06 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: Hi, I'm trying to create an XMLRPC server using apache + python (cgi). It's not too difficult to configure everything, but I would like to tune it in order to receive up to 2000 calls per minute without any problems. Do Pthon CGIs use threading? I need to make

Re: XMLRPC Server

2007-02-06 Thread Lorenzo
Unfortunately I have to use Apache. The server implementation will we very easy, so I'm also considering more efficient solutions than python lv On Feb 6, 11:36 am, Diez B. Roggisch [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, I'm trying to create an XMLRPC server using apache

Re: XMLRPC Server

2007-02-06 Thread Lorenzo
Unfortunately I have to use Apache. The server implementation will be very easy, so I'm also considering more efficient solutions than python lv On Feb 6, 11:36 am, Diez B. Roggisch [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, I'm trying to create an XMLRPC server using apache

Re: XMLRPC Server

2007-02-06 Thread Brian Quinlan
[EMAIL PROTECTED] wrote: Hi, I'm trying to create an XMLRPC server using apache + python (cgi). It's not too difficult to configure everything, but I would like to tune it in order to receive up to 2000 calls per minute without any problems. That doesn't seem like excessive volume. Why

Re: XMLRPC Server

2007-02-06 Thread Paul Boddie
On 6 Feb, 12:30, Lorenzo [EMAIL PROTECTED] wrote: Unfortunately I have to use Apache. The server implementation will we very easy, so I'm also considering more efficient solutions than python You could try mod_python if there isn't an absolute requirement for CGI: http://www.modpython.org/

Re: XMLRPC Server

2007-02-06 Thread Fredrik Lundh
Brian Quinlan wrote: Actually, you might not have to. 2000 calls/minute isn't that big, assuming you have a decent server. well, if you're talking pure CGI, you need to start the interpreter, import the required modules, connect to the database, unmarshal the xml-rpc request, talk to the

Re: XMLRPC Server

2007-02-06 Thread Brian Quinlan
Fredrik Lundh wrote: well, if you're talking pure CGI, you need to start the interpreter, import the required modules, connect to the database, unmarshal the xml-rpc request, talk to the database, marshal the response, and shut down, in less than 30 milliseconds. just importing the CGI

Passing com object from simple xmlrpc server to client

2006-11-27 Thread tsjuan
Hello python users, I am just learning on how to use xmlrpc and stumbled upon how to pass com object from server to client side. The client side complain about can't marshall the com object. I don't know what type of marshall command I should use to pass the object. Below are my scripts, any

Re: Passing com object from simple xmlrpc server to client

2006-11-27 Thread Diez B. Roggisch
tsjuan schrieb: Hello python users, I am just learning on how to use xmlrpc and stumbled upon how to pass com object from server to client side. The client side complain about can't marshall the com object. I don't know what type of marshall command I should use to pass the object. you

Re: question about xmlrpc server: returning a list of lists to a Java client?

2006-10-23 Thread fortepianissimo
fortepianissimo wrote: I have a simple xmlrpc server/client written in Python, and the client throws a list of lists to the server and gets back a list of lists. This runs without a problem. I then wrote a simple Java xmlrpc client and it calls the python server. But I can't figure out what

question about xmlrpc server: returning a list of lists to a Java client?

2006-10-22 Thread fortepianissimo
I have a simple xmlrpc server/client written in Python, and the client throws a list of lists to the server and gets back a list of lists. This runs without a problem. I then wrote a simple Java xmlrpc client and it calls the python server. But I can't figure out what type to cast the result

Re: Secure XMLRPC Server / PEM Files

2006-09-12 Thread Laszlo Nagy
Daniel Crespo írta: Hi Laszlo, I have read that. It's the wrapper for the usage of OpenSSL, so I have to install it. I have downloaded the Borland C++ compiler, and I'm doing so right now, but I'm not getting good results yet. You do not need any compiler. You just need to install the

Re: Secure XMLRPC Server / PEM Files

2006-09-12 Thread Daniel Crespo
Hi Laszlo, Try this (untested): openssl req -config openssl.cnf -new -out my-server.csr openssl rsa -in privkey.pem -out my-server.key Here's what I tried: C:\OpenSSL\binopenssl req -config openssl.cnf -new -out my-server.csr Loading 'screen' into random state - done Generating a 1024 bit

Resolved: Secure XMLRPC Server / PEM Files

2006-09-12 Thread Daniel Crespo
Hi everybody, For those who want to implement a SecureXMLRPCServer (HTTPS), here is what I finally found in the Internet. I will summarise everything for the people like me that need extra help just to get running an HTTPS XMLRPC Server :) This summary is not intended to be exhaustive, but just

Secure XMLRPC Server / PEM Files

2006-09-11 Thread Daniel Crespo
Hello everybody, I'm trying to implement a secure xmlrpc server with basis on http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 recipe. The thing that I'm concerned about is how can I get/create rapidly the .pem files (the key and cert). Any help? Thanks Daniel -- http

Re: Secure XMLRPC Server / PEM Files

2006-09-11 Thread Laszlo Nagy
Daniel Crespo írta: Hello everybody, I'm trying to implement a secure xmlrpc server with basis on http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 recipe. The thing that I'm concerned about is how can I get/create rapidly the .pem files (the key and cert). Any help? Hello

Re: Secure XMLRPC Server / PEM Files

2006-09-11 Thread Laszlo Nagy
If you have OpenSSL installed, you can do the following: 1. Create a new directory and place the two attached files in it (openssl.cnf and generate.sh) 2. Run chmod +x gen_cert.sh ; ./gen_cert.sh yourdomain.com I meant generate.sh instead of gen_cert.sh. Under windows it won't work.

Re: Secure XMLRPC Server / PEM Files

2006-09-11 Thread Daniel Crespo
Laszlo Nagy wrote: If you have OpenSSL installed, you can do the following: 1. Create a new directory and place the two attached files in it (openssl.cnf and generate.sh) 2. Run chmod +x gen_cert.sh ; ./gen_cert.sh yourdomain.com I meant generate.sh instead of gen_cert.sh.

Re: Secure XMLRPC Server / PEM Files

2006-09-11 Thread Laszlo Nagy
Daniel Crespo írta: Laszlo Nagy wrote: If you have OpenSSL installed, you can do the following: 1. Create a new directory and place the two attached files in it (openssl.cnf and generate.sh) 2. Run chmod +x gen_cert.sh ; ./gen_cert.sh yourdomain.com I meant generate.sh instead

Re: Secure XMLRPC Server / PEM Files

2006-09-11 Thread Daniel Crespo
Hi Laszlo, I have read that. It's the wrapper for the usage of OpenSSL, so I have to install it. I have downloaded the Borland C++ compiler, and I'm doing so right now, but I'm not getting good results yet. I tried to import OpenSSL, it seems to work. Now, I want to try the code I submited

Re: secure xmlrpc server?

2006-06-09 Thread Kent Johnson
Laszlo Nagy wrote: But I do not know how to create an XML RPC server in Python that uses HTTPS for XML transports. This recent recipe seems to do exactly what you want: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 Kent -- http://mail.python.org/mailman/listinfo/python-list

Re: secure xmlrpc server?

2006-06-09 Thread Kent Johnson
Kent Johnson wrote: Laszlo Nagy wrote: But I do not know how to create an XML RPC server in Python that uses HTTPS for XML transports. This recent recipe seems to do exactly what you want: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 It was gently pointed out to me that

secure xmlrpc server?

2006-06-07 Thread Laszlo Nagy
Hello, I'm trying to create a simple XMLRPC server and a client. It is a small application, but the connection needs to be secure. I would like the client to be as thin as possible. Ideally, the client should only require the basic python library, nothing else. I found many examples

Re: secure xmlrpc server?

2006-06-07 Thread Jeethu Rao
Using Twisted on the server side for xmlrpc doesn't restrict your options to using only Twisted on the client side. Nothing prevents you from using xmlrpclib.ServerProxy on the client side. Jeethu Rao Laszlo Nagy wrote: Hello, I'm trying to create a simple XMLRPC server and a client

Re: secure xmlrpc server?

2006-06-07 Thread Martin P. Hellwig
Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ -- mph -- http://mail.python.org/mailman/listinfo/python-list

Re: secure xmlrpc server?

2006-06-07 Thread Laszlo Nagy
Martin P. Hellwig wrote: Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ C:\temp\cccpython setup.py install running install running build running build_py running build_ext error: The .NET Framework SDK needs to be installed before building extensions f or

Re: secure xmlrpc server?

2006-06-07 Thread Martin P. Hellwig
Laszlo Nagy wrote: Martin P. Hellwig wrote: Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ C:\temp\cccpython setup.py install running install running build running build_py running build_ext error: The .NET Framework SDK needs to be installed before

Re: secure xmlrpc server?

2006-06-07 Thread Laszlo Nagy
Martin P. Hellwig írta: Laszlo Nagy wrote: Martin P. Hellwig wrote: Laszlo Nagy wrote: cut ssl for xmlrpc Have a look at: http://trevp.net/tlslite/ C:\temp\cccpython setup.py install running install running build running build_py running build_ext error: The .NET

Re: secure xmlrpc server?

2006-06-07 Thread Martin P. Hellwig
Laszlo Nagy wrote: cut http://trevp.net/tlslite/ - no exe installers. http://sourceforge.net/projects/tlslite/ - no file packages to download :-( Download the zip and unpack it: http://trevp.net/tlslite/tlslite-0.3.8.zip Then there is an installers directory SimpleXMLRPCServer uses

xmlrpc server running behind IIS as a CGI

2005-05-02 Thread Chris Curvey
Here's my server: import os import SimpleXMLRPCServer class Foo: def settings(self): return os.environ def echo(self, something): return something def greeting(self, name): return hello, + name handler = SimpleXMLRPCServer.CGIXMLRPCRequestHandler()