|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-16 01:00 UTC] rvestra at unm dot edu
[2013-02-17 10:16 UTC] stas@php.net
[2013-02-17 10:16 UTC] stas@php.net
-Status: Open
+Status: Feedback
[2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 00:00:01 2025 UTC |
Description: ------------ I am calling a soap service using the WSDL supplied by the service provider, but it is failing when I try to create the soap client. The error message is: SOAP-ERROR: Parsing Schema: unexpected <annotation> in element Reproduce code: --------------- The wsdl file contains entries such as: <xs:complexType name="FWTAuditDetails"> <xs:annotation> <xs:documentation> blah blah blah </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="Created" type="xs:dateTime" minOccurs="0" /> <xs:element name="CreatedBy" type="FWTUser" minOccurs="0" /> <xs:element name="LastModified" type="xs:dateTime" minOccurs="0" /> <xs:element name="LastModifiedBy" type="FWTUser" minOccurs="0" /> </xs:sequence> </xs:complexType> If I put '<!--' and '-->' around the <xs:annotation> element the error disappears. Expected result: ---------------- As the <annotation> element is merely there for documentation purposes it should be ignored instead of causing an error.