I am using the following code to get data from a website using Soap.
$client = new SoapClient(\'http://some.url.here\'); class SMSParam { public $CellNu
you need to specify your SMSIncomingMessage arrays object key.
$result->GetIncomingMessagesResult->SMSIncomingMessage[0]->Reference;
or
foreach ($result->GetIncomingMessagesResult->SMSIncomingMessage as $message) { $reference = $message[0]->Reference; //... }