Hi all,
I need help regarding a web service that sends info and returns info. It utilises SOAP and WSDL.
Afterwards it prints the return info into html/php. It always shows the error below and I think that I am
forgetting something or have written something wrong.
Fatal error: Uncaught SoapFault exception: [invalid Login] (null) in /home/admin/mydomain.com/por.php:5 Stack trace: #0 [internal function]: SoapClient->__call('optionalinfo', Array) #1 /home/admin/bucketsurvey.com/por.php(5): SoapClient->optionalinfo() #2 {main} thrown in /home/admin/mydomain.com/por.php on line 5
This is what I have so far:
<?php
$client = new soapclient("http://network.thinkaction.com/api/soap_affiliate.php?wsdl", array('client' => '000' , 'add_code' => 'CD0000' , 'password' => '0000'));
$result = $client->optionalinfo();
echo ($result); ?>
The webservice can be found here:
http://network.thinkaction.com/api/soap_affiliate.php?wsdl
The info regarding the webservice ( optionalinfo ) here:
http://network.thinkaction.com/api/soap_affiliate.php
I hope that someone can help me here or by livechat.
Kind Regards,
Jovanmaric