<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?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 fist 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 =&gt; 'http://service.mngkargo.com.tr/musterikargosiparis/musterikargosiparis.asmx?wsdl',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE =&gt; true,
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN =&gt; 'you_secret_login',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD =&gt; 'you_secret_password',
 * );
 * etc....
 */
require_once __DIR__ . '/vendor/autoload.php';
/**
 * Minimal options
 */
$options = array(
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL =&gt; 'http://service.mngkargo.com.tr/musterikargosiparis/musterikargosiparis.asmx?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; ClassMap::get(),
);
/**
 * Samples for Baglanti ServiceType
 */
$baglanti = new \ServiceType\Baglanti($options);
/**
 * Sample call for Baglanti_Test operation/method
 */
if ($baglanti-&gt;Baglanti_Test(new \StructType\Baglanti_Test()) !== false) {
    print_r($baglanti-&gt;getResult());
} else {
    print_r($baglanti-&gt;getLastError());
}
/**
 * Samples for Musteri ServiceType
 */
$musteri = new \ServiceType\Musteri($options);
/**
 * Sample call for MusteriSiparisKayit operation/method
 */
if ($musteri-&gt;MusteriSiparisKayit(new \StructType\MusteriSiparisKayit()) !== false) {
    print_r($musteri-&gt;getResult());
} else {
    print_r($musteri-&gt;getLastError());
}
/**
 * Sample call for MusteriSiparisIptal operation/method
 */
if ($musteri-&gt;MusteriSiparisIptal(new \StructType\MusteriSiparisIptal()) !== false) {
    print_r($musteri-&gt;getResult());
} else {
    print_r($musteri-&gt;getLastError());
}
/**
 * Sample call for MusteriBayiBilgileri operation/method
 */
if ($musteri-&gt;MusteriBayiBilgileri(new \StructType\MusteriBayiBilgileri()) !== false) {
    print_r($musteri-&gt;getResult());
} else {
    print_r($musteri-&gt;getLastError());
}
/**
 * Sample call for MusteriBayiIslem operation/method
 */
if ($musteri-&gt;MusteriBayiIslem(new \StructType\MusteriBayiIslem()) !== false) {
    print_r($musteri-&gt;getResult());
} else {
    print_r($musteri-&gt;getLastError());
}
/**
 * Sample call for MusteriOzelRapor operation/method
 */
if ($musteri-&gt;MusteriOzelRapor(new \StructType\MusteriOzelRapor()) !== false) {
    print_r($musteri-&gt;getResult());
} else {
    print_r($musteri-&gt;getLastError());
}
/**
 * Sample call for MusteriTeslimatIptalIstegi operation/method
 */
if ($musteri-&gt;MusteriTeslimatIptalIstegi(new \StructType\MusteriTeslimatIptalIstegi()) !== false) {
    print_r($musteri-&gt;getResult());
} else {
    print_r($musteri-&gt;getLastError());
}
/**
 * Samples for Siparis ServiceType
 */
$siparis = new \ServiceType\Siparis($options);
/**
 * Sample call for SiparisGirisiDetayli operation/method
 */
if ($siparis-&gt;SiparisGirisiDetayli(new \StructType\SiparisGirisiDetayli()) !== false) {
    print_r($siparis-&gt;getResult());
} else {
    print_r($siparis-&gt;getLastError());
}
/**
 * Sample call for SiparisGirisiDetayliV2 operation/method
 */
if ($siparis-&gt;SiparisGirisiDetayliV2(new \StructType\SiparisGirisiDetayliV2()) !== false) {
    print_r($siparis-&gt;getResult());
} else {
    print_r($siparis-&gt;getLastError());
}
/**
 * Sample call for SiparisGirisiDetayliV3 operation/method
 */
if ($siparis-&gt;SiparisGirisiDetayliV3(new \StructType\SiparisGirisiDetayliV3()) !== false) {
    print_r($siparis-&gt;getResult());
} else {
    print_r($siparis-&gt;getLastError());
}
/**
 * Sample call for SiparisGirisiDetayliV4 operation/method
 */
if ($siparis-&gt;SiparisGirisiDetayliV4(new \StructType\SiparisGirisiDetayliV4()) !== false) {
    print_r($siparis-&gt;getResult());
} else {
    print_r($siparis-&gt;getLastError());
}
/**
 * Sample call for SiparisAliciKayit operation/method
 */
if ($siparis-&gt;SiparisAliciKayit(new \StructType\SiparisAliciKayit()) !== false) {
    print_r($siparis-&gt;getResult());
} else {
    print_r($siparis-&gt;getLastError());
}
/**
 * Sample call for SiparisUpdateParcastring operation/method
 */
if ($siparis-&gt;SiparisUpdateParcastring(new \StructType\SiparisUpdateParcastring()) !== false) {
    print_r($siparis-&gt;getResult());
} else {
    print_r($siparis-&gt;getLastError());
}
/**
 * Sample call for SiparisUpdateParcastringV2 operation/method
 */
