Welcome Guest, Not a member yet? Register   Sign In
Problem on Exception of the CodeIgniter
#1

[eluser]rodrigoprazim[/eluser]
Hello,

I'm having a problem in executing of a function.

Code:
public function search($id=''){
        if($id!=''){
            try{
                $function = 'search';
                $dados = array('id'=>$id);
                $client = new soapclient($this->link().?wsdl');
           $err = $client->__soapCall($function,$dados,$options);
           return $err;
       }catch (Exception $e){
          return FALSE;
      }
   }
}

Even using a try and catch, but codeginiter shows an error when the link in Soap function is unavailable.

Help me, I don't want to show the error.


Messages In This Thread
Problem on Exception of the CodeIgniter - by El Forum - 10-03-2014, 02:10 PM
Problem on Exception of the CodeIgniter - by El Forum - 10-06-2014, 02:51 PM
Problem on Exception of the CodeIgniter - by El Forum - 10-07-2014, 04:09 AM
Problem on Exception of the CodeIgniter - by El Forum - 10-07-2014, 08:18 AM
Problem on Exception of the CodeIgniter - by El Forum - 10-07-2014, 09:49 AM
Problem on Exception of the CodeIgniter - by El Forum - 10-07-2014, 09:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB