ID: 44686
User updated by: dmittner at llnw dot com
Reported By: dmittner at llnw dot com
Status: Open
Bug Type: SOAP related
Operating System: Gentoo
PHP Version: 5.2.5
New Comment:
I have also found this to occur on PHP 5.0.5, also on Gentoo.
Previous Comments:
------------------------------------------------------------------------
[2008-04-10 23:52:37] dmittner at llnw dot com
Description:
------------
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
Schema: unresolved element 'ref' attribute.
C# generated WSDL. I saw an older bug with similar characteristics, but
that was 4 years old, supposedly resolved, and on a different OS.
Several validators I tried are able to consume the WSDL.
Reproduce code:
---------------
<?php
$wsdl =
"http://gpn.webservice.gomez.com/GpnProvisioningService/ProvisioningWS.asmx?wsdl";
$soap = new
SoapClient($wsdl,array("trace"=>true,"features"=>SOAP_SINGLE_ELEMENT_ARRAYS));
?>
Expected result:
----------------
No explicit output.
Actual result:
--------------
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
Schema: unresolved element 'ref' attribute in /home/dmittner/temp.php:3
Stack trace:
#0 /home/dmittner/temp.php(3):
SoapClient->SoapClient('http://gpn.webs...',
Array)
#1 {main}
thrown in /home/dmittner/temp.php on line 3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44686&edit=1