<?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 => 'http://eontoploservice.azo.hr/eOntoService.svc?singleWsdl',
 * \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://eontoploservice.azo.hr/eOntoService.svc?singleWsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => ClassMap::get(),
);
/**
 * Samples for Get ServiceType
 */
$get = new \ServiceType\Get($options);
/**
 * Sample call for GetNaseljaCount operation/method
 */
if ($get->GetNaseljaCount(new \StructType\GetNaseljaCount()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNaselja operation/method
 */
if ($get->GetNaselja(new \StructType\GetNaselja()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetFizikalnaSvojstvaOtpada operation/method
 */
if ($get->GetFizikalnaSvojstvaOtpada(new \StructType\GetFizikalnaSvojstvaOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetHOznake operation/method
 */
if ($get->GetHOznake(new \StructType\GetHOznake()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetKljucniBrojeviOtpadaCount operation/method
 */
if ($get->GetKljucniBrojeviOtpadaCount(new \StructType\GetKljucniBrojeviOtpadaCount()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetKljucniBrojeviOtpada operation/method
 */
if ($get->GetKljucniBrojeviOtpada(new \StructType\GetKljucniBrojeviOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNaciniPakiranjaOtpada operation/method
 */
if ($get->GetNaciniPakiranjaOtpada(new \StructType\GetNaciniPakiranjaOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNaciniPrijevoza operation/method
 */
if ($get->GetNaciniPrijevoza(new \StructType\GetNaciniPrijevoza()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNamjenePosiljke operation/method
 */
if ($get->GetNamjenePosiljke(new \StructType\GetNamjenePosiljke()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOpcineGradoviCount operation/method
 */
if ($get->GetOpcineGradoviCount(new \StructType\GetOpcineGradoviCount()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOpcineGradovi operation/method
 */
if ($get->GetOpcineGradovi(new \StructType\GetOpcineGradovi()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNkdCount operation/method
 */
if ($get->GetNkdCount(new \StructType\GetNkdCount()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNkd operation/method
 */
if ($get->GetNkd(new \StructType\GetNkd()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOpasnostiOtpada operation/method
 */
if ($get->GetOpasnostiOtpada(new \StructType\GetOpasnostiOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOznakePosebneKategorijeZaKljucniBroj operation/method
 */
if ($get->GetOznakePosebneKategorijeZaKljucniBroj(new \StructType\GetOznakePosebneKategorijeZaKljucniBroj()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetStatusiPratecegLista operation/method
 */
if ($get->GetStatusiPratecegLista(new \StructType\GetStatusiPratecegLista()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTipoviOtpada operation/method
 */
if ($get->GetTipoviOtpada(new \StructType\GetTipoviOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNaciniOdredivanjaMase operation/method
 */
if ($get->GetNaciniOdredivanjaMase(new \StructType\GetNaciniOdredivanjaMase()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetZupanije operation/method
 */
if ($get->GetZupanije(new \StructType\GetZupanije()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetLokacija operation/method
 */
if ($get->GetLokacija(new \StructType\GetLokacija()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetRDPostupci operation/method
 */
if ($get->GetRDPostupci(new \StructType\GetRDPostupci()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDrzave operation/method
 */
if ($get->GetDrzave(new \StructType\GetDrzave()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetKategorijeDokumenta operation/method
 */
if ($get->GetKategorijeDokumenta(new \StructType\GetKategorijeDokumenta()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOntoStatusi operation/method
 */
if ($get->GetOntoStatusi(new \StructType\GetOntoStatusi()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOntoTipovi operation/method
 */
if ($get->GetOntoTipovi(new \StructType\GetOntoTipovi()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOznakePosiljke operation/method
 */
if ($get->GetOznakePosiljke(new \StructType\GetOznakePosiljke()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOznakeNacina operation/method
 */
if ($get->GetOznakeNacina(new \StructType\GetOznakeNacina()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVrsteOntoObveznika operation/method
 */
if ($get->GetVrsteOntoObveznika(new \StructType\GetVrsteOntoObveznika()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetUlogeObveznikaNaPLO operation/method
 */
if ($get->GetUlogeObveznikaNaPLO(new \StructType\GetUlogeObveznikaNaPLO()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVrsteEntitetaZaPrijenosDokumenta operation/method
 */
if ($get->GetVrsteEntitetaZaPrijenosDokumenta(new \StructType\GetVrsteEntitetaZaPrijenosDokumenta()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVrsteZakljucenjaPLO operation/method
 */
if ($get->GetVrsteZakljucenjaPLO(new \StructType\GetVrsteZakljucenjaPLO()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetStatusiZakljucenjaPLO operation/method
 */
if ($get->GetStatusiZakljucenjaPLO(new \StructType\GetStatusiZakljucenjaPLO()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetLokacijeZaPravnuOsobu operation/method
 */
if ($get->GetLokacijeZaPravnuOsobu(new \StructType\GetLokacijeZaPravnuOsobu()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVrsteDjelatnosti operation/method
 */
if ($get->GetVrsteDjelatnosti(new \StructType\GetVrsteDjelatnosti()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVrsteDjelatnostiZaTijekOtpada operation/method
 */
if ($get->GetVrsteDjelatnostiZaTijekOtpada(new \StructType\GetVrsteDjelatnostiZaTijekOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVrsteDjelatnostiZaTijekOtpadaP operation/method
 */
if ($get->GetVrsteDjelatnostiZaTijekOtpadaP(new \StructType\GetVrsteDjelatnostiZaTijekOtpadaP()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetVrsteDjelatnostiZaPLO operation/method
 */
if ($get->GetVrsteDjelatnostiZaPLO(new \StructType\GetVrsteDjelatnostiZaPLO()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetMRDOznakeZaPravnuOsobu operation/method
 */
if ($get->GetMRDOznakeZaPravnuOsobu(new \StructType\GetMRDOznakeZaPravnuOsobu()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDozvoljeniRDPostupci operation/method
 */
if ($get->GetDozvoljeniRDPostupci(new \StructType\GetDozvoljeniRDPostupci()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPrateciList operation/method
 */
if ($get->GetPrateciList(new \StructType\GetPrateciList()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPrateciListCollection operation/method
 */
if ($get->GetPrateciListCollection(new \StructType\GetPrateciListCollection()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTijekOtpada operation/method
 */
if ($get->GetTijekOtpada(new \StructType\GetTijekOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTijekOtpadaP operation/method
 */
if ($get->GetTijekOtpadaP(new \StructType\GetTijekOtpadaP()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOnto operation/method
 */
if ($get->GetOnto(new \StructType\GetOnto()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDigitalniDokument operation/method
 */
if ($get->GetDigitalniDokument(new \StructType\GetDigitalniDokument()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPopisDokumenataZaEntitet operation/method
 */
if ($get->GetPopisDokumenataZaEntitet(new \StructType\GetPopisDokumenataZaEntitet()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPorukeZaKorisnika operation/method
 */
if ($get->GetPorukeZaKorisnika(new \StructType\GetPorukeZaKorisnika()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetBrojPoruka operation/method
 */
if ($get->GetBrojPoruka(new \StructType\GetBrojPoruka()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPoruka operation/method
 */
if ($get->GetPoruka(new \StructType\GetPoruka()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Samples for Dohvati ServiceType
 */
$dohvati = new \ServiceType\Dohvati($options);
/**
 * Sample call for DohvatiPravnuOsobu operation/method
 */
if ($dohvati->DohvatiPravnuOsobu(new \StructType\DohvatiPravnuOsobu()) !== false) {
    print_r($dohvati->getResult());
} else {
    print_r($dohvati->getLastError());
}
/**
 * Samples for SUMPS ServiceType
 */
$sUMPS = new \ServiceType\SUMPS($options);
/**
 * Sample call for SUMPSadrziOIB operation/method
 */
if ($sUMPS->SUMPSadrziOIB(new \StructType\SUMPSadrziOIB()) !== false) {
    print_r($sUMPS->getResult());
} else {
    print_r($sUMPS->getLastError());
}
/**
 * Sample call for SUMPSadrziMB operation/method
 */
if ($sUMPS->SUMPSadrziMB(new \StructType\SUMPSadrziMB()) !== false) {
    print_r($sUMPS->getResult());
} else {
    print_r($sUMPS->getLastError());
}
/**
 * Samples for Insert ServiceType
 */
$insert = new \ServiceType\Insert($options);
/**
 * Sample call for InsertPLO operation/method
 */
if ($insert->InsertPLO(new \StructType\InsertPLO()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOPredavateljNemaOnto operation/method
 */
if ($insert->InsertPLOPredavateljNemaOnto(new \StructType\InsertPLOPredavateljNemaOnto()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOPreuzimateljNemaOnto operation/method
 */
if ($insert->InsertPLOPreuzimateljNemaOnto(new \StructType\InsertPLOPreuzimateljNemaOnto()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOMUTMM operation/method
 */
if ($insert->InsertPLOMUTMM(new \StructType\InsertPLOMUTMM()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOMTMM operation/method
 */
if ($insert->InsertPLOMTMM(new \StructType\InsertPLOMTMM()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOMSMM operation/method
 */
if ($insert->InsertPLOMSMM(new \StructType\InsertPLOMSMM()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertTijekOtpada operation/method
 */
if ($insert->InsertTijekOtpada(new \StructType\InsertTijekOtpada()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertTijekOtpadaP operation/method
 */
if ($insert->InsertTijekOtpadaP(new \StructType\InsertTijekOtpadaP()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Samples for Set ServiceType
 */
$set = new \ServiceType\Set($options);
/**
 * Sample call for SetCustomIDPredavatelja operation/method
 */
if ($set->SetCustomIDPredavatelja(new \StructType\SetCustomIDPredavatelja()) !== false) {
    print_r($set->getResult());
} else {
    print_r($set->getLastError());
}
/**
 * Sample call for SetCustomIDPrijevoznika operation/method
 */
if ($set->SetCustomIDPrijevoznika(new \StructType\SetCustomIDPrijevoznika()) !== false) {
    print_r($set->getResult());
} else {
    print_r($set->getLastError());
}
/**
 * Sample call for SetCustomIDPreuzimatelja operation/method
 */
if ($set->SetCustomIDPreuzimatelja(new \StructType\SetCustomIDPreuzimatelja()) !== false) {
    print_r($set->getResult());
} else {
    print_r($set->getLastError());
}
/**
 * Samples for Azuriraj ServiceType
 */
$azuriraj = new \ServiceType\Azuriraj($options);
/**
 * Sample call for AzurirajPLO operation/method
 */
if ($azuriraj->AzurirajPLO(new \StructType\AzurirajPLO()) !== false) {
    print_r($azuriraj->getResult());
} else {
    print_r($azuriraj->getLastError());
}
/**
 * Sample call for AzurirajTijekOtpada operation/method
 */
if ($azuriraj->AzurirajTijekOtpada(new \StructType\AzurirajTijekOtpada()) !== false) {
    print_r($azuriraj->getResult());
} else {
    print_r($azuriraj->getLastError());
}
/**
 * Sample call for AzurirajTijekOtpadaP operation/method
 */
if ($azuriraj->AzurirajTijekOtpadaP(new \StructType\AzurirajTijekOtpadaP()) !== false) {
    print_r($azuriraj->getResult());
} else {
    print_r($azuriraj->getLastError());
}
/**
 * Sample call for AzurirajOnto operation/method
 */
if ($azuriraj->AzurirajOnto(new \StructType\AzurirajOnto()) !== false) {
    print_r($azuriraj->getResult());
} else {
    print_r($azuriraj->getLastError());
}
/**
 * Samples for Pretrazi ServiceType
 */
$pretrazi = new \ServiceType\Pretrazi($options);
/**
 * Sample call for PretraziPLOCount operation/method
 */
if ($pretrazi->PretraziPLOCount(new \StructType\PretraziPLOCount()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziPLO operation/method
 */
if ($pretrazi->PretraziPLO(new \StructType\PretraziPLO()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziTijekOtpadaCount operation/method
 */
if ($pretrazi->PretraziTijekOtpadaCount(new \StructType\PretraziTijekOtpadaCount()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziTijekOtpada operation/method
 */
if ($pretrazi->PretraziTijekOtpada(new \StructType\PretraziTijekOtpada()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziTijekOtpadaPCount operation/method
 */
if ($pretrazi->PretraziTijekOtpadaPCount(new \StructType\PretraziTijekOtpadaPCount()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziTijekOtpadaP operation/method
 */
if ($pretrazi->PretraziTijekOtpadaP(new \StructType\PretraziTijekOtpadaP()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziOntoCount operation/method
 */
if ($pretrazi->PretraziOntoCount(new \StructType\PretraziOntoCount()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziOnto operation/method
 */
if ($pretrazi->PretraziOnto(new \StructType\PretraziOnto()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Samples for Zakljuci ServiceType
 */
$zakljuci = new \ServiceType\Zakljuci($options);
/**
 * Sample call for ZakljuciPLO operation/method
 */
if ($zakljuci->ZakljuciPLO(new \StructType\ZakljuciPLO()) !== false) {
    print_r($zakljuci->getResult());
} else {
    print_r($zakljuci->getLastError());
}
/**
 * Samples for Povrat ServiceType
 */
$povrat = new \ServiceType\Povrat($options);
/**
 * Sample call for PovratOtpadaPLO operation/method
 */
if ($povrat->PovratOtpadaPLO(new \StructType\PovratOtpadaPLO()) !== false) {
    print_r($povrat->getResult());
} else {
    print_r($povrat->getLastError());
}
/**
 * Samples for Neisporuciv ServiceType
 */
$neisporuciv = new \ServiceType\Neisporuciv($options);
/**
 * Sample call for NeisporucivOtpadPLO operation/method
 */
if ($neisporuciv->NeisporucivOtpadPLO(new \StructType\NeisporucivOtpadPLO()) !== false) {
    print_r($neisporuciv->getResult());
} else {
    print_r($neisporuciv->getLastError());
}
/**
 * Samples for Storniraj ServiceType
 */
$storniraj = new \ServiceType\Storniraj($options);
/**
 * Sample call for StornirajPLO operation/method
 */
if ($storniraj->StornirajPLO(new \StructType\StornirajPLO()) !== false) {
    print_r($storniraj->getResult());
} else {
    print_r($storniraj->getLastError());
}
/**
 * Sample call for StornirajTijekOtpada operation/method
 */
if ($storniraj->StornirajTijekOtpada(new \StructType\StornirajTijekOtpada()) !== false) {
    print_r($storniraj->getResult());
} else {
    print_r($storniraj->getLastError());
}
/**
 * Sample call for StornirajTijekOtpadaP operation/method
 */
if ($storniraj->StornirajTijekOtpadaP(new \StructType\StornirajTijekOtpadaP()) !== false) {
    print_r($storniraj->getResult());
} else {
    print_r($storniraj->getLastError());
}
/**
 * Samples for Salji ServiceType
 */
$salji = new \ServiceType\Salji($options);
/**
 * Sample call for SaljiUProvjeruPLO operation/method
 */
if ($salji->SaljiUProvjeruPLO(new \StructType\SaljiUProvjeruPLO()) !== false) {
    print_r($salji->getResult());
} else {
    print_r($salji->getLastError());
}
/**
 * Samples for Vrati ServiceType
 */
$vrati = new \ServiceType\Vrati($options);
/**
 * Sample call for VratiIzProvjerePLO operation/method
 */
if ($vrati->VratiIzProvjerePLO(new \StructType\VratiIzProvjerePLO()) !== false) {
    print_r($vrati->getResult());
} else {
    print_r($vrati->getLastError());
}
/**
 * Samples for Zatvori ServiceType
 */
$zatvori = new \ServiceType\Zatvori($options);
/**
 * Sample call for ZatvoriOnto operation/method
 */
if ($zatvori->ZatvoriOnto(new \StructType\ZatvoriOnto()) !== false) {
    print_r($zatvori->getResult());
} else {
    print_r($zatvori->getLastError());
}
/**
 * Sample call for ZatvoriOntoP operation/method
 */
if ($zatvori->ZatvoriOntoP(new \StructType\ZatvoriOntoP()) !== false) {
    print_r($zatvori->getResult());
} else {
    print_r($zatvori->getLastError());
}
/**
 * Samples for Kreiraj ServiceType
 */
$kreiraj = new \ServiceType\Kreiraj($options);
/**
 * Sample call for KreirajOnto operation/method
 */
if ($kreiraj->KreirajOnto(new \StructType\KreirajOnto()) !== false) {
    print_r($kreiraj->getResult());
} else {
    print_r($kreiraj->getLastError());
}
/**
 * Sample call for KreirajOntoP operation/method
 */
if ($kreiraj->KreirajOntoP(new \StructType\KreirajOntoP()) !== false) {
    print_r($kreiraj->getResult());
} else {
    print_r($kreiraj->getLastError());
}
/**
 * Samples for Prenesi ServiceType
 */
$prenesi = new \ServiceType\Prenesi($options);
/**
 * Sample call for PrenesiDokument operation/method
 */
if ($prenesi->PrenesiDokument(new \StructType\PrenesiDokument()) !== false) {
    print_r($prenesi->getResult());
} else {
    print_r($prenesi->getLastError());
}
