|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-02-28 23:34 UTC] ddonovan at villagepress dot com
Description: ------------ I can parse the .WSDL file and call the functions using nuSOAP, but not using PHP5. It has also been shown to work with JAVA/AXIS and .NET. I need the WSDL caching functionality of the PHP5 SOAP procedures otherwise I might stick with nuSAOP. Note that in the error message there should be another word between "unexpeted" and "in complexType", but there is not. Reproduce code: --------------- <?php $url='http://mySoapServer/WebSvc.wsdl'; $s = new SoapClient($url);//line #17 as ref'd in error ?> Expected result: ---------------- A useable instance of a SoapClient object. Actual result: -------------- Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected in complexType in /var/www/html/phpSOAP.html:17 Stack trace: #0 /var/www/html/phpSOAP.html(17): SoapClient->__construct('http://10.0.0.1...', Array) #1 {main} thrown in /var/www/html/phpSOAP.html on line 17 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 06:00:01 2025 UTC |
I get this on 5.1.2. I cannot provide you with WSDL, because I don't think we have right to give it up, but Error is much like this one. -- clip of error --- [faultstring] => SOAP-ERROR: Parsing Schema: unexpected in complexType [faultcode] => WSDL