php web service error


Posted on 16th Feb 2014 07:03 pm by admin

hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutorials and I get this one persistent error. I've search the web for clues, even this forum and nothing quite hits it.
the error is:

Did you know?Explore Trending and Topic pages for more stories like this.
Fatal error: Uncaught SoapFault exception: [Client] Function ("call") is not a valid method for this service in /+++/+++/+++/webclient.php:7 Stack trace: #0 [internal function]: SoapClient->__call('call', Array) #1 /+++/+++/+++/webclient.php(7): SoapClient->call('getStockQuote', Array) #2 {main} thrown in /+++/+++/+++/webclient.php on line 7

I'm using nusoap and running on a local ubuntu machine.

any thoughts?

here's the code

Code: [Select]<?php
require_once('nusoap/lib/nusoap.php');

$c = new SoapClient('http://localhost/+++/webserver.php');

$stockprice = $c->call('getStockQuote',
array('symbol' => 'ABC'));

?>
No comments posted yet

Your Answer:

Login to answer
273 Like 10 Dislike
Previous forums Next forums
Other forums

I face problems to extract data from one table and insert it in another one
Hi,

For modifications, I have to extract data from one table and insert it in another one

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

UTL File problem
Hi
I have a file in certain path with the following permissions (The file is a dummy file witho

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code:

Code: header("Cache-Cont

Error in write byte array into document in SM58
Hi Gurus,

Getting the following error status in Transactional RFC (SM58) ..... *Error i

Expandable Post Code
Hi,

Hope you can help. Which currently I haven't upgraded to connect to a mysql server, so i

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

Help with explandable category tree
I have the below query:

SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.categ

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash