Hi,
I'm just trying to connect to a Web Service with PEAR::SOAP. Currently I'm using the following script:
Code:
<?php
require_once "SOAP/Client.php";
$wsdl = new SOAP_WSDL('https://www.***.de/serviceport?wsdl');
echo ($wsdl->generateProxyCode());
?>
After executing the script, I get this parse error:
Warning: reset(): Passed variable is not an array or object in [...]/SOAP/WSDL.php on line 439/440
The lines 438-441:
Code:
if (!$port) {
reset($this->services[$this->service]['ports']);
$port = current($this->services[$this->service]['ports']);
}
Can't the script get the right port? Maybe as a result of the https-Connection? Any idea how to solve the problem?
Best regards
Mike