djangosnippets.org: Latest snippets tagged with 'wsdl'http://djangosnippets.org/tags/wsdl/2012-01-03T16:21:26.195597-06:00SOAP web service with soaplib 2.0
2012-01-03T16:21:26.195597-06:00treyhhttp://djangosnippets.org/snippets/2638/<p>I've updated the <code>DjangoSoapApp</code> class from <a href="http://djangosnippets.org/snippets/2210/">this popular soaplib snippet</a> so the snippet will work properly with soaplib 2.0.</p>
<p>Usage is the same as before:</p>
<pre><code>my_soap_service = DjangoSoapApp([MySOAPService], __name__)
</code></pre>
Freely redistributableSOAP web service with soaplib 0.9+
2010-09-28T09:49:46.408184-05:00wRARhttp://djangosnippets.org/snippets/2210/<p>The popular <a href="http://djangosnippets.org/snippets/979/">soaplib snippet</a> works only with older soaplib (0.8, for example). This snippet is modifed to work with newer soaplib: it was tested with 0.9.2-alpha3 and 1.0.0-beta4. I've tested suds python client and .NET client.</p>
Freely redistributablesoaplib service integration 2
2009-03-30T11:05:01.930327-05:00ernyhttp://djangosnippets.org/snippets/1407/<p>Based on our <a href="http://www.djangosnippets.org/snippets/979/">first version of soaplib service integration</a>, this second one adds Basic Auth with credentials specified in settings.</p>
<p>It can be tested with <a href="http://www.djangosnippets.org/snippets/1406/">django soaplib test cliente</a></p>
Freely redistributableAutomatically expose soaplib methods in WSDL
2009-02-06T05:45:40.622760-06:00AndrewIngramhttp://djangosnippets.org/snippets/1311/<p>This snippet is a replacement views.py for <a href="http://www.djangosnippets.org/snippets/979/">SOAP views with on-demand WSDL generation</a></p>
<p>It iterates over your installed apps looking for web_service.py in each one, any methods decorated with @soapmethod within web_service.py will automatically be imported into the local namespace making them visible in the WSDL.</p>
<p>It will blindly override …</p>
Freely redistributableConvert django model into soaplib model, to expose webservices
2009-01-16T10:00:41.310312-06:00s.federicihttp://djangosnippets.org/snippets/1283/<p>Snippet to convert django model into soaplib model and expose it by SOAP</p>
<p>This snippet use <a href="http://www.djangosnippets.org/snippets/979/">DjangoSoapApp sniplet</a> to autogenerate WSDL.</p>
Freely redistributableSOAP views with on-demand WSDL generation
2008-08-14T08:27:06.398646-05:00chewiehttp://djangosnippets.org/snippets/979/<p>Optio's <a href="http://trac.optio.webfactional.com/wiki/soaplib">soaplib</a> makes it really straightforward to write SOAP web service views by using a decorator to specify types. Plus it's the only Python library, as of today, which is able to generate WSDL documents for your web service.</p>
<p>You can test it with a soaplib client:</p>
<pre><code>>>> from soaplib.client …</code></pre>
Freely redistributable