Constructor of class SoapClient hangs up

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
frankphpweb
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Jan 23, 2017 4:50 am

Mon Jan 23, 2017 6:56 am

Hi,
the constructor of the class Soap Client hangs, no execption is thrown, nothing happend, remain on the "parent::__construct($wsdl, $options)" postion
What can be the reason for this?

I use PHP 5.6.19 with PHP 5.6.8 the script works fine.
The error log shows "marek 1" than nothing else

final class LC_SoapClient extends SoapClient {
private $useSecurityHeader = false;

public function LC_SoapClient($wsdl ,$options, $withSecurityHeader) {

error_log("marek1");

parent::__construct($wsdl, $options);

error_log("marke2");
$this->useSecurityHeader = $withSecurityHeader;

if ($this->useSecurityHeader) {
$this->__setSoapHeaders($this->GetSecurityHeader());
}
}

Post Reply