Zend_Soap - WSDL parsing error: starting tag expected, '<' not found

For the same WSDL, which is fully valid, I can access it correctly using PEAR SOAP, like this:

$WSDL = new SOAP_WSDL($this->wsdlUrl);
$proxy = $WSDL->getProxy();

But you cannot get it to work through Zend_Soap when used as follows:

$soapclient = new Zend_Soap_Client($this->wsdlUrl);

I get the following error when accessing through Zend_Soap_Client:

Error: SOAP-ERROR: WSDL analysis: Failed to load from ' https://abc.xyz.com/agent/TestService.php?wsdl ': start tag expected, '<' not found

Openssl is also included in my php.ini Does anyone know why this is not working? and how can I fix this to use Zend_Soap correctly?

+3
3

, ssl-Certificate. , ssl- .

+2

, . , php, .

, - , -. - , .

+2

HTTP-? Auth SOAP-, WSDL,

See https://bugs.php.net/bug.php?id=27777

0
source

Source: https://habr.com/ru/post/1778587/


All Articles