<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://senti.monitronics.net/midi/midi.asmx?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://senti.monitronics.net/midi/midi.asmx?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; ClassMap::get(),
);
/**
 * Samples for Account ServiceType
 */
$account = new \ServiceType\Account($options);
$account-&gt;setSoapHeaderApplicationIDHeader(new \StructType\ApplicationIDHeader());
/**
 * Sample call for AccountOnline operation/method
 */
if ($account-&gt;AccountOnline(new \StructType\AccountOnline()) !== false) {
    print_r($account-&gt;getResult());
} else {
    print_r($account-&gt;getLastError());
}
/**
 * Samples for Get ServiceType
 */
$get = new \ServiceType\Get($options);
/**
 * Sample call for GetData operation/method
 */
if ($get-&gt;GetData(new \StructType\GetData()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetCreditRequest operation/method
 */
if ($get-&gt;GetCreditRequest(new \StructType\GetCreditRequest()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetPurchaseInfo operation/method
 */
if ($get-&gt;GetPurchaseInfo(new \StructType\GetPurchaseInfo()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetDealerCMRates operation/method
 */
if ($get-&gt;GetDealerCMRates(new \StructType\GetDealerCMRates()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetTimezoneFromZipcode operation/method
 */
if ($get-&gt;GetTimezoneFromZipcode(new \StructType\GetTimezoneFromZipcode()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetWebServiceVersion operation/method
 */
if ($get-&gt;GetWebServiceVersion(new \StructType\GetWebServiceVersion()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Samples for Immediate ServiceType
 */
$immediate = new \ServiceType\Immediate($options);
$immediate-&gt;setSoapHeaderApplicationIDHeader(new \StructType\ApplicationIDHeader());
/**
 * Sample call for Immediate operation/method
 */
if ($immediate-&gt;Immediate(new \StructType\Immediate()) !== false) {
    print_r($immediate-&gt;getResult());
} else {
    print_r($immediate-&gt;getLastError());
}
/**
 * Samples for Update ServiceType
 */
$update = new \ServiceType\Update($options);
$update-&gt;setSoapHeaderApplicationIDHeader(new \StructType\ApplicationIDHeader());
/**
 * Sample call for Update operation/method
 */
if ($update-&gt;Update(new \StructType\Update()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for UpdateCreditRequest operation/method
 */
if ($update-&gt;UpdateCreditRequest(new \StructType\UpdateCreditRequest()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Sample call for UpdatePurchaseInfo operation/method
 */
if ($update-&gt;UpdatePurchaseInfo(new \StructType\UpdatePurchaseInfo()) !== false) {
    print_r($update-&gt;getResult());
} else {
    print_r($update-&gt;getLastError());
}
/**
 * Samples for Partial ServiceType
 */
$partial = new \ServiceType\Partial($options);
$partial-&gt;setSoapHeaderApplicationIDHeader(new \StructType\ApplicationIDHeader());
/**
 * Sample call for Partial operation/method
 */
if ($partial-&gt;Partial(new \StructType\Partial()) !== false) {
    print_r($partial-&gt;getResult());
} else {
    print_r($partial-&gt;getLastError());
}
/**
 * Samples for Determine ServiceType
 */
$determine = new \ServiceType\Determine($options);
$determine-&gt;setSoapHeaderApplicationIDHeader(new \StructType\ApplicationIDHeader());
/**
 * Sample call for DetermineMODAccess operation/method
 */
if ($determine-&gt;DetermineMODAccess(new \StructType\DetermineMODAccess()) !== false) {
    print_r($determine-&gt;getResult());
} else {
    print_r($determine-&gt;getLastError());
}
</pre></body></html>