note 79936 added to function.soap-soapclient-construct
| From: | (at) | Date: | Thu, 20 Dec 2007 10:22:56 +0000 |
| Subject: | note 79936 added to function.soap-soapclient-construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133806@lists.php.net to get a copy of this message | ||
If you want to use compression there is a missing parameter in the example above:
<?php
$client = new SoapClient("some.wsdl",
array('compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | 5));
?>
If you use SOAP_COMPRESSION_GZIP you have to add the compression level. Otherwise it will not
compress the request. Took me some hours ;)
Stephan
----
Server IP: 217.13.201.10
Probable Submitter: 217.7.56.30
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-construct.php
Edit -- https://master.php.net/note/edit/79936
Del: integrated -- https://master.php.net/note/delete/79936/integrated
Del: useless -- https://master.php.net/note/delete/79936/useless
Del: bad code -- https://master.php.net/note/delete/79936/bad+code
Del: spam -- https://master.php.net/note/delete/79936/spam
Del: non-english -- https://master.php.net/note/delete/79936/non-english
Del: in docs -- https://master.php.net/note/delete/79936/in+docs
Del: other reasons-- https://master.php.net/note/delete/79936
Reject -- https://master.php.net/note/reject/79936
Search -- https://master.php.net/manage/user-notes.php