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:

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

php include email form with attachment
I have had no luck with finding a email form all over the Internet for various reasons. Some insecur

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

Trouble verifying database password
Thankyou to everyone who responded to my last post (I can't find the posting, it has been buried). <

Inserting 100x and 100y coordinates in mysql table - easy
Is there a way to insert this data into a mysql table named 'map' with the fields: 'x int 3' , 'y in

Remore client postprocessing phase getting dump SAPSQL_ARRAY_INSERT_DUPREC
Hello Expects,I have started remore client copy. Data was copied successfully. but while running pos

query help
Hi experts.

i have a table rep2 like this
PROD_COD ACCT_NO DUE_DAYS BALANCE

SAP Business Suite
Hi all:

Within the SAP Business Suite solution I would like to ask you the main differenc

Saving data from a form into a file
Hey everybody,

Sorry, I am really new to PHP coding and such but a project kind of got thrust

mails going in spam??
The mails I sent to folks in my database using mail(function) are going in spam??

Any idea ho

calendar dates and hours compare problem
i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same

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