Answer the question
In order to leave comments, you need to log in
PHP SOAP and certificate?
When changing the version of php5.5 to php5.6/php7 (both on vds and local), the soap client of one of the projects falls off.
<?php
$wsdl = 'https://site.com/webservice/service.svc/wsdl?wsdl';
$soap = new SoapClient($wsdl, ["soap_version" => SOAP_1_1]);
var_dump($soap);
Answer the question
In order to leave comments, you need to log in
$wsdl = 'https://site.com/webservice/service.svc/wsdl?wsdl';
$soap = new SoapClient($wsdl, [
"soap_version" => SOAP_1_1,
"stream_context" => stream_context_create(
[
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
]
]
)
]);
var_dump($soap);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question