Re: python-soappy
On the client side :
from SOAPpy import SOAPProxy
server= SOAPProxy("
http://foo.bar.org:8090")
print server.Hello("world")
On the server side :
from SOAPpy import SOAPServer
def Hello(name):
return "Hello "+name+" !"
server= SOAPServer(("localhost",8080))
server.registerFunction(Hello)
server.serve_forever()
.
Relevant Pages
- Re: SOAPpy help needed
... D> I have a PHP script which works and i need to write the same in Python ... D> but SOAPpy generates a slightly different request and i'm not sure how ... D> to fix it so the server likes it. ... real differences are: ... (comp.lang.python) - Re: Which is the most mature Soap module?
... Do you mean subclassing SOAPpy and changing the places where it uses ... I don't think SOAP needs cookies for anything. ... server for upload is only available if I have a certain cookie that I ... let me through to the SOAP server unless I can supply the cookie first. ... (comp.lang.python) - Large Data with SOAP
... def SOAPservice: ... import SOAPpy ... server = SOAP.SOAPProxy ... Traceback: ... (comp.lang.python) - Re: SOAPpy port reuse
... Assuming that my application is a SOAP server that uses SOAPpy, ... How can I shutdown this server and reuse port 35021 when my functionlist changes? ... Currently, after killing the python process which runs this SOAP server, the port cannot be re-used, as though it is still phantom-ly bounded to some process. ... (comp.lang.python) - Strange return value from SOAP call
... def hello: ... server = SOAPpy.SOAPServer) ... from SOAPpy import SOAPProxy ... My array of arrays got flattened. ... (comp.lang.python) |
|