note 85634 added to function.soap-soapserver-construct
| From: | artmakaroff at gmail dot com | Date: | Tue, 09 Sep 2008 21:56:30 +0000 |
| Subject: | note 85634 added to function.soap-soapserver-construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144276@lists.php.net to get a copy of this message | ||
There is an annoying bug with SoapServer::_construct(), when use a https URL as first parameter: php
crashes with fatal error.
Known workaround is to save wsdl locally and use local path as first parameter. I mean:
<?php
$wsdlFile = '/path/to/temp/dir/server.wsdl';
file_put_contents($wsdlFile, file_get_contents('https://your.url'));
$server = new SoapServer($wsdlFile);
?>
This bug doesn't appear when use a http URL.
----
Server IP: 91.189.86.54
Probable Submitter: 92.243.166.233
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapserver-construct.php
Edit -- https://master.php.net/note/edit/85634
Del: integrated -- https://master.php.net/note/delete/85634/integrated
Del: useless -- https://master.php.net/note/delete/85634/useless
Del: bad code -- https://master.php.net/note/delete/85634/bad+code
Del: spam -- https://master.php.net/note/delete/85634/spam
Del: non-english -- https://master.php.net/note/delete/85634/non-english
Del: in docs -- https://master.php.net/note/delete/85634/in+docs
Del: other reasons-- https://master.php.net/note/delete/85634
Reject -- https://master.php.net/note/reject/85634
Search -- https://master.php.net/manage/user-notes.php