expresso-05.diff
class.SoapClientX.inc.php 2017-01-10 07:33:55.817463560 -0200 | ||
---|---|---|
6 | 6 |
|
7 | 7 |
public function __construct( $wsdl, $options = array() ) |
8 | 8 |
{ |
9 |
parent::__construct( $wsdl, $options ); |
|
9 |
$context = stream_context_create( array( |
|
10 |
'ssl' => array( |
|
11 |
'verify_peer' => false, |
|
12 |
'verify_peer_name' => false, |
|
13 |
'allow_self_signed' => true |
|
14 |
) |
|
15 |
) ); |
|
16 |
parent::__construct( $wsdl, [ 'stream_context' => $context ] ); |
|
10 | 17 |
$types = array(); |
11 | 18 |
foreach( $this->__getTypes() as $type ) { |
12 | 19 |
preg_match( '/^([^ ]*) ([^ ]*) {([^}]*)}$/', $type, $matches ); |