public function getIndex()
 {
     $input = Xmlbus::city();
     $data = Bus::sourcecities($input);
     $output = Xmltoarray::arr($data);
     $city = $output['SOAP:ENVELOPE']['SOAP:BODY']['GETALLBUSSOURCECITIESRESPONSE']['GETALLBUSSOURCECITIESRESULT']['WSBUSCITYLIST']['WSBUSCITYLIST'];
     //print_r($city);
     return View::make('subretailer.bus.search')->with('city', $city);
 }
 public function getSample()
 {
     $input = Xmlbus::city();
     $data = Bus::cities($input);
     $output = Xmltoarray::arr($data);
     $city = $output['SOAP:ENVELOPE']['SOAP:BODY']['GETALLCITIESRESPONSE']['GETALLCITIESRESULT']['WSBUSCITYLIST']['WSBUSCITYLIST'];
     foreach ($city as $cities) {
         print_r($cities);
         echo "<pre>";
     }
 }