Jump to content

Help needed with a Webservice > php output.


jovanmaric

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.