/**
* 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://www.ilkimay.com/Servis/UrunServis.Svc?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://www.ilkimay.com/Servis/UrunServis.Svc?wsdl',
\WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => ClassMap::get(),
);
/**
* Samples for Select ServiceType
*/
$select = new \ServiceType\Select($options);
/**
* Sample call for SelectKategori operation/method
*/
if ($select->SelectKategori(new \StructType\SelectKategori()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectMarka operation/method
*/
if ($select->SelectMarka(new \StructType\SelectMarka()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectTedarikci operation/method
*/
if ($select->SelectTedarikci(new \StructType\SelectTedarikci()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectEtiket operation/method
*/
if ($select->SelectEtiket(new \StructType\SelectEtiket()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectParaBirimi operation/method
*/
if ($select->SelectParaBirimi(new \StructType\SelectParaBirimi()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectTeknikDetayGrup operation/method
*/
if ($select->SelectTeknikDetayGrup(new \StructType\SelectTeknikDetayGrup()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectTeknikDetayOzellik operation/method
*/
if ($select->SelectTeknikDetayOzellik(new \StructType\SelectTeknikDetayOzellik()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectTeknikDetayDeger operation/method
*/
if ($select->SelectTeknikDetayDeger(new \StructType\SelectTeknikDetayDeger()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectAsortiGrup operation/method
*/
if ($select->SelectAsortiGrup(new \StructType\SelectAsortiGrup()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectAsortiMiktar operation/method
*/
if ($select->SelectAsortiMiktar(new \StructType\SelectAsortiMiktar()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectEkSecenekGrup operation/method
*/
if ($select->SelectEkSecenekGrup(new \StructType\SelectEkSecenekGrup()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectEkSecenekDeger operation/method
*/
if ($select->SelectEkSecenekDeger(new \StructType\SelectEkSecenekDeger()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrun operation/method
*/
if ($select->SelectUrun(new \StructType\SelectUrun()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrunCount operation/method
*/
if ($select->SelectUrunCount(new \StructType\SelectUrunCount()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectVaryasyon operation/method
*/
if ($select->SelectVaryasyon(new \StructType\SelectVaryasyon()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectVaryasyonCount operation/method
*/
if ($select->SelectVaryasyonCount(new \StructType\SelectVaryasyonCount()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectMagazaStok operation/method
*/
if ($select->SelectMagazaStok(new \StructType\SelectMagazaStok()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrunOdemeSecenek operation/method
*/
if ($select->SelectUrunOdemeSecenek(new \StructType\SelectUrunOdemeSecenek()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrunYorum operation/method
*/
if ($select->SelectUrunYorum(new \StructType\SelectUrunYorum()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrunKategori operation/method
*/
if ($select->SelectUrunKategori(new \StructType\SelectUrunKategori()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrunEtiket operation/method
*/
if ($select->SelectUrunEtiket(new \StructType\SelectUrunEtiket()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectIlgiliUrun operation/method
*/
if ($select->SelectIlgiliUrun(new \StructType\SelectIlgiliUrun()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrunResim operation/method
*/
if ($select->SelectUrunResim(new \StructType\SelectUrunResim()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectKombinUrun operation/method
*/
if ($select->SelectKombinUrun(new \StructType\SelectKombinUrun()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectTamamlayiciUrun operation/method
*/
if ($select->SelectTamamlayiciUrun(new \StructType\SelectTamamlayiciUrun()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectTakimUrun operation/method
*/
if ($select->SelectTakimUrun(new \StructType\SelectTakimUrun()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectUrunDetayTab operation/method
*/
if ($select->SelectUrunDetayTab(new \StructType\SelectUrunDetayTab()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectAksesuarGrup operation/method
*/
if ($select->SelectAksesuarGrup(new \StructType\SelectAksesuarGrup()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectAksesuarUrun operation/method
*/
if ($select->SelectAksesuarUrun(new \StructType\SelectAksesuarUrun()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Sample call for SelectKonsinyeUrun operation/method
*/
if ($select->SelectKonsinyeUrun(new \StructType\SelectKonsinyeUrun()) !== false) {
print_r($select->getResult());
} else {
print_r($select->getLastError());
}
/**
* Samples for Save ServiceType
*/
$save = new \ServiceType\Save($options);
/**
* Sample call for SaveKategori operation/method
*/
if ($save->SaveKategori(new \StructType\SaveKategori()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveKategoriParent operation/method
*/
if ($save->SaveKategoriParent(new \StructType\SaveKategoriParent()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveMarka operation/method
*/
if ($save->SaveMarka(new \StructType\SaveMarka()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveTedarikci operation/method
*/
if ($save->SaveTedarikci(new \StructType\SaveTedarikci()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveEtiket operation/method
*/
if ($save->SaveEtiket(new \StructType\SaveEtiket()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveParaBirimi operation/method
*/
if ($save->SaveParaBirimi(new \StructType\SaveParaBirimi()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveTeknikDetayGrup operation/method
*/
if ($save->SaveTeknikDetayGrup(new \StructType\SaveTeknikDetayGrup()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveTeknikDetayOzellik operation/method
*/
if ($save->SaveTeknikDetayOzellik(new \StructType\SaveTeknikDetayOzellik()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveTeknikDetayDeger operation/method
*/
if ($save->SaveTeknikDetayDeger(new \StructType\SaveTeknikDetayDeger()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveAsortiGrup operation/method
*/
if ($save->SaveAsortiGrup(new \StructType\SaveAsortiGrup()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveAsortiMiktar operation/method
*/
if ($save->SaveAsortiMiktar(new \StructType\SaveAsortiMiktar()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveUrun operation/method
*/
if ($save->SaveUrun(new \StructType\SaveUrun()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveVaryasyon operation/method
*/
if ($save->SaveVaryasyon(new \StructType\SaveVaryasyon()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveResim operation/method
*/
if ($save->SaveResim(new \StructType\SaveResim()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveMagazaStok operation/method
*/
if ($save->SaveMagazaStok(new \StructType\SaveMagazaStok()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveUrunKategori operation/method
*/
if ($save->SaveUrunKategori(new \StructType\SaveUrunKategori()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveUrunEtiket operation/method
*/
if ($save->SaveUrunEtiket(new \StructType\SaveUrunEtiket()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveIlgiliUrun operation/method
*/
if ($save->SaveIlgiliUrun(new \StructType\SaveIlgiliUrun()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveKombinUrun operation/method
*/
if ($save->SaveKombinUrun(new \StructType\SaveKombinUrun()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveTamamlayiciUrun operation/method
*/
if ($save->SaveTamamlayiciUrun(new \StructType\SaveTamamlayiciUrun()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveTakimUrun operation/method
*/
if ($save->SaveTakimUrun(new \StructType\SaveTakimUrun()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveUrunDetayTab operation/method
*/
if ($save->SaveUrunDetayTab(new \StructType\SaveUrunDetayTab()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveAksesuarGrup operation/method
*/
if ($save->SaveAksesuarGrup(new \StructType\SaveAksesuarGrup()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveAksesuarUrun operation/method
*/
if ($save->SaveAksesuarUrun(new \StructType\SaveAksesuarUrun()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Sample call for SaveKonsinyeUrun operation/method
*/
if ($save->SaveKonsinyeUrun(new \StructType\SaveKonsinyeUrun()) !== false) {
print_r($save->getResult());
} else {
print_r($save->getLastError());
}
/**
* Samples for Delete ServiceType
*/
$delete = new \ServiceType\Delete($options);
/**
* Sample call for DeleteKategori operation/method
*/
if ($delete->DeleteKategori(new \StructType\DeleteKategori()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteMarka operation/method
*/
if ($delete->DeleteMarka(new \StructType\DeleteMarka()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteTedarikci operation/method
*/
if ($delete->DeleteTedarikci(new \StructType\DeleteTedarikci()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteUrunKategori operation/method
*/
if ($delete->DeleteUrunKategori(new \StructType\DeleteUrunKategori()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteUrunEtiket operation/method
*/
if ($delete->DeleteUrunEtiket(new \StructType\DeleteUrunEtiket()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteIlgiliUrun operation/method
*/
if ($delete->DeleteIlgiliUrun(new \StructType\DeleteIlgiliUrun()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteKombinUrun operation/method
*/
if ($delete->DeleteKombinUrun(new \StructType\DeleteKombinUrun()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteTamamlayiciUrun operation/method
*/
if ($delete->DeleteTamamlayiciUrun(new \StructType\DeleteTamamlayiciUrun()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteTakimUrun operation/method
*/
if ($delete->DeleteTakimUrun(new \StructType\DeleteTakimUrun()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteUrunDetayTab operation/method
*/
if ($delete->DeleteUrunDetayTab(new \StructType\DeleteUrunDetayTab()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Sample call for DeleteKonsinyeUrun operation/method
*/
if ($delete->DeleteKonsinyeUrun(new \StructType\DeleteKonsinyeUrun()) !== false) {
print_r($delete->getResult());
} else {
print_r($delete->getLastError());
}
/**
* Samples for Update ServiceType
*/
$update = new \ServiceType\Update($options);
/**
* Sample call for UpdateKategoriDil operation/method
*/
if ($update->UpdateKategoriDil(new \StructType\UpdateKategoriDil()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateTeknikDetayGrupDil operation/method
*/
if ($update->UpdateTeknikDetayGrupDil(new \StructType\UpdateTeknikDetayGrupDil()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateTeknikDetayOzellikDil operation/method
*/
if ($update->UpdateTeknikDetayOzellikDil(new \StructType\UpdateTeknikDetayOzellikDil()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateTeknikDetayDegerDil operation/method
*/
if ($update->UpdateTeknikDetayDegerDil(new \StructType\UpdateTeknikDetayDegerDil()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateEkSecenekGrupDil operation/method
*/
if ($update->UpdateEkSecenekGrupDil(new \StructType\UpdateEkSecenekGrupDil()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateEkSecenekDegerDil operation/method
*/
if ($update->UpdateEkSecenekDegerDil(new \StructType\UpdateEkSecenekDegerDil()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateUrunDil operation/method
*/
if ($update->UpdateUrunDil(new \StructType\UpdateUrunDil()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateUrl operation/method
*/
if ($update->UpdateUrl(new \StructType\UpdateUrl()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateUrunDetayTab operation/method
*/
if ($update->UpdateUrunDetayTab(new \StructType\UpdateUrunDetayTab()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateKonsinyeUrun operation/method
*/
if ($update->UpdateKonsinyeUrun(new \StructType\UpdateKonsinyeUrun()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Sample call for UpdateAnaUrun operation/method
*/
if ($update->UpdateAnaUrun(new \StructType\UpdateAnaUrun()) !== false) {
print_r($update->getResult());
} else {
print_r($update->getLastError());
}
/**
* Samples for Stok ServiceType
*/
$stok = new \ServiceType\Stok($options);
/**
* Sample call for StokAdediGuncelle operation/method
*/
if ($stok->StokAdediGuncelle(new \StructType\StokAdediGuncelle()) !== false) {
print_r($stok->getResult());
} else {
print_r($stok->getLastError());
}
/**
* Samples for Varyasyon ServiceType
*/
$varyasyon = new \ServiceType\Varyasyon($options);
/**
* Sample call for VaryasyonGuncelle operation/method
*/
if ($varyasyon->VaryasyonGuncelle(new \StructType\VaryasyonGuncelle()) !== false) {
print_r($varyasyon->getResult());
} else {
print_r($varyasyon->getLastError());
}
/**
* Samples for Optimize ServiceType
*/
$optimize = new \ServiceType\Optimize($options);
/**
* Sample call for OptimizeUrun operation/method
*/
if ($optimize->OptimizeUrun(new \StructType\OptimizeUrun()) !== false) {
print_r($optimize->getResult());
} else {
print_r($optimize->getLastError());
}
/**
* Samples for Urun ServiceType
*/
$urun = new \ServiceType\Urun($options);
/**
* Sample call for UrunResimYukle operation/method
*/
if ($urun->UrunResimYukle(new \StructType\UrunResimYukle()) !== false) {
print_r($urun->getResult());
} else {
print_r($urun->getLastError());
}
/**
* Sample call for UrunBarkodGuncelle operation/method
*/
if ($urun->UrunBarkodGuncelle(new \StructType\UrunBarkodGuncelle()) !== false) {
print_r($urun->getResult());
} else {
print_r($urun->getLastError());
}
/**
* Sample call for UrunTakimKaydet operation/method
*/
if ($urun->UrunTakimKaydet(new \StructType\UrunTakimKaydet()) !== false) {
print_r($urun->getResult());
} else {
print_r($urun->getLastError());
}
/**
* Sample call for UrunKategoriGuncelleByStokKodu operation/method
*/
if ($urun->UrunKategoriGuncelleByStokKodu(new \StructType\UrunKategoriGuncelleByStokKodu()) !== false) {
print_r($urun->getResult());
} else {
print_r($urun->getLastError());
}
/**
* Sample call for Urun360ResimYukle operation/method
*/
if ($urun->Urun360ResimYukle(new \StructType\Urun360ResimYukle()) !== false) {
print_r($urun->getResult());
} else {
print_r($urun->getLastError());
}
/**
* Sample call for UrunKartiGuncelle operation/method
*/
if ($urun->UrunKartiGuncelle(new \StructType\UrunKartiGuncelle()) !== false) {
print_r($urun->getResult());
} else {
print_r($urun->getLastError());
}
/**
* Samples for Get ServiceType
*/
$get = new \ServiceType\Get($options);
/**
* Sample call for GetTaksitSecenekleri operation/method
*/
if ($get->GetTaksitSecenekleri(new \StructType\GetTaksitSecenekleri()) !== false) {
print_r($get->getResult());
} else {
print_r($get->getLastError());
}
/**
* Sample call for GetProductStatus operation/method
*/
if ($get->GetProductStatus(new \StructType\GetProductStatus()) !== false) {
print_r($get->getResult());
} else {
print_r($get->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