473,563 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with __soapCall() function in PHP5

Hi there,

I am rather new to SOAP, and I am trying to use it in PHP5(already have it
compiled in) .

I am just wondering why the __soapCall() function doesn't seem to work when
I create a SoapClient object. This is a simple example of what I am trying
to do :

$client = new soapclient($add ress) ;
$client->__soapCall("Di alNumber" , array('param1' => $param1, 'param2' =>
$param2) ) ;

where DialNumber is the function I am trying to call. I keep getting an
error like this with the 2nd line shown above :

Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] Function
("soapCall") is not a valid method for this service in
/var/www/html/soap.php:30 Stack trace: #0 /var/www/html/soap.php(30):
SoapClient->__call('soapCa ll', Array) #1 /var/www/html/soap.php(30):
SoapClient->soapCall('Dial Number', Array) #2 {main} thrown in
/var/www/html/soap.php on line 30

Can someone please enlighten me on what I must have missed out? Thanks in
advance!


Jul 17 '05 #1
0 2059

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1754
by: ejpoirier | last post by:
I'm trying to get https to work for Web Services in PHP. I've installed PHP 5.0.5 with the following configuration line: ../configure --with-mysql=/usr/local/mysql \ --with-apxs=/usr/local/apache/bin/apxs \ --with-gd=/usr/local/src/ \ --with-gd --with-freetype-dir=/usr \ --enable-gd-native-ttf \ --enable-gd-imgstrttf \...
0
1207
by: Tim Meader | last post by:
Hello, I was hoping someone could provide some insight as to the best approach to take in porting over a function I use in quite a few spots from PHP4 to PHP5. Basically, I have a db wrapper class that I use called DBConn (this is the PHP5 ported definition for the members, PHP4 was the same except "private" was "var"): class DBConn {...
4
2607
by: Bit Byte | last post by:
Noobie here (C++/C/Java experience though) ... Recently picked up PHP ... I want to pass an array to a function and then to use count on the passed variable - is this the way to do it (its an object method) : public function foo(array& $arr) { if (count($arr) < 1)
15
1462
by: tatsudoshi | last post by:
Hello, I have this class http://pastebin.com/807571, where I set some variables on __construct. Originaly I set the $total_? variables when the function showLayout() was called. I know pastebin is having problems, so if you can't get the code, I will upload it in plain text on my own server. This function is called from a page object, which...
0
1994
by: cty | last post by:
Title: Problem in session using php5 Good day, I use php5+mySQL4+IIS5.x Previuosly i use php4 and no error occur,
3
8452
by: Mamba | last post by:
hello to everyone, I'm using Mantis bug tracking system on Ubuntu Server with apache2, mysql 5.1 and php5. Mantis uses jpgraph for graphics but when I call a graphic page, Jpgraph return this error: Fatal error: Call to undefined function imageantialias() in /var/www/ jpgraph-2.2/src/jpgraph.php on line 5586 that is a call to...
0
1827
by: fragmonster | last post by:
Hi, I have a .NET Web Service. I must write a client in PHP5. I've got a problem with the formatting of my SoapHeader. In fact, the prefix of the namespace does not apply to the entire header node and child nodes: Here is my PHP Soap message : =========================== <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
3
1633
by: Tom | last post by:
Hi all i have problem with include function in my code after change php4 to php5. after standard html code i put in html body <? include ("filename.php"); ?> and close body and html. With php4 i got pictures from php file but now in php5 i got blank page. any suggestion? tnx
4
12004
by: gcharbon | last post by:
Hi community, I have a problem with a Soap client written in php. I have a local server (coded in c and a client in c too, it works fine), but i want to test client in php, and i have an error (I'm not sure to understand it...) : SoapFault exception: Method 'ns1:getMetadataRequest' not implemented: method name or namespace not recognized...
0
7664
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7885
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.