<?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>And Slaters Go Plop &#187; client</title>
	<atom:link href="http://damian.peterson.net.nz/tag/client/feed/" rel="self" type="application/rss+xml" />
	<link>http://damian.peterson.net.nz</link>
	<description>The Bloggery of Damian Peterson</description>
	<lastBuildDate>Thu, 03 Nov 2011 02:39:47 +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>Disable WSDL caching in PHP</title>
		<link>http://damian.peterson.net.nz/2008/09/22/disable-wsdl-caching-in-php/</link>
		<comments>http://damian.peterson.net.nz/2008/09/22/disable-wsdl-caching-in-php/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 07:23:42 +0000</pubDate>
		<dc:creator>Damian</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://damian.peterson.net.nz/?p=173</guid>
		<description><![CDATA[If you are finding that your SOAP web service isn&#8217;t updating when you make changes you have to add the line ini_set("soap.wsdl_cache_enabled", "0"); to both the Server and the Client. i.e. &#60;?php class SoapController { function HelloWorld($name) { return "Hello ". strrev($name) ; } } ini_set("soap.wsdl_cache_enabled", "0"); $server = new SoapServer('http://example.com/soap.wsdl'); $server-&#62;setClass("SoapController"); $server-&#62;handle(); ?&#62; and [...]]]></description>
			<content:encoded><![CDATA[<p>If you are finding that your SOAP web service isn&#8217;t updating when you make changes you have to add the line <code>ini_set("soap.wsdl_cache_enabled", "0");</code> to <strong>both</strong> the Server and the Client.</p>
<p>i.e.</p>
<pre>&lt;?php
class SoapController
{
 function HelloWorld($name)
 {
  return "Hello ". strrev($name) ;
 }
}
ini_set("soap.wsdl_cache_enabled", "0");
$server = new SoapServer('http://example.com/soap.wsdl');
$server-&gt;setClass("SoapController");
$server-&gt;handle();
?&gt;
</pre>
<p>and</p>
<pre>&lt;?php
ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient('http://example.com/soap.wsdl', array('trace' =&gt; 1));
print_r($client-&gt;HelloWorld("Damian"));
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://damian.peterson.net.nz/2008/09/22/disable-wsdl-caching-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

