<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 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 =&gt; 'main.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; 'main.wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; ClassMap::get(),
);
/**
 * Samples for Add ServiceType
 */
$add = new \ServiceType\Add($options);
/**
 * Sample call for addShipment operation/method
 */
if ($add-&gt;addShipment(new \StructType\AddShipment()) !== false) {
    print_r($add-&gt;getResult());
} else {
    print_r($add-&gt;getLastError());
}
/**
 * Sample call for addReklamacje operation/method
 */
if ($add-&gt;addReklamacje(new \StructType\AddReklamacje()) !== false) {
    print_r($add-&gt;getResult());
} else {
    print_r($add-&gt;getLastError());
}
/**
 * Sample call for addOdwolanieDoReklamacji operation/method
 */
if ($add-&gt;addOdwolanieDoReklamacji(new \StructType\AddOdwolanieDoReklamacji()) !== false) {
    print_r($add-&gt;getResult());
} else {
    print_r($add-&gt;getLastError());
}
/**
 * Sample call for addRozbieznoscDoZapowiedziFaktur operation/method
 */
if ($add-&gt;addRozbieznoscDoZapowiedziFaktur(new \StructType\AddRozbieznoscDoZapowiedziFaktur()) !== false) {
    print_r($add-&gt;getResult());
} else {
    print_r($add-&gt;getLastError());
}
/**
 * Sample call for addZalacznikDoReklamacji operation/method
 */
if ($add-&gt;addZalacznikDoReklamacji(new \StructType\AddZalacznikDoReklamacji()) !== false) {
    print_r($add-&gt;getResult());
} else {
    print_r($add-&gt;getLastError());
}
/**
 * Samples for Change ServiceType
 */
$change = new \ServiceType\Change($options);
/**
 * Sample call for changePassword operation/method
 */
if ($change-&gt;changePassword(new \StructType\ChangePassword()) !== false) {
    print_r($change-&gt;getResult());
} else {
    print_r($change-&gt;getLastError());
}
/**
 * Samples for Send ServiceType
 */
$send = new \ServiceType\Send($options);
/**
 * Sample call for sendEnvelope operation/method
 */
if ($send-&gt;sendEnvelope(new \StructType\SendEnvelope()) !== false) {
    print_r($send-&gt;getResult());
} else {
    print_r($send-&gt;getLastError());
}
/**
 * Samples for Get ServiceType
 */
$get = new \ServiceType\Get($options);
/**
 * Sample call for getUrzedyNadania operation/method
 */
