Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 866 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 866 Bytes

KPS Soap Client

Usage

<?php

include "KPSSoapClient.php";

header("Content-Type: text/plain");

$username = "KRM-*******";
$password = "********";
$wsdl = "https://kpsbasvuru.nvi.gov.tr/Services/Wsdl.ashx?Service=KisiSorgulaTCKimlikNoServis";

$kpsClient = new KPSSoapClient($username, $password, $wsdl);

try {
        $result = $kpsClient->ListeleCoklu(
                array(
                        'kriterListesi' => array(
                                'KisiSorgulaTCKimlikNoSorguKriteri' => array(
                                        'TCKimlikNo' => 11111111111
                                )
                        )
                )
        );

        print_r($result);

} catch (Exception $e)
{
        print_r($e);
}