[patch] SOAP support for django
|Reported by:||upadhyay@…||Owned by:||adrian|
|Cc:||upadhyay@…, oliver@…||Triage Stage:||Unreviewed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In line with XMLRPC support for django I have a work in progress for SOAP support, semantics is very much similer to what is described there, the service is a view, you map the view in urlconf, and use a callable instance SimpleSOAPView. Register methods/instances to be served by using the SOAPpy's Server API. Eg:
from django.contrib.soap import SimpleSOAPView soap = SimpleSOAPView() def f2(): return 'f2' soap.registerFunction(f2)
This has a dependency requirement of SOAPpy.
One thing to note is the API's for SimpleXMLRPCView and SimpleSOAPView are not compatible, function names are different, one support unregistering while other does not etc; one of the reasons is that serves as a reminder that XMLRPC and SOAP are actually different, SOAP is much more configurable, supports authentication etc, which I have not used myself so have little idea, but they are different, and anyone knowing SOAPpy or xmlrpc will not have to learn anything new while using them over django. Practicality beats purity?
Change History (9)
Changed 11 years ago by upadhyay@…
comment:3 Changed 11 years ago by jacob
- Resolution set to duplicate
- Status changed from new to closed