Problem with __soapCall() function in PHP5

This is a discussion on Problem with __soapCall() function in PHP5 within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi there, I am rather new to SOAP, and I am trying to use it in PHP5(already have it ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-30-2005
John
 
Posts: n/a
Default 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($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
advance!




Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0