Hjem   |   Kontakt   |   Sitemap
Hvem er vi Hvad kan vi Vores kunder Ledige stillinger Kontakt os Blog

Posts Tagged ‘SUDS’

Using python SUDS for web service testing

Published Saturday, March 28th, 2009 by AN

I used to use something like SoapUI for casual calling of webservices. But most of the time a GUI feels like overkill for just calling one webservice function.

Recently I found the python SUDS library . It is so simple that I now just launch my all webservice calls from the command line.

from suds import WebFault
from suds.client import Client

client = Client('http://localhost:8080/myapp/mywebservice?wsdl')

print client

print client.service.MyFunction('Hello')

The “print client” in the middle prints an overview of the functions defined in the wsdl (nice to have). It is really easy. The only problem is that SUDS is not packaged in Debian/Ubuntu yet, so it is a little more trouble to install than just “apt-get install ….”. Maybe I should try to do something about that.


Using TDC’s Columbine with modern browsers

Thursday, April 14th, 2011
On columbine.tdc.dk there is a gui with tools for resellers of TDC eBSA products. These ...

Groovy CPE

Thursday, February 3rd, 2011
I've been working quite a lot on a TR069 AutoConfigurationServer. As part of the prototyping ...
 
© 2011 Code3 ApS  |  Kigkurren 8G, 3.TH  |  2300 København S  |  +45 7020 3383  |  kontakt@code3.dk