Re: PHP SOAP - Extreme newbie questions :/

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

 



Hi,

Thank you for your answer :-).
(Apparently, you didn't send your message to the mailing list...)

Here is what happens when I try each of you proposals:



----- First case:  
      $stockprice = $c->__call("getStockQuote", array("symbol" => "ABC"));
============================================================================
>> php soap_tutorial_client.php

PHP Fatal error:  Uncaught SoapFault exception: [HTTP] Not Found in 
soap_tutorial_client.php:33
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', '
   http://localhos...', 'urn:stockquote#...', 1, 0)
#1 soap_tutorial_client.php(33): SoapClient->__call('getStockQuote', Array)
#2 {main} 
thrown in soap_tutorial_client.php on line 33
============================================================================
Line 33: $stockprice = $c->__call("getStockQuote", array("symbol" =>
"ABC"));



----- Second case: 
      $stockprice = $c->getStockQuotearray("symbol" => "ABC");
============================================================================
>> php soap_tutorial_client.php

PHP Parse error:  syntax error, unexpected T_DOUBLE_ARROW in
soap_tutorial_client.php on line 34
============================================================================
Line 34: $stockprice = $c->getStockQuotearray("symbol" => "ABC");



----- Third case: 
      $stockprice = $c->getStockQuotearray("ABC");
============================================================================
>> php soap_tutorial_client.php

PHP Fatal error:  Uncaught SoapFault exception: [Client] Function 
("getStockQuotearray") is not a valid method for this service in 
soap_tutorial_client.php:35
Stack trace:
#0 [internal function]: SoapClient->__call('getStockQuotear...', Array)
#1 soap_tutorial_client.php(35): SoapClient->getStockQuotearray('ABC')
#2 {main}
  thrown in soap_tutorial_client.php on line 35
============================================================================
Line 35: $stockprice = $c->getStockQuotearray("ABC");



Not really working...

Best regards,
--
Lmhelp
-- 
View this message in context: http://old.nabble.com/PHP-SOAP---Extreme-newbie-questions-%3A--tp28095423p28107517.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


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux