From: cfelce at gmail dot com Operating system: GNU/Linux Ubuntu fesity PHP version: 5.2CVS-2008-09-19 (CVS) PHP Bug Type: SOAP related Bug description: SOAP-ERROR: Parsing WSDL
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 bug report at http://bugs.php.net/?id=46130&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46130&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46130&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46130&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46130&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46130&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46130&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46130&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46130&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46130&r=support Expected behavior: http://bugs.php.net/fix.php?id=46130&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46130&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46130&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46130&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46130&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46130&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46130&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46130&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46130&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46130&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46130&r=mysqlcfg