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

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

Logging and nologging bulk insert
Hi,

oracle version: 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

Revoking alter any table from a schema
Hi All,

i am working in Oracle 10g.
my requirement is to revoke all kind of DDL oper

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

TabControl Inside ListView Not Editing
Hello everybodyI have a ListView on my page. Inside the ListView I put a TabControl, cuz I want to p

form submit at godaddy?
Trying to test form submission at GoDaddy and it does not seem to work. Here's the page...

h

Search in the PHP Files
have to search asterisk(*) in the php code of the php files .
In the html page one text box

Serial number of exernal hard disk/Thumbdrive
Hi guys, I am new tio java networking concepts.Please tel me how to get Serial number of exernal

php/mysql auto logout after 2 hour and reset password
Hi all,

This I hope will make sense. I've the following code which when a user logins in, cr

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