<?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 => '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_v2 operation/method
 */
if ($get->GetLokacija_v2(new \StructType\GetLokacija_v2()) !== 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_v2 operation/method
 */
if ($get->GetPrateciList_v2(new \StructType\GetPrateciList_v2()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPrateciListCollection_v2 operation/method
 */
if ($get->GetPrateciListCollection_v2(new \StructType\GetPrateciListCollection_v2()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTijekOtpada_v2 operation/method
 */
if ($get->GetTijekOtpada_v2(new \StructType\GetTijekOtpada_v2()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTijekOtpadaCollection operation/method
 */
if ($get->GetTijekOtpadaCollection(new \StructType\GetTijekOtpadaCollection()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTijekOtpadaP_v2 operation/method
 */
if ($get->GetTijekOtpadaP_v2(new \StructType\GetTijekOtpadaP_v2()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTijekOtpadaPCollection operation/method
 */
if ($get->GetTijekOtpadaPCollection(new \StructType\GetTijekOtpadaPCollection()) !== 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());
}
/**
 * Sample call for GetLokacijaDetalji operation/method
 */
if ($get->GetLokacijaDetalji(new \StructType\GetLokacijaDetalji()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetLokacijaDetaljiCollection operation/method
 */
if ($get->GetLokacijaDetaljiCollection(new \StructType\GetLokacijaDetaljiCollection()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOvlastZaPreuzimanjeList operation/method
 */
if ($get->GetOvlastZaPreuzimanjeList(new \StructType\GetOvlastZaPreuzimanjeList()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOvlastZaPrijevozList operation/method
 */
if ($get->GetOvlastZaPrijevozList(new \StructType\GetOvlastZaPrijevozList()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOvlastZaObraduList operation/method
 */
if ($get->GetOvlastZaObraduList(new \StructType\GetOvlastZaObraduList()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOvlastZaPosrednikaList operation/method
 */
if ($get->GetOvlastZaPosrednikaList(new \StructType\GetOvlastZaPosrednikaList()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPLPravilnikList operation/method
 */
if ($get->GetPLPravilnikList(new \StructType\GetPLPravilnikList()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPorijekloKomunalnogOtpada operation/method
 */
if ($get->GetPorijekloKomunalnogOtpada(new \StructType\GetPorijekloKomunalnogOtpada()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPrilogIIIs operation/method
 */
if ($get->GetPrilogIIIs(new \StructType\GetPrilogIIIs()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPrilogIIIAs operation/method
 */
if ($get->GetPrilogIIIAs(new \StructType\GetPrilogIIIAs()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPrilogIIIBs operation/method
 */
if ($get->GetPrilogIIIBs(new \StructType\GetPrilogIIIBs()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOznakePrilogaUredbe operation/method
 */
if ($get->GetOznakePrilogaUredbe(new \StructType\GetOznakePrilogaUredbe()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetNotifikacijeByPFOOsobaID operation/method
 */
if ($get->GetNotifikacijeByPFOOsobaID(new \StructType\GetNotifikacijeByPFOOsobaID()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOECDOznakes operation/method
 */
if ($get->GetOECDOznakes(new \StructType\GetOECDOznakes()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetPrilogVIIIIXBC operation/method
 */
if ($get->GetPrilogVIIIIXBC(new \StructType\GetPrilogVIIIIXBC()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOcevidnikProizvodis operation/method
 */
if ($get->GetOcevidnikProizvodis(new \StructType\GetOcevidnikProizvodis()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetOcevidniksByPFOOsobaID operation/method
 */
if ($get->GetOcevidniksByPFOOsobaID(new \StructType\GetOcevidniksByPFOOsobaID()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetTipOcevidnikas operation/method
 */
if ($get->GetTipOcevidnikas(new \StructType\GetTipOcevidnikas()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetStatusOcevidnikas operation/method
 */
if ($get->GetStatusOcevidnikas(new \StructType\GetStatusOcevidnikas()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDozvoleByPFOOsobaID operation/method
 */
if ($get->GetDozvoleByPFOOsobaID(new \StructType\GetDozvoleByPFOOsobaID()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDozvoleStatus operation/method
 */
if ($get->GetDozvoleStatus(new \StructType\GetDozvoleStatus()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDozvoleStatusZabrane operation/method
 */
if ($get->GetDozvoleStatusZabrane(new \StructType\GetDozvoleStatusZabrane()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDozvoleTipZahtjeva operation/method
 */
if ($get->GetDozvoleTipZahtjeva(new \StructType\GetDozvoleTipZahtjeva()) !== 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_v2 operation/method
 */
if ($insert->InsertPLO_v2(new \StructType\InsertPLO_v2()) !== 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_v2 operation/method
 */
if ($insert->InsertPLOPreuzimateljNemaOnto_v2(new \StructType\InsertPLOPreuzimateljNemaOnto_v2()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOMUTMM_v2 operation/method
 */
if ($insert->InsertPLOMUTMM_v2(new \StructType\InsertPLOMUTMM_v2()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOMTMM_v2 operation/method
 */
if ($insert->InsertPLOMTMM_v2(new \StructType\InsertPLOMTMM_v2()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOMSMM_v2 operation/method
 */
if ($insert->InsertPLOMSMM_v2(new \StructType\InsertPLOMSMM_v2()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOInterniPL_v2 operation/method
 */
if ($insert->InsertPLOInterniPL_v2(new \StructType\InsertPLOInterniPL_v2()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOSJP operation/method
 */
if ($insert->InsertPLOSJP(new \StructType\InsertPLOSJP()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertPLOJU operation/method
 */
if ($insert->InsertPLOJU(new \StructType\InsertPLOJU()) !== false) {
    print_r($insert->getResult());
} else {
    print_r($insert->getLastError());
}
/**
 * Sample call for InsertTijekOtpada_v2 operation/method
 */
if ($insert->InsertTijekOtpada_v2(new \StructType\InsertTijekOtpada_v2()) !== 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_v2 operation/method
 */
if ($azuriraj->AzurirajPLO_v2(new \StructType\AzurirajPLO_v2()) !== false) {
    print_r($azuriraj->getResult());
} else {
    print_r($azuriraj->getLastError());
}
/**
 * Sample call for AzurirajTijekOtpada_v2 operation/method
 */
if ($azuriraj->AzurirajTijekOtpada_v2(new \StructType\AzurirajTijekOtpada_v2()) !== 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());
}
/**
 * Sample call for AzurirajLokaciju operation/method
 */
if ($azuriraj->AzurirajLokaciju(new \StructType\AzurirajLokaciju()) !== 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());
}
/**
 * Sample call for PretraziLokacijeCount operation/method
 */
if ($pretrazi->PretraziLokacijeCount(new \StructType\PretraziLokacijeCount()) !== false) {
    print_r($pretrazi->getResult());
} else {
    print_r($pretrazi->getLastError());
}
/**
 * Sample call for PretraziLokacije operation/method
 */
if ($pretrazi->PretraziLokacije(new \StructType\PretraziLokacije()) !== 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 ZatvoriOntoCollection operation/method
 */
if ($zatvori->ZatvoriOntoCollection(new \StructType\ZatvoriOntoCollection()) !== 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());
}
/**
 * Sample call for ZatvoriOntoPCollection operation/method
 */
if ($zatvori->ZatvoriOntoPCollection(new \StructType\ZatvoriOntoPCollection()) !== false) {
    print_r($zatvori->getResult());
} else {
    print_r($zatvori->getLastError());
}
/**
 * Samples for Sakrij ServiceType
 */
$sakrij = new \ServiceType\Sakrij($options);
/**
 * Sample call for SakrijOnto operation/method
 */
if ($sakrij->SakrijOnto(new \StructType\SakrijOnto()) !== false) {
    print_r($sakrij->getResult());
} else {
    print_r($sakrij->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());
}
