<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; 'https://test.developer.intuit.com/QBWC/TroubleshootWebServiceFS/Service.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; 'https://test.developer.intuit.com/QBWC/TroubleshootWebServiceFS/Service.asmx?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; \App\Services\ClassMap::get(),
);
/**
 * Samples for Server ServiceType
 */
$server = new \App\Services\Server($options);
/**
 * Sample call for serverVersion operation/method
 */
if ($server-&gt;serverVersion(new \App\Services\ServerVersion()) !== false) {
    print_r($server-&gt;getResult());
} else {
    print_r($server-&gt;getLastError());
}
/**
 * Samples for Client ServiceType
 */
$client = new \App\Services\Client($options);
/**
 * Sample call for clientVersion operation/method
 */
if ($client-&gt;clientVersion(new \App\Services\ClientVersion()) !== false) {
    print_r($client-&gt;getResult());
} else {
    print_r($client-&gt;getLastError());
}
/**
 * Samples for Authenticate ServiceType
 */
$authenticate = new \App\Services\Authenticate($options);
/**
 * Sample call for authenticate operation/method
 */
if ($authenticate-&gt;authenticate(new \App\Services\Authenticate()) !== false) {
    print_r($authenticate-&gt;getResult());
} else {
    print_r($authenticate-&gt;getLastError());
}
/**
 * Samples for Connection ServiceType
 */
$connection = new \App\Services\Connection($options);
/**
 * Sample call for connectionError operation/method
 */
if ($connection-&gt;connectionError(new \App\Services\ConnectionError()) !== false) {
    print_r($connection-&gt;getResult());
} else {
    print_r($connection-&gt;getLastError());
}
/**
 * Samples for Send ServiceType
 */
$send = new \App\Services\Send($options);
/**
 * Sample call for sendRequestXML operation/method
 */
if ($send-&gt;sendRequestXML(new \App\Services\SendRequestXML()) !== false) {
    print_r($send-&gt;getResult());
} else {
    print_r($send-&gt;getLastError());
}
/**
 * Samples for Receive ServiceType
 */
$receive = new \App\Services\Receive($options);
/**
 * Sample call for receiveResponseXML operation/method
 */
if ($receive-&gt;receiveResponseXML(new \App\Services\ReceiveResponseXML()) !== false) {
    print_r($receive-&gt;getResult());
} else {
    print_r($receive-&gt;getLastError());
}
/**
 * Samples for Get ServiceType
 */
$get = new \App\Services\Get($options);
/**
 * Sample call for _getLastError operation/method
 */
if ($get-&gt;_getLastError(new \App\Services\GetLastError()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Samples for Close ServiceType
 */
$close = new \App\Services\Close($options);
/**
 * Sample call for closeConnection operation/method
 */
if ($close-&gt;closeConnection(new \App\Services\CloseConnection()) !== false) {
    print_r($close-&gt;getResult());
} else {
    print_r($close-&gt;getLastError());
}
</pre></body></html>