php5 soapclient

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ataomega
Forum Newbie
Posts: 1
Joined: Sat Aug 13, 2011 9:44 am

php5 soapclient

Post by ataomega »

hello

this code used to be work in porevoius php version

Code: Select all

$soapclient = new soapclient('https://Acquirer.sb24.com/ref-payment/ws/ReferencePayment?WSDL');
$soapProxy = $soapclient->getProxy();
$result = $soapProxy->VerifyTransaction("$refnum","$id");
//

$err = $soapclient->getError();
if ($err)
     {
	 echo '<br><h2>Constructor error</h2><pre>' . $err . '</pre>';
     echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->getDebug(), ENT_QUOTES) . '</pre>';
     exit();
     }
but now it's not working
error :

Code: Select all

Uncaught SoapFault exception: [Client] Function ("getProxy") is not a valid method for this service in /home/admin/******/verify.php:23 Stack trace: #0 /home/admin/*****/verify.php(23): SoapClient->__call('getProxy', Array) #1 /home/admin/*****/verify.php(23): SoapClient->getProxy() #2 {main} thrown in /home/admin/*****/verify.php on line 23
any solution please?
Post Reply