On Tue, Nov 24, 2009 at 11:28 AM, Elyrwen <elyrwendyn...@gmail.com> wrote:

> Hello,
>
> I' ve been recently interested in Djagno framework and I am at the
> point of choosing it as the framework for my project. My application
> will not use database, but will use webservices to get data and then
> process it.
>
> I need a substitute for the Django model layer. Precisely I need a
> class that would parse a wsdl (this I am doing with suds) and then
> call the remote methods. There should be one instance of this class
> served by all requests to
> avoid parsing wsdl for evey request - sort of a singleton class that
> would keep parsed stubs. It is possible to place such shared class in
> Django? Can you point me to some solutions that avoid parsing wsdl
> with each new request?
>
> Maybe there is yet another way to obtain it with Django?
>
> Best regards,
> PS
>
>
I'm also interested in something like this. My feeling was a bit different
though. Sticking to django's way of doing things, I would rather create a
web service model that defines all the messages and generate WSDL from that
file (much like using manage.py syncdb). But I guess if you are using some
other tool to generate the WSDL you may not wish to do it this way.

I know RoR has something called ActiveResource, but I don't know how closely
it maps to ActiveRecord?

Regards
Dirk

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to