jovanmaric Posted March 23, 2011 Share Posted March 23, 2011 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 Link to comment https://forums.phpfreaks.com/topic/231486-help-needed-with-a-webservice-php-output/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.