/**
* 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 => 'http://85.106.8.202:2001/KorgunWebService.asmx?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 => 'http://85.106.8.202:2001/KorgunWebService.asmx?wsdl',
\WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => ClassMap::get(),
);
/**
* Samples for Getstk ServiceType
*/
$getstk = new \ServiceType\Getstk($options);
/**
* Sample call for getstkKoliMik operation/method
*/
if ($getstk->getstkKoliMik(new \StructType\GetstkKoliMik()) !== false) {
print_r($getstk->getResult());
} else {
print_r($getstk->getLastError());
}
/**
* Samples for Set ServiceType
*/
$set = new \ServiceType\Set($options);
/**
* Sample call for SetWeb2SipHarKoli operation/method
*/
if ($set->SetWeb2SipHarKoli(new \StructType\SetWeb2SipHarKoli()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetCariYetkili operation/method
*/
if ($set->SetCariYetkili(new \StructType\SetCariYetkili()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetCariAdress operation/method
*/
if ($set->SetCariAdress(new \StructType\SetCariAdress()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetSipiptal operation/method
*/
if ($set->SetSipiptal(new \StructType\SetSipiptal()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetWeb2SipHar operation/method
*/
if ($set->SetWeb2SipHar(new \StructType\SetWeb2SipHar()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetWeb2Fatura operation/method
*/
if ($set->SetWeb2Fatura(new \StructType\SetWeb2Fatura()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetKprFisMagaza operation/method
*/
if ($set->SetKprFisMagaza(new \StructType\SetKprFisMagaza()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetCariFis operation/method
*/
if ($set->SetCariFis(new \StructType\SetCariFis()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetCariFisHar operation/method
*/
if ($set->SetCariFisHar(new \StructType\SetCariFisHar()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetKprFis operation/method
*/
if ($set->SetKprFis(new \StructType\SetKprFis()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetKprFisHar operation/method
*/
if ($set->SetKprFisHar(new \StructType\SetKprFisHar()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetKprFisOde operation/method
*/
if ($set->SetKprFisOde(new \StructType\SetKprFisOde()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Sample call for SetMusteriKart operation/method
*/
if ($set->SetMusteriKart(new \StructType\SetMusteriKart()) !== false) {
print_r($set->getResult());
} else {
print_r($set->getLastError());
}
/**
* Samples for Get ServiceType
*/
$get = new \ServiceType\Get($options);
/**
* Sample call for getAllKoliTip operation/method
*/
if ($get->getAllKoliTip(new \StructType\GetAllKoliTip()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for getStokKoli operation/method
*/
if ($get->getStokKoli(new \StructType\GetStokKoli()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for getURTMarka operation/method
*/
if ($get->getURTMarka(new \StructType\GetURTMarka()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for getURTTip operation/method
*/
if ($get->getURTTip(new \StructType\GetURTTip()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for getStokGrup operation/method
*/
if ($get->getStokGrup(new \StructType\GetStokGrup()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for getStokTip operation/method
*/
if ($get->getStokTip(new \StructType\GetStokTip()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWebModulKategori operation/method
*/
if ($get->GetWebModulKategori(new \StructType\GetWebModulKategori()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllUlke operation/method
*/
if ($get->GetAllUlke(new \StructType\GetAllUlke()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllUlkeSehir operation/method
*/
if ($get->GetAllUlkeSehir(new \StructType\GetAllUlkeSehir()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllUlkeSehirilce operation/method
*/
if ($get->GetAllUlkeSehirilce(new \StructType\GetAllUlkeSehirilce()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllUlkeSehirilceSemt operation/method
*/
if ($get->GetAllUlkeSehirilceSemt(new \StructType\GetAllUlkeSehirilceSemt()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for getStokBarcodeS operation/method
*/
if ($get->getStokBarcodeS(new \StructType\GetStokBarcodeS()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for getKoliBarcodeS operation/method
*/
if ($get->getKoliBarcodeS(new \StructType\GetKoliBarcodeS()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllRnkList operation/method
*/
if ($get->GetAllRnkList(new \StructType\GetAllRnkList()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllBdnList operation/method
*/
if ($get->GetAllBdnList(new \StructType\GetAllBdnList()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllMuafiyet operation/method
*/
if ($get->GetAllMuafiyet(new \StructType\GetAllMuafiyet()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWebStkMevDetail operation/method
*/
if ($get->GetWebStkMevDetail(new \StructType\GetWebStkMevDetail()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWeb_Full_info_Stk_in_MevDet operation/method
*/
if ($get->GetWeb_Full_info_Stk_in_MevDet(new \StructType\GetWeb_Full_info_Stk_in_MevDet()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWeb_Full_info_Stk_in_MevDet_LocDetail operation/method
*/
if ($get->GetWeb_Full_info_Stk_in_MevDet_LocDetail(new \StructType\GetWeb_Full_info_Stk_in_MevDet_LocDetail()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWeb_Full_info_Stk operation/method
*/
if ($get->GetWeb_Full_info_Stk(new \StructType\GetWeb_Full_info_Stk()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetStokRnk operation/method
*/
if ($get->GetStokRnk(new \StructType\GetStokRnk()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetStokBdn operation/method
*/
if ($get->GetStokBdn(new \StructType\GetStokBdn()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetStokAsorti operation/method
*/
if ($get->GetStokAsorti(new \StructType\GetStokAsorti()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetSatFiyTipList operation/method
*/
if ($get->GetSatFiyTipList(new \StructType\GetSatFiyTipList()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetStokRnkBdn operation/method
*/
if ($get->GetStokRnkBdn(new \StructType\GetStokRnkBdn()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWebStkLocMevDetail operation/method
*/
if ($get->GetWebStkLocMevDetail(new \StructType\GetWebStkLocMevDetail()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetStokDocument operation/method
*/
if ($get->GetStokDocument(new \StructType\GetStokDocument()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWebPPStkLocMevDetail operation/method
*/
if ($get->GetWebPPStkLocMevDetail(new \StructType\GetWebPPStkLocMevDetail()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetStokResim operation/method
*/
if ($get->GetStokResim(new \StructType\GetStokResim()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWeb_UpToDate_MevDet operation/method
*/
if ($get->GetWeb_UpToDate_MevDet(new \StructType\GetWeb_UpToDate_MevDet()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for Get_Puan operation/method
*/
if ($get->Get_Puan(new \StructType\Get_Puan()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetCariAdress operation/method
*/
if ($get->GetCariAdress(new \StructType\GetCariAdress()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetCariYetkili operation/method
*/
if ($get->GetCariYetkili(new \StructType\GetCariYetkili()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetCariEkstre operation/method
*/
if ($get->GetCariEkstre(new \StructType\GetCariEkstre()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetSipDurum operation/method
*/
if ($get->GetSipDurum(new \StructType\GetSipDurum()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetSipOzellik operation/method
*/
if ($get->GetSipOzellik(new \StructType\GetSipOzellik()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetOdeSekil operation/method
*/
if ($get->GetOdeSekil(new \StructType\GetOdeSekil()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetAllFisOdeTip operation/method
*/
if ($get->GetAllFisOdeTip(new \StructType\GetAllFisOdeTip()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetKprFis operation/method
*/
if ($get->GetKprFis(new \StructType\GetKprFis()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetIrsaliye operation/method
*/
if ($get->GetIrsaliye(new \StructType\GetIrsaliye()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetFatura operation/method
*/
if ($get->GetFatura(new \StructType\GetFatura()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetDahili operation/method
*/
if ($get->GetDahili(new \StructType\GetDahili()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetTamirHar operation/method
*/
if ($get->GetTamirHar(new \StructType\GetTamirHar()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetHC operation/method
*/
if ($get->GetHC(new \StructType\GetHC()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetPerakende operation/method
*/
if ($get->GetPerakende(new \StructType\GetPerakende()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetCari operation/method
*/
if ($get->GetCari(new \StructType\GetCari()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetSatFis operation/method
*/
if ($get->GetSatFis(new \StructType\GetSatFis()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetMusteriKart operation/method
*/
if ($get->GetMusteriKart(new \StructType\GetMusteriKart()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetCurrencyByDate operation/method
*/
if ($get->GetCurrencyByDate(new \StructType\GetCurrencyByDate()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetWebStkKart operation/method
*/
if ($get->GetWebStkKart(new \StructType\GetWebStkKart()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Samples for Getlastlogs ServiceType
*/
$getlastlogs = new \ServiceType\Getlastlogs($options);
/**
* Sample call for Getlast10logs operation/method
*/
if ($getlastlogs->Getlast10logs(new \StructType\Getlast10logs()) !== false) {
print_r($getlastlogs->getResult());
} else {
print_r($getlastlogs->getLastError());
}
/**
* Samples for Check ServiceType
*/
$check = new \ServiceType\Check($options);
/**
* Sample call for CheckLicense operation/method
*/
if ($check->CheckLicense(new \StructType\CheckLicense()) !== false) {
print_r($check->getResult());
} else {
print_r($check->getLastError());
}
/**
* Samples for Whatismyip ServiceType
*/
$whatismyip = new \ServiceType\Whatismyip($options);
/**
* Sample call for whatismyip operation/method
*/
if ($whatismyip->whatismyip(new \StructType\Whatismyip()) !== false) {
print_r($whatismyip->getResult());
} else {
print_r($whatismyip->getLastError());
}
/**
* Samples for Qeratacom ServiceType
*/
$qeratacom = new \ServiceType\Qeratacom($options);
/**
* Sample call for qeratacomXml operation/method
*/
if ($qeratacom->qeratacomXml(new \StructType\QeratacomXml()) !== false) {
print_r($qeratacom->getResult());
} else {
print_r($qeratacom->getLastError());
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO