Here are some patches to SOAPpy097.
The patch to SOAP.py does two things:
1. Refactors SOAPRequestHandler: adds methods
dumpSOAPIn/Out, etc., and modifies do_POST to use these
2. Adds class HTTPTransport_pc that enables HTTP/1.1
(HTTPTransport_pc works fine replacing HTTPTransport
The patch to echoClient.py modifies it to use
now works with contrib/soap_handler.py (multiple SOAP
calls over one TCP
connection) and continues to work with echoServer.py
(one TCP connection per
The patch to contrib/soap_handler.py updates it to
match this release's
SOAPRequestHandler.do_POST, and adds echoServer's SOAP
callables to allow
contrib/soap_handler.py to service echoClient.py.
You'll notice that SOAPRequestHandler.do_POST and
are essentially the same. IMHO, the combination smells,
abound for further refactorings.
I find the objmap/funcmap stuff objectionable: down
that path lies the
housekeeping complexities of CORBA/Zope ORB- or EJB
I prefer the eff-bot's approach in his xmlrpclib - have
the server directly
implement methods that correspond to XML-RPC (in this
case SOAP) callables.
Simple and direct, just like Python.
- Pheng Siong, firstname.lastname@example.org
Log in to post a comment.