Re: [SOAP] WSDL: SOAP-ERROR: Parsing WSDL => End of document
[email protected] (Richard Quadling) Tue, 4 May 2010 14:54:59 +0100
| Newsgroups | php.soap |
|---|---|
| Message-ID | <[email protected]> |
On 4 May 2010 14:40, Christian Gilman <[email protected]> wrote: > Thanks for the test, but where is the difference between these operation. I pasted the complete wsdl file here: http://pastebin.de/6111 > > First, i thought it could be that the methods are without parameter, but getRatio also doesn't work. > > Do you see a difference between the methods? > > -----Ursprüngliche Nachricht----- > Von: Richard Quadling [mailto:[email protected]] > Gesendet: Dienstag, 4. Mai 2010 14:12 > An: Christian Gilman > Cc: [email protected] > Betreff: Re: [SOAP] WSDL: SOAP-ERROR: Parsing WSDL => End of document > > On 4 May 2010 12:51, Christian Gilman <[email protected]> wrote: >> Thanks for your help. >> >> You can test some functions with: user => Christian , password => Christian >> >> I created the wsdl file manually but it validates. I also tried the eclipse tool to add an operation to the wsdl file but it creates the same file as i did. >> > > <?php > require_once './WebService.php'; > > $o_WS = new WebService(); > try > { > // Returns bool(true); > var_dump($o_WS->checkUsername('Christian', 'Christian')); > > // All throw a Soap Fault exception saying that the "Procedure 'xxx' > not present" > // var_dump($o_WS->getRatio('Christian', 'Christian')); > // var_dump($o_WS->getMaxRatio()); > // var_dump($o_WS->getMinRatio()); > // var_dump($o_WS->getTopTen()); > // var_dump($o_WS->getInformation('Christian', 'Christian')); > // var_dump($o_WS->getGeneralInformation()); > } > catch(Exception $e) > { > var_dump($e); > } > -- > ----- > 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 > > The only difference is the URL at the bottom Can you show your server code (SonryeWebService.php)? -- ----- 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