KPS (Kimlik Paylasim Sistemi) Soap Client
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
KPSSoapClient.php
README.md
cert.pem

README.md

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);
}