if ($siparis-&gt;SiparisUpdateParcastringV2(new \StructType\SiparisUpdateParcastringV2()) !== false) {
    print_r($siparis-&gt;getResult());
} else {
    print_r($siparis-&gt;getLastError());
}
/**
 * Samples for Fatura ServiceType
 */
$fatura = new \ServiceType\Fatura($options);
/**
 * Sample call for FaturaSiparisListesi operation/method
 */
if ($fatura-&gt;FaturaSiparisListesi(new \StructType\FaturaSiparisListesi()) !== false) {
    print_r($fatura-&gt;getResult());
} else {
    print_r($fatura-&gt;getLastError());
}
/**
 * Sample call for FaturaSiparisListesiByTarih operation/method
 */
if ($fatura-&gt;FaturaSiparisListesiByTarih(new \StructType\FaturaSiparisListesiByTarih()) !== false) {
    print_r($fatura-&gt;getResult());
} else {
    print_r($fatura-&gt;getLastError());
}
/**
 * Samples for Wms ServiceType
 */
$wms = new \ServiceType\Wms($options);
/**
 * Sample call for WmsIadeGirisi operation/method
 */
if ($wms-&gt;WmsIadeGirisi(new \StructType\WmsIadeGirisi()) !== false) {
    print_r($wms-&gt;getResult());
} else {
    print_r($wms-&gt;getLastError());
}
/**
 * Samples for Bayi ServiceType
 */
$bayi = new \ServiceType\Bayi($options);
/**
 * Sample call for BayiAdresiGecersiz operation/method
 */
if ($bayi-&gt;BayiAdresiGecersiz(new \StructType\BayiAdresiGecersiz()) !== false) {
    print_r($bayi-&gt;getResult());
} else {
    print_r($bayi-&gt;getLastError());
}
/**
 * Sample call for BayiIhbarGirisi operation/method
 */
if ($bayi-&gt;BayiIhbarGirisi(new \StructType\BayiIhbarGirisi()) !== false) {
    print_r($bayi-&gt;getResult());
} else {
    print_r($bayi-&gt;getLastError());
}
/**
 * Samples for Kargo ServiceType
 */
$kargo = new \ServiceType\Kargo($options);
/**
 * Sample call for KargoBilgileriByTarih operation/method
 */
if ($kargo-&gt;KargoBilgileriByTarih(new \StructType\KargoBilgileriByTarih()) !== false) {
    print_r($kargo-&gt;getResult());
} else {
    print_r($kargo-&gt;getLastError());
}
/**
 * Sample call for KargoBilgileriByReferans operation/method
 */
if ($kargo-&gt;KargoBilgileriByReferans(new \StructType\KargoBilgileriByReferans()) !== false) {
    print_r($kargo-&gt;getResult());
} else {
    print_r($kargo-&gt;getLastError());
}
/**
 * Sample call for KargoTakipByReferans operation/method
 */
if ($kargo-&gt;KargoTakipByReferans(new \StructType\KargoTakipByReferans()) !== false) {
    print_r($kargo-&gt;getResult());
} else {
    print_r($kargo-&gt;getLastError());
}
/**
 * Samples for Gonderi ServiceType
 */
$gonderi = new \ServiceType\Gonderi($options);
/**
 * Sample call for GonderiTeslimatProblemleri operation/method
 */
if ($gonderi-&gt;GonderiTeslimatProblemleri(new \StructType\GonderiTeslimatProblemleri()) !== false) {
    print_r($gonderi-&gt;getResult());
} else {
    print_r($gonderi-&gt;getLastError());
}
/**
 * Sample call for GonderiTeslimatProblemiIadeYaniti operation/method
 */
if ($gonderi-&gt;GonderiTeslimatProblemiIadeYaniti(new \StructType\GonderiTeslimatProblemiIadeYaniti()) !== false) {
    print_r($gonderi-&gt;getResult());
} else {
    print_r($gonderi-&gt;getLastError());
}
/**
 * Samples for MNGG ServiceType
 */
$mNGG = new \ServiceType\MNGG($options);
/**
 * Sample call for MNGGonderiBarkod operation/method
 */
if ($mNGG-&gt;MNGGonderiBarkod(new \StructType\MNGGonderiBarkod()) !== false) {
    print_r($mNGG-&gt;getResult());
} else {
    print_r($mNGG-&gt;getLastError());
}
/**
 * Samples for Tek ServiceType
 */
$tek = new \ServiceType\Tek($options);
/**
 * Sample call for TekBarkodGonderiIptali operation/method
 */
if ($tek-&gt;TekBarkodGonderiIptali(new \StructType\TekBarkodGonderiIptali()) !== false) {
    print_r($tek-&gt;getResult());
} else {
    print_r($tek-&gt;getLastError());
}
</pre></body></html>