Bug #46679 [Com]: WSDL Error SOAP-ERROR unresolved element 'ref'
| From: | sheyda dot babi5161 at gmail dot com | Date: | Mon, 28 Nov 2022 05:58:08 +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-242960@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=46679&edit=1
ID: 46679
Comment by: sheyda dot babi5161 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:
Pleased to see your issue as I think I have the same problem
(https://www.hca-rewards.com/)github.com
Previous Comments:
------------------------------------------------------------------------
[2013-09-23 11:07:05] samvaughton at gmail dot com
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
------------------------------------------------------------------------
[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