<?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/"
		>
<channel>
	<title>Comments on: SoapSource, a SOAP Client Datasource for CakePHP</title>
	<atom:link href="http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/</link>
	<description>baking the next web</description>
	<lastBuildDate>Wed, 18 Aug 2010 09:08:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
	<item>
		<title>By: Eelco Wiersma</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5431</link>
		<dc:creator>Eelco Wiersma</dc:creator>
		<pubDate>Wed, 18 Aug 2010 09:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5431</guid>
		<description>@Ian unfortunately you can&#039;t call those methods directly from your controller currently</description>
		<content:encoded><![CDATA[<p>@Ian unfortunately you can&#8217;t call those methods directly from your controller currently</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5429</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Sun, 15 Aug 2010 11:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5429</guid>
		<description>By the way my debug level is set to 2 so I would assume this line in the SoapSource class -

$options = array(&#039;trace&#039; =&gt; Configure::read(&#039;debug&#039;) &gt; 0);

would set the trace option to &#039;true&#039; and therefore enable output from __getLastRequest / __getLastResponse.</description>
		<content:encoded><![CDATA[<p>By the way my debug level is set to 2 so I would assume this line in the SoapSource class -</p>
<p>$options = array(&#8216;trace&#8217; =&gt; Configure::read(&#8216;debug&#8217;) &gt; 0);</p>
<p>would set the trace option to &#8216;true&#8217; and therefore enable output from __getLastRequest / __getLastResponse.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5428</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Sun, 15 Aug 2010 10:43:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5428</guid>
		<description>Calls make to getRequest and getResponse after query do not output anything. Am I missing something here?</description>
		<content:encoded><![CDATA[<p>Calls make to getRequest and getResponse after query do not output anything. Am I missing something here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eelco Wiersma</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5387</link>
		<dc:creator>Eelco Wiersma</dc:creator>
		<pubDate>Fri, 05 Feb 2010 11:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5387</guid>
		<description>Steven, can you paste a print_r of $this-&gt;TransactionParams ?</description>
		<content:encoded><![CDATA[<p>Steven, can you paste a print_r of $this->TransactionParams ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Wright</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5381</link>
		<dc:creator>Steven Wright</dc:creator>
		<pubDate>Wed, 06 Jan 2010 18:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5381</guid>
		<description>I am having a problem adding attributes and was wondering if you could shed some light. I have pasted below a portion of XSD that defines the section I am working with as well as the PHP I am using to create the structure. Right before sendTransaction I can see the params are there but they are not getting converted to XML. 


−





−

−











public function AddUpdateServices($subscriber_id, $actions)
{
	$this-&gt;add_transaction_id(&#039;AddUpdateSub&#039;);
	$command = array();		
	
	$command[&#039;AddUpdateSub&#039;][&#039;SubscriberId&#039;] = $subscriber_id;

	$command[&#039;AddUpdateSub&#039;][&#039;ServiceList&#039;][&#039;replace&#039;] = &#039;yes&#039;;
		
	foreach($actions[&#039;DeleteSubService&#039;] as $service_name)
	{
		$service = array();
		$service[&#039;action&#039;] = &#039;delete&#039;;
		$service[&#039;ServiceName&#039;] = $service_name;
		$command[&#039;AddUpdateSub&#039;][&#039;ServiceList&#039;][]-&gt;Service = $service;
	}

	foreach($actions[&#039;AddUpdateSubService&#039;] as $service_name)
	{
		$service = array();
		$service[&#039;action&#039;] = &#039;add&#039;;
		$service[&#039;ServiceName&#039;] = $service_name;
		$command[&#039;AddUpdateSub&#039;][&#039;ServiceList&#039;][]-&gt;Service = $service;
	}
		
	$this-&gt;add_command_to_transaction($command);      
	return $this-&gt;formatResult($this-&gt;query(&#039;SendTransaction&#039;,$this-&gt;TransactionParams));	
}</description>
		<content:encoded><![CDATA[<p>I am having a problem adding attributes and was wondering if you could shed some light. I have pasted below a portion of XSD that defines the section I am working with as well as the PHP I am using to create the structure. Right before sendTransaction I can see the params are there but they are not getting converted to XML. </p>
<p>−</p>
<p>−</p>
<p>−</p>
<p>public function AddUpdateServices($subscriber_id, $actions)<br />
{<br />
	$this-&gt;add_transaction_id(&#8216;AddUpdateSub&#8217;);<br />
	$command = array();		</p>
<p>	$command['AddUpdateSub']['SubscriberId'] = $subscriber_id;</p>
<p>	$command['AddUpdateSub']['ServiceList']['replace'] = &#8216;yes&#8217;;</p>
<p>	foreach($actions['DeleteSubService'] as $service_name)<br />
	{<br />
		$service = array();<br />
		$service['action'] = &#8216;delete&#8217;;<br />
		$service['ServiceName'] = $service_name;<br />
		$command['AddUpdateSub']['ServiceList'][]-&gt;Service = $service;<br />
	}</p>
<p>	foreach($actions['AddUpdateSubService'] as $service_name)<br />
	{<br />
		$service = array();<br />
		$service['action'] = &#8216;add&#8217;;<br />
		$service['ServiceName'] = $service_name;<br />
		$command['AddUpdateSub']['ServiceList'][]-&gt;Service = $service;<br />
	}</p>
<p>	$this-&gt;add_command_to_transaction($command);<br />
	return $this-&gt;formatResult($this-&gt;query(&#8216;SendTransaction&#8217;,$this-&gt;TransactionParams));<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5206</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 11 Aug 2009 10:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5206</guid>
		<description>Hi, 

Followed all the steps.
Calling a webservice like this:
$response = $this-&gt;Employee-&gt;query(&#039;getAuthorisation&#039;, array(&#039;john&#039;, &#039;password1&#039;));
(I&#039;ve tried many, many notations, varieties)

In my webservice console i see that the webservice getAuthorisation is called, but no parameters are passed along!
When i print the value of $method and $queryData right before the webservice in soap_source.php is called i get this:
string(16) &quot;getAuthorisation&quot;
array(2) {
  [0]=&gt;
  string(4) &quot;john&quot;
  [1]=&gt;
  string(4) &quot;password1&quot;
}

Somehow the parameters are not accepted/passed along at some later point!

If anyone can help me out here, would be greatly appreciated!!</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Followed all the steps.<br />
Calling a webservice like this:<br />
$response = $this-&gt;Employee-&gt;query(&#8216;getAuthorisation&#8217;, array(&#8216;john&#8217;, &#8216;password1&#8242;));<br />
(I&#8217;ve tried many, many notations, varieties)</p>
<p>In my webservice console i see that the webservice getAuthorisation is called, but no parameters are passed along!<br />
When i print the value of $method and $queryData right before the webservice in soap_source.php is called i get this:<br />
string(16) &#8220;getAuthorisation&#8221;<br />
array(2) {<br />
  [0]=&gt;<br />
  string(4) &#8220;john&#8221;<br />
  [1]=&gt;<br />
  string(4) &#8220;password1&#8243;<br />
}</p>
<p>Somehow the parameters are not accepted/passed along at some later point!</p>
<p>If anyone can help me out here, would be greatly appreciated!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [PRONIQUE] CakePHP Developer Links</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5085</link>
		<dc:creator>[PRONIQUE] CakePHP Developer Links</dc:creator>
		<pubDate>Thu, 23 Jul 2009 16:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5085</guid>
		<description>[...] http://www.pagebakers.nl/&#8230;t-datasource-for-cakephp/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.pagebakers.nl/&#8230;t-datasource-for-cakephp/" rel="nofollow">http://www.pagebakers.nl/&#8230;t-datasource-for-cakephp/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eelco Wiersma</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5074</link>
		<dc:creator>Eelco Wiersma</dc:creator>
		<pubDate>Fri, 19 Jun 2009 11:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5074</guid>
		<description>@Sean, well you could use my code as a start, replace the standard SoapClient code with the nuSOAP class&#039; methods</description>
		<content:encoded><![CDATA[<p>@Sean, well you could use my code as a start, replace the standard SoapClient code with the nuSOAP class&#8217; methods</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5072</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 13 Jun 2009 20:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5072</guid>
		<description>I am interested in serializing and then caching the response as is offered in the nuSOAP library, where would I start? Or would I have been luck just starting from scratch with nuSOAP?</description>
		<content:encoded><![CDATA[<p>I am interested in serializing and then caching the response as is offered in the nuSOAP library, where would I start? Or would I have been luck just starting from scratch with nuSOAP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Wright</title>
		<link>http://www.pagebakers.nl/2008/12/18/soapsource-a-soap-client-datasource-for-cakephp/comment-page-1/#comment-5068</link>
		<dc:creator>Steven Wright</dc:creator>
		<pubDate>Tue, 09 Jun 2009 17:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.pagebakers.nl/?p=104#comment-5068</guid>
		<description>I changed the following line in your class: 

$result = $this-&gt;client-&gt;__soapCall($method, $queryData);

to:

$result = $this-&gt;client-&gt;sendTransaction($queryData);</description>
		<content:encoded><![CDATA[<p>I changed the following line in your class: </p>
<p>$result = $this-&gt;client-&gt;__soapCall($method, $queryData);</p>
<p>to:</p>
<p>$result = $this-&gt;client-&gt;sendTransaction($queryData);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
