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

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

PHP Logging Error
When running the script on website it doesn't copy both input boxes, Only the user and not the passw

reading partial code from external site
Hi,

I am trying to write a script for my website to get an article from an external website.

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

b+ tree
Hi
can every body help me about b+ tree ?(insert & delete)

Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u c

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

want a code for uploading and downloading
i m trying to upload and download to my site..i need upload and download code ...i use a code for up

How to add functionality to a simple php calender?
Hello everyone,

I have just finished creating a simple php calander. Can someone point

what does this mean? +=
is anyone able to explain what this code is saying?

i had it written for me awhile back and n

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