En Mon, 12 Oct 2009 18:58:45 -0300, Mahi Haile
begin.middle@gmail.com 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
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,
including
On Oct 4, 7:38 pm, vasudevram vasudev...@gmail.com wrote:
Hi group,
snip/
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
Martin v. Löwis mar...@v.loewis.de added the comment:
Rejecting the patch because of lack of responsiveness.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1360243
Changes by Daniel Diniz aja...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1360243
___
___
Python-bugs-list
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - feature request
versions: +Python 2.7, Python 3.1 -Python 2.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1360243
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 ? twisted
what is XML-RPC System
--
http://mail.python.org/mailman/listinfo/python-list
asit wrote:
what is XML-RPC System
Doesn't Wikipedia tell you that?
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
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 fount
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
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
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 =
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
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).
/F
--
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 =
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 params (i think thats the tag) and insert the xml
you need after it. Its pretty dirty,
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)))
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
http://www.pythonware.com)
Content-Type: text/xml
Content-Length: 105
AUTHORIZATION: Basic
Thanks for ur help. But now i am getting an error
xmlrpclib.ProtocolError: ProtocolError for localhost:8000/RPC2: 500
Internal Server Error
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
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 underlying actual
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
-
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 host
address, and the other
[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
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 (http
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 user name provided as for Basic
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 `Authorization
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 HTTP
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 like you're running in the same origin
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 make
')
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-RPC examples
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
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 shouldn't
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
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
--
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
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
are writing Python, so you can write
import socket
socket.setdefaulttimeout(60)
and this will apply to all sockets that 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
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
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 async
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't you
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 is 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...
--
Jarek Zgoda
http://jpa.berlios.de/
--
http://mail.python.org/mailman/listinfo/python-list
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 forward
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 time setting it up
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 setup of a XML-RPC sever using client
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 method dispatch
[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 because I want to store
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 pass
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 changes
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=5470atid=305470
/F
--
http://mail.python.org/mailman
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 patch
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 occur:
srv
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
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 code is extremely simple
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
it
was very helpful to figure it out
* 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 think its a little old -- but
it
was very helpful
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
page:
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
--
-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 than
50-100 ms.
Skip
--
http
[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 connecting is waiting 5
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 the service you're connecting is waiting 5
[EMAIL PROTECTED] wrote:
Then the client code can get the value of i like this:
c = xmlrpclib.ServerProxy(address)
c.geti()
but why can't I get the value of i like this?
c.i
you can't. the XML-RPC protocol only supports method calls, not
attribute accesses.
How can I implement
[EMAIL PROTECTED] wrote:
but why can't I get the value of i like this?
c.i
How can I implement such behaviour?
Not supported by XMLRpc. Switch to Pyro: http://pyro.sourceforge.net
--Irmen
--
http://mail.python.org/mailman/listinfo/python-list
server = SimpleXMLRPCServer.SimpleXMLRPCServer((xxx.xxx.xxx.xxx,
22999))
Could it be that xxx.xxx.xxx.xxx stands for '127.0.0.1'? If so... rename
it to 'localhost'. If you bind a port to 127.0.0.1 it will be found only
on the same machine.
Greetings,
Marco
--
wrote:
I'm currently implementing an XML-RPC service in Python where binary
data is sent to the server via URLs. However, some clients that need
to access the server may not have access to a web server, and I need to
find a solution. I came up with the idea of embedding a simple HTTP
server
sashang Then the client code can get the value of i like this:
sashang c = xmlrpclib.ServerProxy(address)
sashang c.geti()
sashang but why can't I get the value of i like this?
sashang c.i
RPC stands for Remote Procedure Call. You're looking for a remote
object access
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 the web server is fast because the
log
entry shows
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.
For XML-RPC are you using
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
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 the web server is fast because
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://localhost:4334/SOAP/greeting')
print
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 script
Hi all,
I try to implement a python xml-rpc server and call it from a php
client. If the server and the client are on the same machine
(localhost) the communication between them is just fine. When I start
the server on a different host I don't get an answer.
What is missing there?? I tried also
Stefka írta:
Hi all,
I try to implement a python xml-rpc server and call it from a php
client. If the server and the client are on the same machine
(localhost) the communication between them is just fine. When I start
the server on a different host I don't get an answer.
Please go
I'm currently implementing an XML-RPC service in Python where binary
data is sent to the server via URLs. However, some clients that need
to access the server may not have access to a web server, and I need to
find a solution. I came up with the idea of embedding a simple HTTP
server in the XML
jbrewer wrote:
I'm currently implementing an XML-RPC service in Python where binary
data is sent to the server via URLs. However, some clients that need
to access the server may not have access to a web server, and I need to
find a solution. I came up with the idea of embedding a simple
Hi,
thanx for the hint :)! I ran a port scan and it turned out, that the
port was realy closed.
Thanx again!
greetz,
Stefka
Laszlo Nagy wrote:
Please go to the machine where you php program resides, and check if the
server is not blocked by firewall rules. For example, do
telnet
Fredrik Lundh wrote:
why not just use an ordinary HTTP POST request ?
Sorry for such a simple question, but how would I do this? XML-RPC
runs on top of HTTP, so can I do a POST without running a separate HTTP
server?
Jeremy
--
http://mail.python.org/mailman/listinfo/python-list
jbrewer wrote:
Sorry for such a simple question, but how would I do this? XML-RPC
runs on top of HTTP, so can I do a POST without running a separate HTTP
server?
the XML-RPC protocol uses HTTP POST, so if you can handle XML-RPC, you
should be able to handle any POST request. what server
What server are you using?
Just SimpleXMLRPCServer from the standard library.
--
http://mail.python.org/mailman/listinfo/python-list
jbrewer wrote:
Just SimpleXMLRPCServer from the standard library.
which means that you should be able to do something like
from SimpleXMLRPCServer import SimpleXMLRPCServer,\
SimpleXMLRPCRequestHandler
class MyRequestHandler(SimpleXMLRPCRequestHandler):
def do_POST(self):
Fredrik Lundh wrote:
the XML-RPC protocol uses HTTP POST, so if you can handle XML-RPC, you
should be able to handle any POST request. what server are you using ?
I need some clarification of your suggestion. Instead of sending URLs,
I could read the file as a string, create a Binary object
OK, I posted my previous message before I saw your reply on how to
handle the server side. On the client side, should I use
httplib.HTTPConnection.request() to upload the data or can I do this
through xmlrpc.ServerProxy objects?
Jeremy
--
http://mail.python.org/mailman/listinfo/python-list
Hi
Say I have a class like the following
class Test:
i = 1
def geti(self):
return self.i
And I use it in an xml-rpc server like this:
t = Test()
s.register_instance(t)
Then the client code can get the value of i like this:
c = xmlrpclib.ServerProxy(address)
c.geti()
but why can't I
Just to make things clearer the problem I have is if I do this:
c = xmlrpclib.ServerProxy(http://somewhere;)
c.i
I get this error:
Fault 1: exceptions.TypeError:'int' object is not callable
So how do I fake things so that xmlrpc knows not to try and call i but
gets the value of i instead?
--
Hi all,
I'm wondering what would be the best way to write an XML-RPC server
using mod_python with Apache 2.0. I want the mod_python environment
because the rest of my project is web-based, and Apache gives me
multi-threading and everything.
My first attempt implements XML-RPC introspection
I've got an API that deals with 64 bit int values. Is there
any way of handling this smoothly? Right now I'm casting
the values into and out of strings for the API.
If not, are there any nice alternatives to XML-RPC that
support this?
Many TIA!
Mark
--
Mark Harrison
Pixar Animation Studios
Mark Harrison wrote:
I've got an API that deals with 64 bit int values. Is there
any way of handling this smoothly? Right now I'm casting
the values into and out of strings for the API.
In XML-RPC, everything is transmitted as a string, so I
don't think that choice is really that bad
[EMAIL PROTECTED] wrote:
Hi all, I have created a XML-RPC model (with server and client)
written in Java. I want to call the methods in another XML-RPC model
written in Python. I know that in Java, I can use like
xmlrpc_client.excute(handler_name.method, param) to call the
methods in my xml
[EMAIL PROTECTED] wrote:
Hi all,
I have created a XML-RPC model (with server and client) written in
Java.
I want to call the methods in another XML-RPC model written in
Python.
I know that in Java, I can use like
xmlrpc_client.excute(handler_name.method, param) to call
On 20 Apr 2006 11:31:23 -0700, [EMAIL PROTECTED] wrote:
Hi all,
I have created a XML-RPC model (with server and client) written in
Java.
I want to call the methods in another XML-RPC model written in
Python.
I know that in Java, I can use like
xmlrpc_client.excute
Hi all,
I have created a XML-RPC model (with server and client) written in
Java.
I want to call the methods in another XML-RPC model written in
Python.
I know that in Java, I can use like
xmlrpc_client.excute(handler_name.method, param) to call the
methods in my xml-rpc server written
Jos Vos [EMAIL PROTECTED] wrote:
I'm trying to figure out how to implement a XML-RPC server that
is called by xinetd i.s.o. listening on a TCP socket itself.
I already have implemented a stand-alone XML-RPC server using
SimpleXMLRPCServer, but I now want something similar
an
xinetd-only program, that's all fine with me.
The problem is that I do not see how to let an SimpleXMLRPCServer
instance *not* bind to a port or what other class I can use to just
build a XML-RPC request handler reading/writing from stdin/stdout,
i.s.o. carrying all the server class stuff
Jos Vos wrote:
The problem is that I do not see how to let an SimpleXMLRPCServer
instance *not* bind to a port or what other class I can use to just
build a XML-RPC request handler reading/writing from stdin/stdout,
i.s.o. carrying all the server class stuff with it.
I think that the problem
On Mon, Apr 17, 2006 at 12:10:15PM +0200, Brian Quinlan wrote:
If you take a look at CGIXMLRPCRequestHandler
(http://docs.python.org/lib/node564.html), you will see an example of
how to write an XMLRPCRequestHandler without HTTP.
Thanks, this might work for me, will try it.
--
--Jos
On Mon, Apr 17, 2006 at 03:30:04AM -0500, Nick Craig-Wood wrote:
UTSL ;-)
Look at /usr/lib/python2.4/SimpleXMLRPCServer.py (adjust as per your
distro) and in particular the definition of the CGIXMLRPCRequestHandler class.
I did this before posting my question, in fact, but I did not look
Jos Vos wrote:
On Mon, Apr 17, 2006 at 03:30:04AM -0500, Nick Craig-Wood wrote:
UTSL ;-)
Look at /usr/lib/python2.4/SimpleXMLRPCServer.py (adjust as per your
distro) and in particular the definition of the CGIXMLRPCRequestHandler
class.
I did this before posting my question, in fact,
and writes to
stdout.
except that if the OP's expecting the other end to use an ordinary XML-RPC
library, he needs to implement some minimal HTTP handling as well.
import sys
import mimetools, xmlrpclib
command = sys.stdin.readline()
# optional: check command syntax (POST url HTTP
101 - 200 of 254 matches
Mail list logo