<?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: Timing Out PHP Soap Calls</title>
	<atom:link href="http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/</link>
	<description>For all your [insert random topic here] needs</description>
	<lastBuildDate>Wed, 25 Jan 2012 15:31:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Garvin</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-689</link>
		<dc:creator>Garvin</dc:creator>
		<pubDate>Wed, 25 Jan 2012 15:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-689</guid>
		<description>SoapClient is a wonderful tool for building requests and parsing responses, but its networking and debugging need improvement. Many times I thought: &quot;I wish I could use cURL instead of SoapClient&quot;, but I didn&#039;t want to reinvent the request/response wheel. So thank you for thinking up the solution and publishing this.</description>
		<content:encoded><![CDATA[<p>SoapClient is a wonderful tool for building requests and parsing responses, but its networking and debugging need improvement. Many times I thought: &#8220;I wish I could use cURL instead of SoapClient&#8221;, but I didn&#8217;t want to reinvent the request/response wheel. So thank you for thinking up the solution and publishing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Cesar</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-681</link>
		<dc:creator>Pablo Cesar</dc:creator>
		<pubDate>Thu, 17 Nov 2011 15:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-681</guid>
		<description>Perfect! just got an error with SSL3_GET_SERVER_CERTIFICATE using https and fixed with

curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE); 

Thanks a lot, this was driving me crazy.</description>
		<content:encoded><![CDATA[<p>Perfect! just got an error with SSL3_GET_SERVER_CERTIFICATE using https and fixed with</p>
<p>curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE); </p>
<p>Thanks a lot, this was driving me crazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timing out PHP SOAP Calls &#171; Technical output</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-672</link>
		<dc:creator>Timing out PHP SOAP Calls &#171; Technical output</dc:creator>
		<pubDate>Wed, 22 Jun 2011 08:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-672</guid>
		<description>[...] Thanks to Rob Ludwick for providing a workaround using CURL as the transport mechanism instead until PHP fix this. You can read about it on his blog here: http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls [...]</description>
		<content:encoded><![CDATA[<p>[...] Thanks to Rob Ludwick for providing a workaround using CURL as the transport mechanism instead until PHP fix this. You can read about it on his blog here: <a href="http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls" rel="nofollow">http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-671</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 21 Jun 2011 16:15:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-671</guid>
		<description>&lt;a href=&quot;#comment-670&quot; rel=&quot;nofollow&quot;&gt;@John Ennew &lt;/a&gt; 
Ah, that makes sense. In the SOAP services I was consuming, I didn&#039;t have to send that along to get it to work properly, but that&#039;s a more robust solution. Thanks for the addition!</description>
		<content:encoded><![CDATA[<p><a href="#comment-670" rel="nofollow">@John Ennew </a><br />
Ah, that makes sense. In the SOAP services I was consuming, I didn&#8217;t have to send that along to get it to work properly, but that&#8217;s a more robust solution. Thanks for the addition!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Ennew</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-670</link>
		<dc:creator>John Ennew</dc:creator>
		<pubDate>Tue, 21 Jun 2011 15:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-670</guid>
		<description>Hi, thanks for this - I can confirm it works for me.

I had to make a slight improvement when the API changed for the Soap Service I was using. They required a SOAPAction header which the code here does not provide.

Replace the line above:
curl_setopt($curl, CURLOPT_HTTPHEADER, array(&quot;Content-Type: text/xml&quot;));

With:
curl_setopt($curl, CURLOPT_HTTPHEADER, array(&quot;Content-Type: text/xml&quot;, &quot;SOAPAction: {$action}&quot;));

Before proiding the SOAPAction I was getting an error message about contract mismatch between client and server.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for this &#8211; I can confirm it works for me.</p>
<p>I had to make a slight improvement when the API changed for the Soap Service I was using. They required a SOAPAction header which the code here does not provide.</p>
<p>Replace the line above:<br />
curl_setopt($curl, CURLOPT_HTTPHEADER, array(&#8220;Content-Type: text/xml&#8221;));</p>
<p>With:<br />
curl_setopt($curl, CURLOPT_HTTPHEADER, array(&#8220;Content-Type: text/xml&#8221;, &#8220;SOAPAction: {$action}&#8221;));</p>
<p>Before proiding the SOAPAction I was getting an error message about contract mismatch between client and server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GR</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-663</link>
		<dc:creator>GR</dc:creator>
		<pubDate>Tue, 01 Mar 2011 13:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-663</guid>
		<description>Perfect solution

huypv - For error I&#039;ve used &quot;try{}catch (Exception $e) {$e-&gt;getMessage();}

So I can catch error and continue my own php code.


Thanks alot to Robert</description>
		<content:encoded><![CDATA[<p>Perfect solution</p>
<p>huypv &#8211; For error I&#8217;ve used &#8220;try{}catch (Exception $e) {$e-&gt;getMessage();}</p>
<p>So I can catch error and continue my own php code.</p>
<p>Thanks alot to Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-609</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 15 Apr 2010 18:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-609</guid>
		<description>You&#039;re welcome!</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-608</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 15 Apr 2010 17:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-608</guid>
		<description>Thanks so much for this - this solved a problem I was having with a bug in php where timeouts don&#039;t work for https calls.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this &#8211; this solved a problem I was having with a bug in php where timeouts don&#8217;t work for https calls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salesforce/PHP - Bulk Outbound message (SOAP), Time out issue</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-596</link>
		<dc:creator>Salesforce/PHP - Bulk Outbound message (SOAP), Time out issue</dc:creator>
		<pubDate>Tue, 23 Mar 2010 12:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-596</guid>
		<description>[...] SF might be able to increase the 60 threshold but I don&#039;t think this is the best approach Things I would like to test: Force the socket closed:Timing Out PHP Soap Calls &#124; DarqByte [...]</description>
		<content:encoded><![CDATA[<p>[...] SF might be able to increase the 60 threshold but I don&#39;t think this is the best approach Things I would like to test: Force the socket closed:Timing Out PHP Soap Calls | DarqByte [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arizona, Christmas and Cleaning &#124; DarqByte</title>
		<link>http://www.darqbyte.com/2009/10/21/timing-out-php-soap-calls/comment-page-1/#comment-529</link>
		<dc:creator>Arizona, Christmas and Cleaning &#124; DarqByte</dc:creator>
		<pubDate>Mon, 28 Dec 2009 22:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.darqbyte.com/?p=479#comment-529</guid>
		<description>[...] what happened!&#8221; soon, but who knows. Occasionally I like to have posts like my PHP Soap Timeout post, so maybe I&#8217;ll come up with something awesome like that soon. But for now, all you get [...]</description>
		<content:encoded><![CDATA[<p>[...] what happened!&#8221; soon, but who knows. Occasionally I like to have posts like my PHP Soap Timeout post, so maybe I&#8217;ll come up with something awesome like that soon. But for now, all you get [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

