Several WS and CS fixes

This commit is contained in:
Andreas Schamberger
2012-01-15 11:42:21 +01:00
parent efc6500ead
commit 7f96a20f66
9 changed files with 38 additions and 27 deletions

View File

@ -72,7 +72,7 @@ class Curl
CURLOPT_HEADER => true,
CURLOPT_USERAGENT => $options['user_agent'],
CURLINFO_HEADER_OUT => true,
);
);
curl_setopt_array($this->ch, $curlOptions);
if (isset($options['compression']) && !($options['compression'] & SOAP_COMPRESSION_ACCEPT)) {
curl_setopt($this->ch, CURLOPT_ENCODING, 'identity');
@ -215,7 +215,7 @@ class Curl
67 => 'Could not connect to host', //CURLE_LOGIN_DENIED
77 => 'Could not connect to host', //CURLE_SSL_CACERT_BADFILE
80 => 'Error Fetching http body, No Content-Length, connection closed or chunked data', //CURLE_SSL_SHUTDOWN_FAILED
);
);
}
/**

View File

@ -77,7 +77,7 @@ class SoapClient extends \SoapClient
private $lastResponse = '';
/**
* Last response.
* Soap kernel.
*
* @var \BeSimple\SoapCommon\SoapKernel
*/

View File

@ -13,6 +13,7 @@
namespace BeSimple\SoapClient;
use BeSimple\SoapCommon\AbstractSoapBuilder;
use BeSimple\SoapCommon\Helper;
/**
* Fluent interface builder for SoapClient instance.