Page 1 of 1

Soaps returns string while object is expected

Posted: Mon Oct 19, 2015 12:50 pm
by christophe
I'm using the php library found on github. When getting the subscriberBinding the following code is used to parse the response:

Code: Select all

return $this->__generateArrayFromSOAPResult($soapResult->paramNames->x, $soapResult->paramValues->x);
However, the response I receive from the soap call is a string which looks like this:

Code: Select all

string(26) "4;W;0;Opt-Out unsubscribed"
Is it supposed to return a string and is the PHP class on github outdated? or is the response incorrect?