Re: [SOAP] WSDL: SOAP-ERROR: Parsing WSDL => End of document
| From: | Richard Quadling | Date: | Tue, 04 May 2010 11:44:34 +0000 |
| Subject: | Re: [SOAP] WSDL: SOAP-ERROR: Parsing WSDL => End of document | ||
| References: | 1 2 3 4 5 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-3094@lists.php.net to get a copy of this message | ||
On 4 May 2010 12:26, Christian Gilman <gille08@googlemail.com> wrote:
> No, i included no <documentation> tags. You can load the file under:
> http://www.sonrye.de/WebService/SonryeWebService.php?wsdl
I've just generated my client side classes for this WSDL with no problem.
The file was generated using the wsdl2php code from SourceForge (with
a few minor mods).
If you can provide a username/password, I can test it further, but the
WSDL file read fine.
Interestingly, I use Google Chrome with the XML Tree extension which
displays XML like IE does.
The wsdl file you've supplied doesn't have an XML header.
Maybe that is your problem?
Add the next line to the output - maybe.
<?xml version="1.0" encoding="utf-8"?>
How are you generating the WSDL file? Manually?
There are many tools out there to construct one automatically. I use
(and have a few patches for) the Zend Framework's
Zend_Soap_AutoDiscover, which uses DocBlocks from the server class(es)
to construct the WSDL file. Very easy and useful.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling