#32141 [Fbk->NoF]: Cannot create SoapClient object from WSDL
| From: | sniper@php.net | Date: | Sun, 20 Mar 2005 17:10:36 +0000 |
| Subject: | #32141 [Fbk->NoF]: Cannot create SoapClient object from WSDL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75604@lists.php.net to get a copy of this message | ||
ID: 32141
Updated by: sniper@php.net
Reported By: ddonovan at villagepress dot com
-Status: Feedback
+Status: No Feedback
Bug Type: SOAP related
Operating System: Linux (fedora C3)
PHP Version: 5CVS-2005-02-28 (dev)
Assigned To: dmitry
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2005-03-05 13:34:35] dmitry@php.net
At first I need your WSDL file to understand the problem.
You can mail it to me.
At second, you probably look into error message from web browser, so it
removes some part of message, ext/soap writes somthing like "unexpected
<...> in complexType".
You can look into error_log.
------------------------------------------------------------------------
[2005-02-28 23:34:10] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32141&edit=1