CodeIgniter Forums
[Newbie] Help me how to call Soap webservice for CI 3.x - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forum-6.html)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forum-17.html)
+--- Thread: [Newbie] Help me how to call Soap webservice for CI 3.x (/thread-77887.html)



[Newbie] Help me how to call Soap webservice for CI 3.x - huutong2203 - 10-31-2020

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


RE: [Newbie] Help me how to call Soap webservice for CI 3.x - InsiteFX - 11-02-2020

Creating a SOAP server in CodeIgniter

Using NuSOAP in CodeIgniter