CodeIgniter Forums

Full Version: [Newbie] Help me how to call Soap webservice for CI 3.x
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm a newbie. I have a soap webservice and my work is calling soap in CI.
my code
public function checklogin()
{
$masv=$this->input->post('masv');
$password=$this->input->post('password');
$client = new SoapClient('http://daotao.nuce.edu.vn:8085/WebService1.asmx?WSDL');
        $result = $client->__soapcall("Login",array('masv'=>$masv,'password'=>$password));
        var_dump($result);
}

althought my user and password are true,  my result alway returns false.
Can you have me? Thanks you Heart Heart Heart