<?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>Chris: Geek Guy &#187; soapclient</title>
	<atom:link href="http://chris.gg/tag/soapclient/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.gg</link>
	<description>Tech news and other stuff from a UK-based web developer and all-round geek</description>
	<lastBuildDate>Tue, 06 Dec 2011 19:40:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Getting NuSOAP to work in PHP5</title>
		<link>http://chris.gg/2006/08/getting-nusoap-to-work-in-php5/</link>
		<comments>http://chris.gg/2006/08/getting-nusoap-to-work-in-php5/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 22:58:56 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[nusoap]]></category>
		<category><![CDATA[soapclient]]></category>
		<guid isPermaLink="false">http://chris.gg/2006/08/getting-nusoap-to-work-in-php5/</guid>
		<description><![CDATA[I&#8217;ve been playing with NuSOAP (a SOAP toolkit for PHP) and had trouble getting it working under PHP5. I was getting the following error: Fatal error: Cannot redeclare class soapclient in C:\Program Files\xampp\htdocs\dev\lib\nusoap.php on line 7240 It turns out that PHP5&#8242;s own SOAP extension uses soapclient as a class name. The easy solution is to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with <a href="http://sourceforge.net/projects/nusoap/">NuSOAP</a> (a <a href="http://en.wikipedia.org/wiki/SOAP">SOAP</a> toolkit for PHP) and had trouble getting it working under PHP5. I was getting the following error:</p>
<p><code><strong>Fatal error</strong>:  Cannot redeclare class soapclient in <strong>C:\Program Files\xampp\htdocs\dev\lib\nusoap.php</strong> on line <strong>7240</strong></code></p>
<p>It turns out that PHP5&#8242;s own <a href="http://uk.php.net/manual/en/ref.soap.php">SOAP extension</a> uses <strong>soapclient</strong> as a class name. The easy solution is to replace all instances of <strong>soapclient</strong> in the NuSOAP library files (and your own code) with something else &#8211; I chose <strong>nusoapclient</strong>. If you use <a href="http://notepad-plus.sourceforge.net">Notepad++</a>, it&#8217;s as simple as opening all 13 source files and running a search/replace.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2006/08/getting-nusoap-to-work-in-php5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

