php - Accessing mutiple responses in SOAP -
i learned soap month ago , managed reply in php. managed response , parse stuck different response 5 instead of 1. trying figure out how parse it. i'm used arrays , it's bit confusing me here normal response/reply $value = $client->getinmate($parameters); $xml = $value->getinmateresult; print "street: ".$xml->address->street; print "<br>city: ".$xml->address->city; print "<br>state ".$xml->address->state; this works now trying similar same method not working, here image of structure of next reply: http://i.stack.imgur.com/wwfxg.png as can see, i'm trying 'charges (5)' , manage them independently racking brain so. simplexml_load_string() isn't helping either, doesn't seem parse them correctly. aren't able retrieve result in loop because same format can see in image attached. if not, let me know response getting through line: $xml ...