By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,701 Members | 1,938 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,701 IT Pros & Developers. It's quick & easy.

Problem with __soapCall() function in PHP5

P: n/a
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($address) ;
$client->__soapCall("DialNumber" , 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('soapCall', Array) #1 /var/www/html/soap.php(30):
SoapClient->soapCall('DialNumber', 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

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.