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

help need on ob_start()
Hi

I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpo

Need help with a mail notify function
I was tasked with setting up a site that's been prewritten. The site is basically a form that captur

order by date not ID number help php
I am trying to orginize the following code to order by date not id number.
any help would be grea

need help modifying script
Hi guys,

I'm fairly new to php and am having a bit of trouble modifying a script.

This

How to extract/download content from HTTPS page?
Hello to all the Members of this forum, Im Shoiab, A novice programmer in php.. for my first job I h

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

form variables from database help.
Hi all,

I would like to have a form that gives you options based on the results of an mysql q

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

Backflush
I am looking for a report in SAP that would give me a list of all parts that are populated with a ba

how to hide input fields on selection screen using variant attribute
Hello all,

I want to know how to hide input fields on selection screen using variant attr

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