<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; '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 Initial ServiceType
 */
$initial = new \ServiceType\Initial($options);
/**
 * Sample call for InitialConfirmation operation/method
 */
if ($initial-&gt;InitialConfirmation(new \StructType\InitialConfirmation()) !== false) {
    print_r($initial-&gt;getResult());
} else {
    print_r($initial-&gt;getLastError());
}
/**
 * Samples for Final ServiceType
 */
$final = new \ServiceType\_Final($options);
/**
 * Sample call for FinalClosure operation/method
 */
if ($final-&gt;FinalClosure(new \StructType\FinalClosure()) !== false) {
    print_r($final-&gt;getResult());
} else {
    print_r($final-&gt;getLastError());
}
</pre></body></html>