|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-12 18:13 UTC] clwells at nocworx dot com
[2012-01-03 22:57 UTC] pumuckel at metropolis dot de
[2012-12-07 22:21 UTC] thorgal_fr at yahoo dot fr
[2016-11-30 02:56 UTC] keymaker dot 7 at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 06:00:01 2025 UTC |
Description: ------------ I have tried to access a web service whose WSDL is distributed among several files each of which contains references to several further XSDs. Now the WSDL itself is valid, as .NET or Java clients have accessed the services without any problems. But when creating a new instance of SoapClient it fails because I'm told that a certain element has already been defined. The problem is, that there are <message> elements with the same name, but they DO differ in namespaces. Reproduce code: --------------- $client = new SoapClient('someURI'); /* Please email me to get a copy of the WSDLs producing the error. They're too large to be posted here (although I tried to keep them small already) and I have no facility to make them available online. */ Expected result: ---------------- No error when parsing the WSDL. Actual result: -------------- SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: '<Element>' already defined in <FILE>