<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code3 &#187; Web Services</title>
	<atom:link href="http://www.code3.dk/tag/web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.code3.dk</link>
	<description>Techchat</description>
	<lastBuildDate>Thu, 17 Nov 2011 13:10:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using python SUDS for web service testing</title>
		<link>http://www.code3.dk/using-python-suds-for-web-service-testing/</link>
		<comments>http://www.code3.dk/using-python-suds-for-web-service-testing/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 12:43:06 +0000</pubDate>
		<dc:creator>AN</dc:creator>
				<category><![CDATA[Techchat]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[SUDS]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://www.code3.dk/?p=212</guid>
		<description><![CDATA[

I used to use something like SoapUI for casual calling of webservices. But most of the time a GUI feels [...]]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="snap_preview">
<p>I used to use something like <a href="http://www.soapui.org/" rel="nofollow">SoapUI</a> for casual calling of webservices. But most of the time a GUI feels like overkill for just calling one webservice function.</p>
<p>Recently I found the <a href="https://fedorahosted.org/suds/" rel="nofollow">python SUDS</a> library . It is so simple that I now just launch my all webservice calls from the command line.</p>
<pre class="brush: python">
from suds import WebFault
from suds.client import Client

client = Client(&#039;http://localhost:8080/myapp/mywebservice?wsdl&#039;)

print client

print client.service.MyFunction(&#039;Hello&#039;)
</pre>
<p>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.</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.code3.dk/using-python-suds-for-web-service-testing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

