Soaps returns string while object is expected

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Soaps returns string while object is expected

Postby christophe » 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:

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?
christophe
 
Posts: 2
Joined: Tue Sep 08, 2015 9:49 am

Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests