Soaps returns string while object is expected
Posted: Mon Oct 19, 2015 12:50 pm
I'm using the php library found on github. When getting the subscriberBinding the following code is used to parse the response:
However, the response I receive from the soap call is a string which looks like this:
Is it supposed to return a string and is the PHP class on github outdated? or is the response incorrect?
Code: Select all
return $this->__generateArrayFromSOAPResult($soapResult->paramNames->x, $soapResult->paramValues->x);
Code: Select all
string(26) "4;W;0;Opt-Out unsubscribed"