<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://webservices.yurticikargo.com:8080/KOPSWebServices/ShippingOrderDispatcherServices?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://webservices.yurticikargo.com:8080/KOPSWebServices/ShippingOrderDispatcherServices?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; ClassMap::get(),
);
/**
 * Samples for Cancel ServiceType
 */
$cancel = new \ServiceType\Cancel($options);
/**
 * Sample call for cancelReturnShipmentCode operation/method
 */
if ($cancel-&gt;cancelReturnShipmentCode(new \StructType\CancelReturnShipmentCode()) !== false) {
    print_r($cancel-&gt;getResult());
} else {
    print_r($cancel-&gt;getLastError());
}
/**
 * Sample call for cancelShipment operation/method
 */
if ($cancel-&gt;cancelShipment(new \StructType\CancelShipment()) !== false) {
    print_r($cancel-&gt;getResult());
} else {
    print_r($cancel-&gt;getLastError());
}
/**
 * Samples for Create ServiceType
 */
$create = new \ServiceType\Create($options);
/**
 * Sample call for createShipment operation/method
 */
if ($create-&gt;createShipment(new \StructType\CreateShipment()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Sample call for createShipmentDetail operation/method
 */
if ($create-&gt;createShipmentDetail(new \StructType\CreateShipmentDetail()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Samples for Query ServiceType
 */
$query = new \ServiceType\Query($options);
/**
 * Sample call for queryShipment operation/method
 */
if ($query-&gt;queryShipment(new \StructType\QueryShipment()) !== false) {
    print_r($query-&gt;getResult());
} else {
    print_r($query-&gt;getLastError());
}
/**
 * Sample call for queryShipmentDetail operation/method
 */
if ($query-&gt;queryShipmentDetail(new \StructType\QueryShipmentDetail()) !== false) {
    print_r($query-&gt;getResult());
} else {
    print_r($query-&gt;getLastError());
}
/**
 * Samples for Save ServiceType
 */
$save = new \ServiceType\Save($options);
/**
 * Sample call for saveReturnShipmentCode operation/method
 */
if ($save-&gt;saveReturnShipmentCode(new \StructType\SaveReturnShipmentCode()) !== false) {
    print_r($save-&gt;getResult());
} else {
    print_r($save-&gt;getLastError());
}
</pre></body></html>