[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP SOAP - Extreme newbie questions :/



On 1 April 2010 09:21, lmhelp2 <lea.massiot@ign.fr> wrote:
>
> Hi again,
>
> I didn't mention it but if I launch "php soap_tutorial_client.php"
> in command line, I get the following error:
> ==========================================================
> cmd_line>> php soap_tutorial_client.php
>
> PHP Fatal error:  Uncaught SoapFault exception: [Client] Function ("call")
> is not a valid method for this service in soap_tutorial_client.php:32
> Stack trace:
> #0 [internal function]: SoapClient->__call('call', Array)
> #1 soap_tutorial_client.php(32): SoapClient->call('getStockQuote', Array)
> #2 {main}
>  thrown in soap_tutorial_client.php on line 32
> ==========================================================
>
> Line 32 is:
> ==========================================================
> $stockprice = $c->call("getStockQuote", array("symbol" => "ABC"));
> ==========================================================
>
> Regards,
> --
> Lmhelp
> --
> View this message in context: http://old.nabble.com/PHP-SOAP---Extreme-newbie-questions-%3A--tp28095423p28105756.html
> Sent from the Php - Soap mailing list archive at Nabble.com.
>
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Personally, I'd switch to using PHP5's SoapServer and SoapClient.
NuSoap isn't really for PHP5.3. You may want to try
http://sourceforge.net/projects/nusoapforphp53/ which is a different
development of nusoap and is for PHP5.3


-- 
-----
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

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux