Re: Consuming a SOAP services from Django
Hey Antoni Agreed, separating the generated code (which was created by reading a WSDL file), and then calling that is the way to go. In my situation, I have a couple of difference service endpoints to call, so im not sure how best to package them up. What are peoples thoughts? I'll have the service and type python files which would be in a particular module, but then where would be best to include the code that calls them? As the services will be used by more than one application within the project, would it be best to put the code at project level? Any advice would be great. Thanks Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Consuming a SOAP services from Django
2007/10/17, Tim Perrett <[EMAIL PROTECTED]>: > > Hey all > > I have played around with consuming a SOAP services with simple > python scripts and the ZSI soap implementation, but I was then > wondering where best to put this kind of code? It would start to > clutter things up if I was to put it in views.py wouldnt it? > I like to make an adapter to consume ZSI code, so we independize the generated code from the use we made. We use a service.py in the application and a model like module. The service links to ZSI code and model module, the view just uses service module and the model module. Hope it helps! -- Antoni Aloy López Binissalem - Mallorca http://www.trespams.com Soci de Bulma - http://www.bulma.cat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Consuming a SOAP services from Django
Hey all I have played around with consuming a SOAP services with simple python scripts and the ZSI soap implementation, but I was then wondering where best to put this kind of code? It would start to clutter things up if I was to put it in views.py wouldnt it? Any advice would be great Thanks Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---