<?php
/**
 * This file aims to show you how to use this generated package.
 * In addition, the goal is to show which methods are available and the first needed parameter(s)
 * You have to use an associative array such as:
 * - the key must be a constant beginning with WSDL_ from AbstractSoapClientBase class (each generated ServiceType class extends this class)
 * - the value must be the corresponding key value (each option matches a {@link http://www.php.net/manual/en/soapclient.soapclient.php} option)
 * $options = array(
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'https://servis.turkiye.gov.tr/services/g2g/kdgm/uetdsarizi?wsdl',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE => true,
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN => 'you_secret_login',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD => 'you_secret_password',
 * );
 * etc...
 */
require_once __DIR__ . '/vendor/autoload.php';
/**
 * Minimal options
 */
$options = array(
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'https://servis.turkiye.gov.tr/services/g2g/kdgm/uetdsarizi?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => ClassMap::get(),
);
/**
 * Samples for Yolcu ServiceType
 */
$yolcu = new \ServiceType\Yolcu($options);
/**
 * Sample call for yolcuIptalUetdsYolcuRefNoIle operation/method
 */
if ($yolcu->yolcuIptalUetdsYolcuRefNoIle(new \StructType\YolcuIptalUetdsYolcuRefNoIle()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Sample call for yolcuBagajIptal operation/method
 */
if ($yolcu->yolcuBagajIptal(new \StructType\YolcuBagajIptal()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Sample call for yolcuGelmeyenBildir operation/method
 */
if ($yolcu->yolcuGelmeyenBildir(new \StructType\YolcuGelmeyenBildir()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Sample call for yolcuIptal operation/method
 */
if ($yolcu->yolcuIptal(new \StructType\YolcuIptal()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Sample call for yolcuEkleCoklu operation/method
 */
if ($yolcu->yolcuEkleCoklu(new \StructType\YolcuEkleCoklu()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Sample call for yolcuBildirimSorgula operation/method
 */
if ($yolcu->yolcuBildirimSorgula(new \StructType\YolcuBildirimSorgula()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Sample call for yolcuEkle operation/method
 */
if ($yolcu->yolcuEkle(new \StructType\YolcuEkle()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Sample call for yolcuBagajEkle operation/method
 */
if ($yolcu->yolcuBagajEkle(new \StructType\YolcuBagajEkle()) !== false) {
    print_r($yolcu->getResult());
} else {
    print_r($yolcu->getLastError());
}
/**
 * Samples for Mesleki ServiceType
 */
$mesleki = new \ServiceType\Mesleki($options);
/**
 * Sample call for meslekiYeterlilikSorgula operation/method
 */
if ($mesleki->meslekiYeterlilikSorgula(new \StructType\MeslekiYeterlilikSorgula()) !== false) {
    print_r($mesleki->getResult());
} else {
    print_r($mesleki->getLastError());
}
/**
 * Samples for Firma ServiceType
 */
$firma = new \ServiceType\Firma($options);
/**
 * Sample call for firmaCezaSorgula operation/method
 */
if ($firma->firmaCezaSorgula(new \StructType\FirmaCezaSorgula()) !== false) {
    print_r($firma->getResult());
} else {
    print_r($firma->getLastError());
}
/**
 * Sample call for firmaIletisimBilgisiListele operation/method
 */
if ($firma->firmaIletisimBilgisiListele(new \StructType\FirmaIletisimBilgisiListele()) !== false) {
    print_r($firma->getResult());
} else {
    print_r($firma->getLastError());
}
/**
 * Sample call for firmaIletisimBilgisiSil operation/method
 */
if ($firma->firmaIletisimBilgisiSil(new \StructType\FirmaIletisimBilgisiSil()) !== false) {
    print_r($firma->getResult());
} else {
    print_r($firma->getLastError());
}
/**
 * Sample call for firmaIletisimBilgisiEkle operation/method
 */
if ($firma->firmaIletisimBilgisiEkle(new \StructType\FirmaIletisimBilgisiEkle()) !== false) {
    print_r($firma->getResult());
} else {
    print_r($firma->getLastError());
}
/**
 * Sample call for firmaUyarmaSorgula operation/method
 */
if ($firma->firmaUyarmaSorgula(new \StructType\FirmaUyarmaSorgula()) !== false) {
    print_r($firma->getResult());
} else {
    print_r($firma->getLastError());
}
/**
 * Samples for Kullanici ServiceType
 */
$kullanici = new \ServiceType\Kullanici($options);
/**
 * Sample call for kullaniciKontrol operation/method
 */
if ($kullanici->kullaniciKontrol(new \StructType\KullaniciKontrol()) !== false) {
    print_r($kullanici->getResult());
} else {
    print_r($kullanici->getLastError());
}
/**
 * Samples for Sefer ServiceType
 */
$sefer = new \ServiceType\Sefer($options);
/**
 * Sample call for seferPlakaDegistir operation/method
 */
if ($sefer->seferPlakaDegistir(new \StructType\SeferPlakaDegistir()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferGrupIptal operation/method
 */
if ($sefer->seferGrupIptal(new \StructType\SeferGrupIptal()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferGuncelle operation/method
 */
if ($sefer->seferGuncelle(new \StructType\SeferGuncelle()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferGrupGuncelle operation/method
 */
if ($sefer->seferGrupGuncelle(new \StructType\SeferGrupGuncelle()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferEkle operation/method
 */
if ($sefer->seferEkle(new \StructType\SeferEkle()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferGrupEkle operation/method
 */
if ($sefer->seferGrupEkle(new \StructType\SeferGrupEkle()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferIptal operation/method
 */
if ($sefer->seferIptal(new \StructType\SeferIptal()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferDetayCiktisiAl operation/method
 */
if ($sefer->seferDetayCiktisiAl(new \StructType\SeferDetayCiktisiAl()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferBildirimListele operation/method
 */
if ($sefer->seferBildirimListele(new \StructType\SeferBildirimListele()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferGrupListesi operation/method
 */
if ($sefer->seferGrupListesi(new \StructType\SeferGrupListesi()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Sample call for seferAktif operation/method
 */
if ($sefer->seferAktif(new \StructType\SeferAktif()) !== false) {
    print_r($sefer->getResult());
} else {
    print_r($sefer->getLastError());
}
/**
 * Samples for Vize ServiceType
 */
$vize = new \ServiceType\Vize($options);
/**
 * Sample call for vizeOnBasvuruIptal operation/method
 */
if ($vize->vizeOnBasvuruIptal(new \StructType\VizeOnBasvuruIptal()) !== false) {
    print_r($vize->getResult());
} else {
    print_r($vize->getLastError());
}
/**
 * Sample call for vizeOnBasvuruDetay operation/method
 */
if ($vize->vizeOnBasvuruDetay(new \StructType\VizeOnBasvuruDetay()) !== false) {
    print_r($vize->getResult());
} else {
    print_r($vize->getLastError());
}
/**
 * Sample call for vizeOnBasvuruSurucuEkle operation/method
 */
if ($vize->vizeOnBasvuruSurucuEkle(new \StructType\VizeOnBasvuruSurucuEkle()) !== false) {
    print_r($vize->getResult());
} else {
    print_r($vize->getLastError());
}
/**
 * Sample call for vizeOnBasvuruListele operation/method
 */
if ($vize->vizeOnBasvuruListele(new \StructType\VizeOnBasvuruListele()) !== false) {
    print_r($vize->getResult());
} else {
    print_r($vize->getLastError());
}
/**
 * Sample call for vizeOnBasvuru operation/method
 */
if ($vize->vizeOnBasvuru(new \StructType\VizeOnBasvuru()) !== false) {
    print_r($vize->getResult());
} else {
    print_r($vize->getLastError());
}
/**
 * Samples for Coklu ServiceType
 */
$coklu = new \ServiceType\Coklu($options);
/**
 * Sample call for cokluHesKoduKontrolEtPlus operation/method
 */
if ($coklu->cokluHesKoduKontrolEtPlus(new \StructType\CokluHesKoduKontrolEtPlus()) !== false) {
    print_r($coklu->getResult());
} else {
    print_r($coklu->getLastError());
}
/**
 * Sample call for cokluHesKoduKontrolEt operation/method
 */
if ($coklu->cokluHesKoduKontrolEt(new \StructType\CokluHesKoduKontrolEt()) !== false) {
    print_r($coklu->getResult());
} else {
    print_r($coklu->getLastError());
}
/**
 * Samples for Arac ServiceType
 */
$arac = new \ServiceType\Arac($options);
/**
 * Sample call for aracMuayeneSorgula operation/method
 */
if ($arac->aracMuayeneSorgula(new \StructType\AracMuayeneSorgula()) !== false) {
    print_r($arac->getResult());
} else {
    print_r($arac->getLastError());
}
/**
 * Samples for Personel ServiceType
 */
$personel = new \ServiceType\Personel($options);
/**
 * Sample call for personelEkle operation/method
 */
if ($personel->personelEkle(new \StructType\PersonelEkle()) !== false) {
    print_r($personel->getResult());
} else {
    print_r($personel->getLastError());
}
/**
 * Sample call for personelIptal operation/method
 */
if ($personel->personelIptal(new \StructType\PersonelIptal()) !== false) {
    print_r($personel->getResult());
} else {
    print_r($personel->getLastError());
}
/**
 * Samples for Hes ServiceType
 */
$hes = new \ServiceType\Hes($options);
/**
 * Sample call for hesKoduBlokeKaldir operation/method
 */
if ($hes->hesKoduBlokeKaldir(new \StructType\HesKoduBlokeKaldir()) !== false) {
    print_r($hes->getResult());
} else {
    print_r($hes->getLastError());
}
/**
 * Sample call for hesKoduKontrolEt operation/method
 */
if ($hes->hesKoduKontrolEt(new \StructType\HesKoduKontrolEt()) !== false) {
    print_r($hes->getResult());
} else {
    print_r($hes->getLastError());
}
/**
 * Sample call for hesKoduKontrolEtPlus operation/method
 */
if ($hes->hesKoduKontrolEtPlus(new \StructType\HesKoduKontrolEtPlus()) !== false) {
    print_r($hes->getResult());
} else {
    print_r($hes->getLastError());
}
/**
 * Sample call for hesKoduBlokeEt operation/method
 */
if ($hes->hesKoduBlokeEt(new \StructType\HesKoduBlokeEt()) !== false) {
    print_r($hes->getResult());
} else {
    print_r($hes->getLastError());
}
/**
 * Samples for Seyahat ServiceType
 */
$seyahat = new \ServiceType\Seyahat($options);
/**
 * Sample call for seyahatIzinKontrol operation/method
 */
if ($seyahat->seyahatIzinKontrol(new \StructType\SeyahatIzinKontrol()) !== false) {
    print_r($seyahat->getResult());
} else {
    print_r($seyahat->getLastError());
}
/**
 * Samples for Bildirim ServiceType
 */
$bildirim = new \ServiceType\Bildirim($options);
/**
 * Sample call for bildirimOzeti operation/method
 */
if ($bildirim->bildirimOzeti(new \StructType\BildirimOzeti()) !== false) {
    print_r($bildirim->getResult());
} else {
    print_r($bildirim->getLastError());
}
/**
 * Samples for Kimlik ServiceType
 */
$kimlik = new \ServiceType\Kimlik($options);
/**
 * Sample call for kimlikDogrulama operation/method
 */
if ($kimlik->kimlikDogrulama(new \StructType\KimlikDogrulama()) !== false) {
    print_r($kimlik->getResult());
} else {
    print_r($kimlik->getLastError());
}
/**
 * Samples for Ip ServiceType
 */
$ip = new \ServiceType\Ip($options);
/**
 * Sample call for ipListele operation/method
 */
if ($ip->ipListele(new \StructType\IpListele()) !== false) {
    print_r($ip->getResult());
} else {
    print_r($ip->getLastError());
}
/**
 * Sample call for ipSil operation/method
 */
if ($ip->ipSil(new \StructType\IpSil()) !== false) {
    print_r($ip->getResult());
} else {
    print_r($ip->getLastError());
}
/**
 * Sample call for ipTanimla operation/method
 */
if ($ip->ipTanimla(new \StructType\IpTanimla()) !== false) {
    print_r($ip->getResult());
} else {
    print_r($ip->getLastError());
}
/**
 * Samples for Yetki ServiceType
 */
$yetki = new \ServiceType\Yetki($options);
/**
 * Sample call for yetkiBelgesiKontrol operation/method
 */
if ($yetki->yetkiBelgesiKontrol(new \StructType\YetkiBelgesiKontrol()) !== false) {
    print_r($yetki->getResult());
} else {
    print_r($yetki->getLastError());
}
/**
 * Samples for Servis ServiceType
 */
$servis = new \ServiceType\Servis($options);
/**
 * Sample call for servisTest operation/method
 */
if ($servis->servisTest($testMsj1) !== false) {
    print_r($servis->getResult());
} else {
    print_r($servis->getLastError());
}
