Example #1
0
 public function getTicket($username)
 {
     $this->urlxml = "http://" . $this->Application->Parameters['QlikViewHost'] . "/ticketWebserviceSecure/Service.asmx?wsdl";
     $this->url = "http://" . $this->Application->Parameters['QlikViewHost'] . "/ticketWebservicesecure/service.asmx/GetTicket?";
     $client = new SoapClient($this->urlxml);
     return $client->getTicket($username);
 }
Example #2
0
 function getHash()
 {
     $clientHash = new SoapClient("http://ws.pide.gob.pe/reniec/WSAuthenticationBinding/?wsdl", array("trace" => 1, "location" => 'http://ws.pide.gob.pe/reniec/WSAuthenticationBinding'));
     $user = '******';
     $password = '******';
     $result = $clientHash->getTicket($user, $password);
     return $result;
 }