ID: 46130 Comment by: omabil at gmail dot com Reported By: cfelce at gmail dot com Status: Open Bug Type: SOAP related Operating System: GNU/Linux Ubuntu fesity PHP Version: 5.2CVS-2008-09-19 (CVS) New Comment:
Hello everybody, someone has found some solution for this problem? Thanks a lot, -- Omabil Previous Comments: ------------------------------------------------------------------------ [2008-09-19 20:03:29] cfelce at gmail dot com Description: ------------ Hi experts, I'm having some issues loading a wsdl file of a sap webservice and the error comes as follows: Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension 'http://schemas.xmlsoap.org/ws/2004/09/policy' in /var/www/ws3.php:4 Stack trace: #0 /var/www/ws3.php(4): SoapClient- >SoapClient('zws_panda.wsdl', Array) #1 {main} thrown in /var/www/ws3.php on line 4 Reproduce code: --------------- <?php $client = new SoapClient('zws_panda.wsdl', array('login' => "cfelce", 'password' => "XXXXXX", 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP, 'encoding' => 'utf-8' )); print($client->ZWsPanda("123456789")); ?> Expected result: ---------------- Information about the client Actual result: -------------- Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension 'http://schemas.xmlsoap.org/ws/2004/09/policy' in /var/www/ws3.php:4 Stack trace: #0 /var/www/ws3.php(4): SoapClient- >SoapClient('zws_panda.wsdl', Array) #1 {main} thrown in /var/www/ws3.php on line 4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46130&edit=1