This is the results of a call to function using with a soap client function and no matter what I do, I can't seem to parse the results and get the list of SKUs out of the array.
stdClass Object
(
[GetFilteredSkuListResult] => stdClass Object
(
[Status] => Success
[MessageCode] => 0
[ResultData] => stdClass Object
(
[string] => Array
(
[0] => XYZ2802
[1] => XYZ2808
[2] => XYZ2850
[3] => XYZ2848
[4] => XYZ2846
)
)
)
)
I'm using this in PHP to parse the result but it's not echoing anything?
foreach ($result->GetFilteredSkuListResult->ResultData as $message) {
echo $message->string;
}