Edit report at https://bugs.php.net/bug.php?id=46679&edit=1
ID: 46679 Comment by: samvaughton at gmail dot com Reported by: internet at cardiff dot fr Summary: WSDL Error SOAP-ERROR unresolved element 'ref' Status: Verified Type: Bug Package: SOAP related Operating System: * PHP Version: 5.*, 6CVS (2009-05-05) Block user comment: N Private report: N New Comment: Also confirming this bug still exists for the WSDL https://www.smtpi.siteminder.com/pmsxchangev2/services/highlevel/pmsxchange.wsdl with a standard connect via new SoapClient(); PHP Version 5.3.13 Previous Comments: ------------------------------------------------------------------------ [2010-12-03 04:18:52] dpholden at gmail dot com I can confirm that this error is still present, only in later version of PHP (Im using PHP 5.3) the error message differs slightly. SOAP-ERROR: Parsing Schema: can't import schema from 'http://example.com/myfile.xsd' Where the WSDL trying to be validated contains an import to the XSD <xs:import namespace="mynamespace" schemaLocation="http://example.com/myfile.xsd"/> And the XSD file: http://example.com/myfile.xsd contains ref elements: <xs:element ref="ota:OTA_HotelInvCountNotifRQ"/> ------------------------------------------------------------------------ [2008-11-27 08:57:54] internet at cardiff dot fr Description: ------------ When parsing a validated WSDL Structure (WSDL is government issued) php throws : Error: WSDL Error Details: SOAP-ERROR: Parsing Schema: unresolved element 'ref' Error is declared solved in 5.2.5 but is not... Reproduce code: --------------- try { $client = new SoapClient('http://www.nycotix.net/test/wsdl/ImmatTestService/ImmatTestSe rvice.wsdl', array("trace" => true, "exceptions" => true, 'soap_version' => SOAP_1_2)); } Expected result: ---------------- No errors thrown ------------------------------------------------------------------------ [2008-11-26 09:23:59] internet at cardiff dot fr Description: ------------ When parsing a validated WSDL Structure (WSDL is government issued) php throws : Error: WSDL Error Details: SOAP-ERROR: Parsing Schema: unresolved element 'ref' Error is declared solved in 5.2.5 but is not... Reproduce code: --------------- try { $client = new SoapClient('http://www.cardiff.fr/test/wsdl/TestImmatService/TestImmatService.wsdl', array("trace" => true, "exceptions" => true, 'soap_version' => SOAP_1_2)); } Expected result: ---------------- No errors thrown ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=46679&edit=1