Django

Code

Ticket #552 (closed: duplicate)

Opened 3 years ago

Last modified 1 year ago

[patch] SOAP support for django

Reported by: upadhyay@gmail.com Assigned to: adrian
Milestone: Component: Tools
Version: Keywords:
Cc: upadhyay@gmail.com, oliver@obeattie.com Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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?

Attachments

soap.py (11.9 kB) - added by upadhyay@gmail.com on 09/24/05 07:19:05.
soap.py, put it in django/contrib

Change History

09/24/05 07:19:05 changed by upadhyay@gmail.com

  • attachment soap.py added.

soap.py, put it in django/contrib

09/24/05 07:19:30 changed by anonymous

  • cc set to upadhyay@gmail.com.

09/25/05 17:12:16 changed by adrian

  • milestone deleted.

This isn't necessary for 1.0.

09/29/05 08:13:09 changed by jacob

  • status changed from new to closed.
  • resolution set to duplicate.

This is a subset of #115.

11/08/05 11:07:26 changed by adrian

  • version deleted.

01/25/07 03:24:14 changed by anonymous

  • cc changed from upadhyay@gmail.com to upadhyay@gmail.com, oliver@obeattie.com.

CC'd self

06/28/07 12:09:45 changed by Mike <mpede@sfu.ca>

I'm just about to try this out. I've used SOAPpy, and initially I really liked it.
I've been directed by new management to use SOAP with everything now.

I'm willing to contribute to this project, if not get others here at the university involved.

Please let me know where I can fit into this initiative.


Add/Change #552 ([patch] SOAP support for django)




Change Properties
Action