<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Web services in CakePHP</title>
	<atom:link href="http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/</link>
	<description>CakePHP Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 09 Nov 2009 21:07:59 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: J0NES</title>
		<link>http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/#comment-17520</link>
		<dc:creator>J0NES</dc:creator>
		<pubDate>Tue, 20 Jan 2009 23:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/#comment-17520</guid>
		<description>very bad design. global $api. BAH! bad. really bad!</description>
		<content:encoded><![CDATA[<p>very bad design. global $api. BAH! bad. really bad!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dxi</title>
		<link>http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/#comment-5142</link>
		<dc:creator>dxi</dc:creator>
		<pubDate>Fri, 11 May 2007 08:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/#comment-5142</guid>
		<description>If you are getting no response or an empty response from the server when using the client you may want to add &#039;wsdl&#039; as a second parameter to the client instanciation like so:

$client = new soap_client($url, &#039;wsdl&#039;);

Also, if you want to be able to check for errors from the controller, use a class variable to assign the client(or server) to:

$this-&gt;client = new soap_client($url, &#039;wsdl&#039;);

You will then be able to get at the errors in your controller like so:

$this-&gt;soap-&gt;client-&gt;getError();</description>
		<content:encoded><![CDATA[<p>If you are getting no response or an empty response from the server when using the client you may want to add &#8216;wsdl&#8217; as a second parameter to the client instanciation like so:</p>
<p>$client = new soap_client($url, &#8216;wsdl&#8217;);</p>
<p>Also, if you want to be able to check for errors from the controller, use a class variable to assign the client(or server) to:</p>
<p>$this-&gt;client = new soap_client($url, &#8216;wsdl&#8217;);</p>
<p>You will then be able to get at the errors in your controller like so:</p>
<p>$this-&gt;soap-&gt;client-&gt;getError();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cake baker &#187; Webservices with CakePHP</title>
		<link>http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/#comment-5</link>
		<dc:creator>cake baker &#187; Webservices with CakePHP</dc:creator>
		<pubDate>Fri, 17 Feb 2006 09:22:24 +0000</pubDate>
		<guid isPermaLink="false">http://rossoft.wordpress.com/2006/02/16/web-services-in-cakephp/#comment-5</guid>
		<description>[...] At the moment, CakePHP does not have built-in support for webservices (but it is planned for version 1.0). Miguel Ros could not wait until that feature is available, so he experimented a little bit. He presents two approaches using the NuSOAP toolkit in his blog (approach 1, approach 2). I prefer the second approach as it looks more cake-like. [...]</description>
		<content:encoded><![CDATA[<p>[...] At the moment, CakePHP does not have built-in support for webservices (but it is planned for version 1.0). Miguel Ros could not wait until that feature is available, so he experimented a little bit. He presents two approaches using the NuSOAP toolkit in his blog (approach 1, approach 2). I prefer the second approach as it looks more cake-like. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
