Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Soap error #137

Open
olliefalle opened this issue Apr 4, 2019 · 3 comments
Open

Soap error #137

olliefalle opened this issue Apr 4, 2019 · 3 comments

Comments

@olliefalle
Copy link

I have just started using this SDK but getting an issue.

SoapClient::__doRequest() returned non string value

This is my index file:

 <?php
 require __DIR__ . '/vendor/autoload.php';
 use FuelSdk\ET_Client;
 use FuelSdk\ET_List;

 $myclient = new ET_Client(true);
 $getList = new ET_List();
 $getList->authStub = $myclient;
 $getResponse = $getList->get();
 print_r($getResponse);
 ?>

Config file:

 <?php
 return array(
'appsignature' => 'none', 
'clientid' => 'xxxxxxxx',
'clientsecret' => 'xxxxxxxxx',
'defaultwsdl' => 'https://webservice.exacttarget.com/etframework.wsdl',
'xmlloc' => __DIR__.'/wsdl/ExactTargetWSDL.xml',
'baseUrl' => 'https://xxxxx.rest.marketingcloudapis.com/',
'baseAuthUrl' => 'https://xxxxxxxx.auth.marketingcloudapis.com/',
'baseSoapUrl' => 'https://xxxxxxxx.soap.marketingcloudapis.com/',
 );

Have searched everywhere for a solution but cant find anything.

Any ideas?

@garek007
Copy link

@olliefalle any luck on this? I'm having the same problem

@olliefalle
Copy link
Author

@garek007 I managed to get past this issue as i think there was a permission problem. My problem now is that i can't access data from a shared DE.

@garek007
Copy link

Ok thanks @olliefalle yes I realized I was using the new Installed Package configuration whereas this SDK uses the Legacy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants