ID: 46130 Updated by: sjo...@php.net Reported By: cfelce at gmail dot com -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: GNU/Linux Ubuntu fesity PHP Version: 5.2CVS-2008-09-19 (CVS) New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2009-06-24 11:22:52] sjoerd-php at linuxonly dot nl Thank you for your bug report. The message "Unknown required WSDL extension" means that the WSDL uses some extension and specifies that the client MUST understand it in order to use the service. Appearantly, PHP SoapClient does not understand the extension, thus causing this error. Please provide the WSDL or information about the required extension. ------------------------------------------------------------------------ [2009-03-11 19:35:13] michael dot schramm at gmail dot com Same thing happens with PHP version 5.2.6: SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension 'http://schemas.xmlsoap.org/ws/2004/09/policy' Changing the Service is not always an option! ------------------------------------------------------------------------ [2008-12-31 11:12:18] omabil at gmail dot com Hello everybody, the work-around we used to avoid this problem is by using the standard sap wsdl instead of the ws-policy one. By replacing the "wspolicy" word by "standard" in the url of the wsdl we've got a second wsdl which doesn't use the ws policies. Regards, -- Omabil ------------------------------------------------------------------------ [2008-12-22 17:04:48] omabil at gmail dot com Hello everybody, someone has found some solution for this problem? Thanks a lot, -- Omabil ------------------------------------------------------------------------ [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