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
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
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
> ac
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 que
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 wi
rpcserver.html
http://code.activestate.com/recipes/81549/
http://code.activestate.com/recipes/496786/
http://www.google.com/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
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.
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
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: :">
Presumably this is because xmlrpclib on the server is catching the
exception, and only se
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: :">
Presumably this is because xmlrpclib on the server is catching the
exception, and only sending the except
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
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 d
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.o
[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
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 c
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 c
[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 threa
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
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 obje
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 hel
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.
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 resul
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
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\bin>openssl req -config openssl.cnf -new -out my-server.csr
Loading 'screen' into random state - done
Generating a 1024 b
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 th
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 earli
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 me
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
>
>
> 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
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 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
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 m
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
Laszlo Nagy wrote:
> 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 Simpl
Martin P. Hellwig írta:
> Laszlo Nagy wrote:
>
>> Martin P. Hellwig wrote:
>>
>>> Laszlo Nagy wrote:
>>>
>>> Have a look at:
>>> http://trevp.net/tlslite/
>>>
>>>
>> C:\temp\ccc>python setup.py install
>> running install
>> running build
>> running build_py
>> running build_ext
>
Laszlo Nagy wrote:
> Martin P. Hellwig wrote:
>> Laszlo Nagy wrote:
>>
>> Have a look at:
>> http://trevp.net/tlslite/
>>
> C:\temp\ccc>python setup.py install
> running install
> running build
> running build_py
> running build_ext
> error: The .NET Framework SDK needs to be installed before b
Martin P. Hellwig wrote:
> Laszlo Nagy wrote:
>
> Have a look at:
> http://trevp.net/tlslite/
>
C:\temp\ccc>python 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 Python.
C:\t
Laszlo Nagy wrote:
Have a look at:
http://trevp.net/tlslite/
--
mph
--
http://mail.python.org/mailman/listinfo/python-list
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 serv
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 on
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()
handler.
41 matches
Mail list logo