note 115736 added to class.soapclient

From: Date: Mon, 15 Sep 2014 15:34:29 +0000
Subject: note 115736 added to class.soapclient
Groups: php.notes 
Request: Send a blank email to php-notes+get-200449@lists.php.net to get a copy of this message
If you want to connect to a server that only supports SSLv2/3 and/or TLS 1.0 (no TLS 2 or 3), tell the SOAP client if you get a connection error by setting the appropriate stream context: <?php $opts = array( 'ssl' => array('ciphers'=>'RC4-SHA') ); $objSoapClient = new SoapClient( 'https://example.com/?wsdl', array ( "encoding"=>"ISO-8859-1", 'stream_context' => stream_context_create($opts) // your options ); ?> You might need to disable the SOAP caching of WSDLs in order for the SOAP client to use the new context. ---- Server IP: 72.52.91.14 Probable Submitter: 84.175.75.87 ---- Manual Page -- http://php.net/manual/en/class.soapclient.php Edit -- https://master.php.net/note/edit/115736 Del: integrated -- https://master.php.net/note/delete/115736/integrated Del: useless -- https://master.php.net/note/delete/115736/useless Del: bad code -- https://master.php.net/note/delete/115736/bad+code Del: spam -- https://master.php.net/note/delete/115736/spam Del: non-english -- https://master.php.net/note/delete/115736/non-english Del: in docs -- https://master.php.net/note/delete/115736/in+docs Del: other reasons-- https://master.php.net/note/delete/115736 Reject -- https://master.php.net/note/reject/115736 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200449) next »