Bug #46679 [Com]: WSDL Error SOAP-ERROR unresolved element 'ref'
| From: | dpholden at gmail dot com | Date: | Fri, 03 Dec 2010 03:18:57 +0000 |
| Subject: | Bug #46679 [Com]: WSDL Error SOAP-ERROR unresolved element 'ref' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156709@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=46679&edit=1
ID: 46679
Comment by: dpholden 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:
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"/>
Previous Comments:
------------------------------------------------------------------------
[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 http://bugs.php.net/bug.php?id=46679&edit=1