public function getLoginotpgenerate($mobilenumber) { $input = Xmlicash::loginotpgenerate($mobilenumber); $data = Icash::registerkyc($input); $output = Xmltoarray::arr($data); //print_r($output); $city = $output['SOAP:ENVELOPE']['SOAP:BODY']['LOGINRESENDOTPRESPONSE']['LOGINRESENDOTPRESULT']; $output1 = Xmltoarray::arr($city); //print_r($output1); }