<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://veris.bizdata.cz:9080/IS_SLA_GP1/service.php?class=InsuranceService&amp;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://veris.bizdata.cz:9080/IS_SLA_GP1/service.php?class=InsuranceService&amp;wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; ClassMap::get(),
);
/**
 * Samples for Adresa ServiceType
 */
$adresa = new \ServiceType\Adresa($options);
/**
 * Sample call for AdresaUIR operation/method
 */
if ($adresa-&gt;AdresaUIR($Adresa) !== false) {
    print_r($adresa-&gt;getResult());
} else {
    print_r($adresa-&gt;getLastError());
}
/**
 * Samples for Nova ServiceType
 */
$nova = new \ServiceType\Nova($options);
/**
 * Sample call for NovaPS operation/method
 */
if ($nova-&gt;NovaPS(new \StructType\Smlouva()) !== false) {
    print_r($nova-&gt;getResult());
} else {
    print_r($nova-&gt;getLastError());
}
/**
 * Samples for Platba ServiceType
 */
$platba = new \ServiceType\Platba($options);
/**
 * Sample call for PlatbaPS operation/method
 */
if ($platba-&gt;PlatbaPS($PlatbaIn) !== false) {
    print_r($platba-&gt;getResult());
} else {
    print_r($platba-&gt;getLastError());
}
/**
 * Samples for Storno ServiceType
 */
$storno = new \ServiceType\Storno($options);
/**
 * Sample call for StornoPS operation/method
 */
if ($storno-&gt;StornoPS(new \StructType\StornoIn()) !== false) {
    print_r($storno-&gt;getResult());
} else {
    print_r($storno-&gt;getLastError());
}
/**
 * Samples for Test ServiceType
 */
$test = new \ServiceType\Test($options);
/**
 * Sample call for Test operation/method
 */
if ($test-&gt;Test() !== false) {
    print_r($test-&gt;getResult());
} else {
    print_r($test-&gt;getLastError());
}
/**
 * Samples for Ukonceni ServiceType
 */
$ukonceni = new \ServiceType\Ukonceni($options);
/**
 * Sample call for UkonceniPS operation/method
 */
if ($ukonceni-&gt;UkonceniPS(new \StructType\UkonceniIn()) !== false) {
    print_r($ukonceni-&gt;getResult());
} else {
    print_r($ukonceni-&gt;getLastError());
}
/**
 * Samples for Zmena ServiceType
 */
$zmena = new \ServiceType\Zmena($options);
/**
 * Sample call for ZmenaPS operation/method
 */
if ($zmena-&gt;ZmenaPS(new \StructType\Smlouva()) !== false) {
    print_r($zmena-&gt;getResult());
} else {
    print_r($zmena-&gt;getLastError());
}
/**
 * Sample call for ZmenaPolPS operation/method
 */
if ($zmena-&gt;ZmenaPolPS(new \StructType\ZmenaPolIn()) !== false) {
    print_r($zmena-&gt;getResult());
} else {
    print_r($zmena-&gt;getLastError());
}
/**
 * Samples for OZ ServiceType
 */
$oZ = new \ServiceType\OZ($options);
/**
 * Sample call for oZmenaPS operation/method
 */
if ($oZ-&gt;oZmenaPS(new \StructType\Smlouva()) !== false) {
    print_r($oZ-&gt;getResult());
} else {
    print_r($oZ-&gt;getLastError());
}
</pre></body></html>