ID: 46130
Comment by: michael dot schramm 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:
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!
Previous Comments:
------------------------------------------------------------------------
[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