<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; \Pcm\PcmClassMap::get(),
);
/**
 * Samples for About ServiceType
 */
$about = new \Pcm\ServiceType\PcmAbout($options);
$about-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for AboutService operation/method
 */
if ($about-&gt;AboutService(new \Pcm\StructType\PcmAboutService()) !== false) {
    print_r($about-&gt;getResult());
} else {
    print_r($about-&gt;getLastError());
}
/**
 * Samples for Process ServiceType
 */
$process = new \Pcm\ServiceType\PcmProcess($options);
$process-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for ProcessGeocode operation/method
 */
if ($process-&gt;ProcessGeocode(new \Pcm\StructType\PcmProcessGeocode()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Sample call for ProcessReverseGeocode operation/method
 */
if ($process-&gt;ProcessReverseGeocode(new \Pcm\StructType\PcmProcessReverseGeocode()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Sample call for ProcessRadiusSearch operation/method
 */
if ($process-&gt;ProcessRadiusSearch(new \Pcm\StructType\PcmProcessRadiusSearch()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Sample call for ProcessStates operation/method
 */
if ($process-&gt;ProcessStates(new \Pcm\StructType\PcmProcessStates()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Sample call for ProcessMap operation/method
 */
if ($process-&gt;ProcessMap(new \Pcm\StructType\PcmProcessMap()) !== false) {
    print_r($process-&gt;getResult());
} else {
    print_r($process-&gt;getLastError());
}
/**
 * Samples for Get ServiceType
 */
$get = new \Pcm\ServiceType\PcmGet($options);
$get-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for GetAvoidFavor operation/method
 */
if ($get-&gt;GetAvoidFavor(new \Pcm\StructType\PcmGetAvoidFavor()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetCustomPlaces operation/method
 */
if ($get-&gt;GetCustomPlaces(new \Pcm\StructType\PcmGetCustomPlaces()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRoadSpeeds operation/method
 */
if ($get-&gt;GetRoadSpeeds(new \Pcm\StructType\PcmGetRoadSpeeds()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetETAOutOfRouteReport operation/method
 */
if ($get-&gt;GetETAOutOfRouteReport(new \Pcm\StructType\PcmGetETAOutOfRouteReport()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetReports operation/method
 */
if ($get-&gt;GetReports(new \Pcm\StructType\PcmGetReports()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetReportsLegacy operation/method
 */
if ($get-&gt;GetReportsLegacy(new \Pcm\StructType\PcmGetReportsLegacy()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetPoisAlongRoute operation/method
 */
if ($get-&gt;GetPoisAlongRoute(new \Pcm\StructType\PcmGetPoisAlongRoute()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetAvoidFavorSets operation/method
 */
if ($get-&gt;GetAvoidFavorSets(new \Pcm\StructType\PcmGetAvoidFavorSets()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetWeatherAlerts operation/method
 */
if ($get-&gt;GetWeatherAlerts(new \Pcm\StructType\PcmGetWeatherAlerts()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRouteMatrix operation/method
 */
if ($get-&gt;GetRouteMatrix(new \Pcm\StructType\PcmGetRouteMatrix()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Samples for Set ServiceType
 */
$set = new \Pcm\ServiceType\PcmSet($options);
$set-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for SetAvoidFavor operation/method
 */
if ($set-&gt;SetAvoidFavor(new \Pcm\StructType\PcmSetAvoidFavor()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Sample call for SetCustomPlaces operation/method
 */
if ($set-&gt;SetCustomPlaces(new \Pcm\StructType\PcmSetCustomPlaces()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Sample call for SetRoadSpeeds operation/method
 */
if ($set-&gt;SetRoadSpeeds(new \Pcm\StructType\PcmSetRoadSpeeds()) !== false) {
    print_r($set-&gt;getResult());
} else {
    print_r($set-&gt;getLastError());
}
/**
 * Samples for Reduce ServiceType
 */
$reduce = new \Pcm\ServiceType\PcmReduce($options);
$reduce-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for ReduceTrip operation/method
 */
if ($reduce-&gt;ReduceTrip(new \Pcm\StructType\PcmReduceTrip()) !== false) {
    print_r($reduce-&gt;getResult());
} else {
    print_r($reduce-&gt;getLastError());
}
/**
 * Samples for Create ServiceType
 */
$create = new \Pcm\ServiceType\PcmCreate($options);
$create-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for CreateRouteSyncMessage operation/method
 */
if ($create-&gt;CreateRouteSyncMessage(new \Pcm\StructType\PcmCreateRouteSyncMessage()) !== false) {
    print_r($create-&gt;getResult());
} else {
    print_r($create-&gt;getLastError());
}
/**
 * Samples for Generate ServiceType
 */
$generate = new \Pcm\ServiceType\PcmGenerate($options);
$generate-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for GenerateDriveTimePolygon operation/method
 */
if ($generate-&gt;GenerateDriveTimePolygon(new \Pcm\StructType\PcmGenerateDriveTimePolygon()) !== false) {
    print_r($generate-&gt;getResult());
} else {
    print_r($generate-&gt;getLastError());
}
/**
 * Samples for Import ServiceType
 */
$import = new \Pcm\ServiceType\PcmImport($options);
$import-&gt;setSoapHeaderAuthHeader(new \Pcm\StructType\PcmAuthHeader());
/**
 * Sample call for ImportAvoidFavorSet operation/method
 */
if ($import-&gt;ImportAvoidFavorSet(new \Pcm\StructType\PcmImportAvoidFavorSet()) !== false) {
    print_r($import-&gt;getResult());
} else {
    print_r($import-&gt;getLastError());
}
</pre></body></html>