Edit report at https://bugs.php.net/bug.php?id=44686&edit=1
ID: 44686
Updated by: dmitry@php.net
Reported by: dmittner at llnw dot com
Summary: SOAP-ERROR: Parsing WSDL
Status: Closed
Type: Bug
Package: SOAP related
Operating System: Gentoo
PHP Version: 5.2.5
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
I've committed an additional fix into PHP-5.4 and above
Previous Comments:
------------------------------------------------------------------------
[2012-12-24 08:56:25] dmitry@php.net
In case this WSDL file doesn't contain an attributeGroup with
name="TelephoneInfoGroup" it's definitely wrong WSDL.
You may provide a complete WSDL/XSD example to prove if it's a bug in ext/soap.
------------------------------------------------------------------------
[2012-12-23 10:08:35] terenzio at tiscali dot it
Still getting
SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute
whith PHP 5.3.14 (cli) (built: Jun 19 2012 03:47:42) on CENTOS
while parsing a WSDL containing
<xs:attributeGroup ref="TelephoneInfoGroup">
<xs:annotation>
<xs:documentation source="Description" xml:lang="en">
Information about a telephone number, including the actual number and its usage.
</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
removing ref= and replacing with name= solves the problem but this fix cannot be applied on remote
WSDL and leads to potentially invalid WSDL
------------------------------------------------------------------------
[2012-07-24 23:38:54] rasmus@php.net
Automatic comment on behalf of dmitry
Revision: http://git.php.net/?p=php-src.git;a=commit;h=52deaeb8c0dcba1322ac84b23831baa8f796f457
Log: Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references)
------------------------------------------------------------------------
[2012-04-18 09:47:48] laruence@php.net
Automatic comment on behalf of dmitry
Revision: http://git.php.net/?p=php-src.git;a=commit;h=52deaeb8c0dcba1322ac84b23831baa8f796f457
Log: Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references)
------------------------------------------------------------------------
[2011-11-18 01:28:42] mykel at xtreme dot com dot au
just a heads up everyone: most of these issues can be resolved by changing
<xs:include schemaLocation="Schema_File.xsd"/>
to
<xs:import schemaLocation="Schema_File.xsd"/>
you will of course need to be using local WSDL/XSD files, which shouldn't be a problem for OTA
requests.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=44686--
Edit this bug report at https://bugs.php.net/bug.php?id=44686&edit=1