I'm actually working with SOAP at the moment, and annoyingly the response name varies depending on the method I call. For example, one method will respond with..
$response->SendOrderResult
whilst another responds with
$response->GetOrdersStateResult
Is there a way of referring to the value without knowing the name? ie something like $response->*Result