<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; 'http://www.stubademo.com/RXLStagingServices/ASMX/XmlService.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://www.stubademo.com/RXLStagingServices/ASMX/XmlService.asmx?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; \Stuba\ClassMap::get(),
);
/**
 * Samples for Availability ServiceType
 */
$availability = new \Stuba\ServiceType\Availability($options);
/**
 * Sample call for AvailabilitySearch operation/method
 */
if ($availability-&gt;AvailabilitySearch(new \Stuba\StructType\AvailabilitySearch()) !== false) {
    print_r($availability-&gt;getResult());
} else {
    print_r($availability-&gt;getLastError());
}
/**
 * Samples for Transfer ServiceType
 */
$transfer = new \Stuba\ServiceType\Transfer($options);
/**
 * Sample call for TransferAvailabilitySearch operation/method
 */
if ($transfer-&gt;TransferAvailabilitySearch(new \Stuba\StructType\TransferAvailabilitySearch()) !== false) {
    print_r($transfer-&gt;getResult());
} else {
    print_r($transfer-&gt;getLastError());
}
/**
 * Sample call for TransferEndPointSearch operation/method
 */
if ($transfer-&gt;TransferEndPointSearch(new \Stuba\StructType\TransferEndPointSearch()) !== false) {
    print_r($transfer-&gt;getResult());
} else {
    print_r($transfer-&gt;getLastError());
}
/**
 * Sample call for TransferRouteSearch operation/method
 */
if ($transfer-&gt;TransferRouteSearch(new \Stuba\StructType\TransferRouteSearch()) !== false) {
    print_r($transfer-&gt;getResult());
} else {
    print_r($transfer-&gt;getLastError());
}
/**
 * Samples for Refresh ServiceType
 */
$refresh = new \Stuba\ServiceType\Refresh($options);
/**
 * Sample call for RefreshHotel operation/method
 */
if ($refresh-&gt;RefreshHotel(new \Stuba\StructType\RefreshHotel()) !== false) {
    print_r($refresh-&gt;getResult());
} else {
    print_r($refresh-&gt;getLastError());
}
/**
 * Samples for Booking ServiceType
 */
$booking = new \Stuba\ServiceType\Booking($options);
/**
 * Sample call for BookingCreate operation/method
 */
if ($booking-&gt;BookingCreate(new \Stuba\StructType\BookingCreate()) !== false) {
    print_r($booking-&gt;getResult());
} else {
    print_r($booking-&gt;getLastError());
}
/**
 * Sample call for BookingQuery operation/method
 */
if ($booking-&gt;BookingQuery(new \Stuba\StructType\BookingQuery()) !== false) {
    print_r($booking-&gt;getResult());
} else {
    print_r($booking-&gt;getLastError());
}
/**
 * Sample call for BookingHCNQuery operation/method
 */
if ($booking-&gt;BookingHCNQuery(new \Stuba\StructType\BookingHCNQuery()) !== false) {
    print_r($booking-&gt;getResult());
} else {
    print_r($booking-&gt;getLastError());
}
/**
 * Sample call for BookingCancel operation/method
 */
if ($booking-&gt;BookingCancel(new \Stuba\StructType\BookingCancel()) !== false) {
    print_r($booking-&gt;getResult());
} else {
    print_r($booking-&gt;getLastError());
}
/**
 * Samples for Customer ServiceType
 */
$customer = new \Stuba\ServiceType\Customer($options);
/**
 * Sample call for CustomerAmend operation/method
 */
if ($customer-&gt;CustomerAmend(new \Stuba\StructType\CustomerAmend()) !== false) {
    print_r($customer-&gt;getResult());
} else {
    print_r($customer-&gt;getLastError());
}
/**
 * Samples for Region ServiceType
 */
$region = new \Stuba\ServiceType\Region($options);
/**
 * Sample call for RegionSearch operation/method
 */
if ($region-&gt;RegionSearch(new \Stuba\StructType\RegionSearch()) !== false) {
    print_r($region-&gt;getResult());
} else {
    print_r($region-&gt;getLastError());
}
</pre></body></html>