if ($get-&gt;getUrzedyNadania(new \StructType\GetUrzedyNadania()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getUrzedyWydajaceEPrzesylki operation/method
 */
if ($get-&gt;getUrzedyWydajaceEPrzesylki(new \StructType\GetUrzedyWydajaceEPrzesylki()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEnvelopeStatus operation/method
 */
if ($get-&gt;getEnvelopeStatus(new \StructType\GetEnvelopeStatus()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getKarty operation/method
 */
if ($get-&gt;getKarty(new \StructType\GetKarty()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getPasswordExpiredDate operation/method
 */
if ($get-&gt;getPasswordExpiredDate(new \StructType\GetPasswordExpiredDate()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEnvelopeContentShort operation/method
 */
if ($get-&gt;getEnvelopeContentShort(new \StructType\GetEnvelopeContentShort()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEnvelopeContentFull operation/method
 */
if ($get-&gt;getEnvelopeContentFull(new \StructType\GetEnvelopeContentFull()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getAddressLabel operation/method
 */
if ($get-&gt;getAddressLabel(new \StructType\GetAddressLabel()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getOutboxBook operation/method
 */
if ($get-&gt;getOutboxBook(new \StructType\GetOutboxBook()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getFirmowaPocztaBook operation/method
 */
if ($get-&gt;getFirmowaPocztaBook(new \StructType\GetFirmowaPocztaBook()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEnvelopeList operation/method
 */
if ($get-&gt;getEnvelopeList(new \StructType\GetEnvelopeList()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getAddresLabelByGuid operation/method
 */
if ($get-&gt;getAddresLabelByGuid(new \StructType\GetAddresLabelByGuid()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getPlacowkiPocztowe operation/method
 */
if ($get-&gt;getPlacowkiPocztowe(new \StructType\GetPlacowkiPocztowe()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getGuid operation/method
 */
if ($get-&gt;getGuid(new \StructType\GetGuid()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getKierunki operation/method
 */
if ($get-&gt;getKierunki(new \StructType\GetKierunki()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getKierunkiInfo operation/method
 */
if ($get-&gt;getKierunkiInfo(new \StructType\GetKierunkiInfo()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEnvelopeBufor operation/method
 */
if ($get-&gt;getEnvelopeBufor(new \StructType\GetEnvelopeBufor()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEPOStatus operation/method
 */
if ($get-&gt;getEPOStatus(new \StructType\GetEPOStatus()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getAddresLabelCompact operation/method
 */
if ($get-&gt;getAddresLabelCompact(new \StructType\GetAddresLabelCompact()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getAddresLabelByGuidCompact operation/method
 */
if ($get-&gt;getAddresLabelByGuidCompact(new \StructType\GetAddresLabelByGuidCompact()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEnvelopeBuforList operation/method
 */
if ($get-&gt;getEnvelopeBuforList(new \StructType\GetEnvelopeBuforList()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getUbezpieczeniaInfo operation/method
 */
if ($get-&gt;getUbezpieczeniaInfo(new \StructType\GetUbezpieczeniaInfo()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getBlankietPobraniaByGuids operation/method
 */
if ($get-&gt;getBlankietPobraniaByGuids(new \StructType\GetBlankietPobraniaByGuids()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getAccountList operation/method
 */
if ($get-&gt;getAccountList(new \StructType\GetAccountList()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getProfilList operation/method
 */
if ($get-&gt;getProfilList(new \StructType\GetProfilList()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getReklamacje operation/method
 */
if ($get-&gt;getReklamacje(new \StructType\GetReklamacje()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getZapowiedziFaktur operation/method
 */
if ($get-&gt;getZapowiedziFaktur(new \StructType\GetZapowiedziFaktur()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getListaPowodowReklamacji operation/method
 */
if ($get-&gt;getListaPowodowReklamacji(new \StructType\GetListaPowodowReklamacji()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEZDO operation/method
 */
if ($get-&gt;getEZDO(new \StructType\GetEZDO()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getEZDOList operation/method
 */
if ($get-&gt;getEZDOList(new \StructType\GetEZDOList()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getWplatyCKP operation/method
 */
if ($get-&gt;getWplatyCKP(new \StructType\GetWplatyCKP()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getListaZgodEZwrotow operation/method
 */
if ($get-&gt;getListaZgodEZwrotow(new \StructType\GetListaZgodEZwrotow()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getPaczkaKorzysciInfo operation/method
 */
if ($get-&gt;getPaczkaKorzysciInfo(new \StructType\GetPaczkaKorzysciInfo()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getJednostkaOrganizacyjna operation/method
 */
if ($get-&gt;getJednostkaOrganizacyjna(new \StructType\GetJednostkaOrganizacyjna()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getPrintForParcel operation/method
 */
if ($get-&gt;getPrintForParcel(new \StructType\GetPrintForParcel()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getShopEZwrotyList operation/method
 */
if ($get-&gt;getShopEZwrotyList(new \StructType\GetShopEZwrotyList()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for getLibrariesForLegalDeposits operation/method
 */
if ($get-&gt;getLibrariesForLegalDeposits(new \StructType\GetLibrariesForLegalDeposits()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Samples for Clear ServiceType
 */
$clear = new \ServiceType\Clear($options);
/**
 * Sample call for clearEnvelope operation/method
 */
if ($clear-&gt;clearEnvelope(new \StructType\ClearEnvelope()) !== false) {
    print_r($clear-&gt;getResult());
} else {
    print_r($clear-&gt;getLastError());
}
/**
 * Sample call for clearEnvelopeByGuids operation/method
 */
if ($clear-&gt;clearEnvelopeByGuids(new \StructType\ClearEnvelopeByGuids()) !== false) {
    print_r($clear-&gt;getResult());
} else {
    print_r($clear-&gt;getLastError());
}
/**
 * Samples for Upload ServiceType
 */
$upload = new \ServiceType\Upload($options);
/**
 * Sample call for uploadIWDContent operation/method
 */
if ($upload-&gt;uploadIWDContent(new \StructType\UploadIWDContent()) !== false) {
    print_r($upload-&gt;getResult());
} else {
    print_r($upload-&gt;getLastError());
}
/**
 * Samples for Download ServiceType
 */
$download = new \ServiceType\Download($options);
/**
 * Sample call for downloadIWDContent operation/method
 */
if ($download-&gt;downloadIWDContent(new \StructType\DownloadIWDContent()) !== false) {
    print_r($download-&gt;getResult());
} else {
    print_r($download-&gt;getLastError());
}
/**
 * Samples for Set ServiceType
 */
$set = new \ServiceType\Set($options);
/**
 * Sample call for setAktywnaKarta operation/method
 */
if ($set-&gt;setAktywnaKarta(new \StructType\SetAktywnaKarta()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Sample call for setEnvelopeBuforDataNadania operation/method
 */
if ($set-&gt;setEnvelopeBuforDataNadania(new \StructType\SetEnvelopeBuforDataNadania()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Sample call for setStatusZgodyNaEZwrot operation/method
 */
if ($set-&gt;setStatusZgodyNaEZwrot(new \StructType\SetStatusZgodyNaEZwrot()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Sample call for setJednostkaOrganizacyjna operation/method
 */
if ($set-&gt;setJednostkaOrganizacyjna(new \StructType\SetJednostkaOrganizacyjna()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Samples for Hello ServiceType
 */
$hello = new \ServiceType\Hello($options);
/**
 * Sample call for hello operation/method
 */
if ($hello-&gt;hello(new \StructType\Hello()) !== false) {
    print_r($hello-&gt;getResult());
} else {
    print_r($hello-&gt;getLastError());
}
/**
 * Samples for Create ServiceType
 */
$create = new \ServiceType\Create($options);
/**
 * Sample call for createEnvelopeBufor operation/method
 */
if ($create-&gt;createEnvelopeBufor(new \StructType\CreateEnvelopeBufor()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for createAccount operation/method
 */
if ($create-&gt;createAccount(new \StructType\CreateAccount()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for createProfil operation/method
 */
if ($create-&gt;createProfil(new \StructType\CreateProfil()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for createShopEZwroty operation/method
 */
if ($create-&gt;createShopEZwroty(new \StructType\CreateShopEZwroty()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Samples for Update ServiceType
 */
$update = new \ServiceType\Update($options);
/**
 * Sample call for updateEnvelopeBufor operation/method
 */
if ($update-&gt;updateEnvelopeBufor(new \StructType\UpdateEnvelopeBufor()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for updateAccount operation/method
 */
if ($update-&gt;updateAccount(new \StructType\UpdateAccount()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for updateProfil operation/method
 */
if ($update-&gt;updateProfil(new \StructType\UpdateProfil()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for updateShopEZwroty operation/method
 */
if ($update-&gt;updateShopEZwroty(new \StructType\UpdateShopEZwroty()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Samples for Move ServiceType
 */
$move = new \ServiceType\Move($options);
/**
 * Sample call for moveShipments operation/method
 */
if ($move-&gt;moveShipments(new \StructType\MoveShipments()) !== false) {
    print_r($move-&gt;getResult());
} else {
    print_r($move-&gt;getLastError());
}
/**
 * Samples for Is ServiceType
 */
$is = new \ServiceType\Is($options);
/**
 * Sample call for isMiejscowa operation/method
 */
if ($is-&gt;isMiejscowa(new \StructType\IsMiejscowa()) !== false) {
    print_r($is-&gt;getResult());
} else {
    print_r($is-&gt;getLastError());
}
/**
 * Sample call for isObszarMiasto operation/method
 */
if ($is-&gt;isObszarMiasto(new \StructType\IsObszarMiasto()) !== false) {
    print_r($is-&gt;getResult());
} else {
    print_r($is-&gt;getLastError());
}
/**
 * Samples for Cancel ServiceType
 */
$cancel = new \ServiceType\Cancel($options);
/**
 * Sample call for cancelReklamacja operation/method
 */
if ($cancel-&gt;cancelReklamacja(new \StructType\CancelReklamacja()) !== false) {
    print_r($cancel-&gt;getResult());
} else {
    print_r($cancel-&gt;getLastError());
}
/**
 * Samples for Zamow ServiceType
 */
$zamow = new \ServiceType\Zamow($options);
/**
 * Sample call for zamowKuriera operation/method
 */
if ($zamow-&gt;zamowKuriera(new \StructType\ZamowKuriera()) !== false) {
    print_r($zamow-&gt;getResult());
} else {
    print_r($zamow-&gt;getLastError());
}
/**
 * Samples for Wyslij ServiceType
 */
$wyslij = new \ServiceType\Wyslij($options);
/**
 * Sample call for wyslijLinkaOStatusieEZwrotu operation/method
 */
if ($wyslij-&gt;wyslijLinkaOStatusieEZwrotu(new \StructType\WyslijLinkaOStatusieEZwrotu()) !== false) {
    print_r($wyslij-&gt;getResult());
} else {
    print_r($wyslij-&gt;getLastError());
}
/**
 * Samples for Delete ServiceType
 */
$delete = new \ServiceType\Delete($options);
/**
 * Sample call for deleteShopEZwroty operation/method
 */
if ($delete-&gt;deleteShopEZwroty(new \StructType\DeleteShopEZwroty()) !== false) {
    print_r($delete-&gt;getResult());
} else {
    print_r($delete-&gt;getLastError());
}
/**
 * Samples for Order ServiceType
 */
$order = new \ServiceType\Order($options);
/**
 * Sample call for orderEasyReturnSolutionLabel operation/method
 */
if ($order-&gt;orderEasyReturnSolutionLabel(new \StructType\OrderEasyReturnSolutionLabel()) !== false) {
    print_r($order-&gt;getResult());
} else {
    print_r($order-&gt;getLastError());
}
</pre></body></html>