<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://api.angellira.com.br/ws-soap/WSImport.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://api.angellira.com.br/ws-soap/WSImport.asmx?WSDL',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP =&gt; ClassMap::get(),
);
/**
 * Samples for Agendar ServiceType
 */
$agendar = new \ServiceType\Agendar($options);
$agendar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for AgendarViagem operation/method
 */
if ($agendar-&gt;AgendarViagem(new \StructType\AgendarViagem()) !== false) {
    print_r($agendar-&gt;getResult());
} else {
    print_r($agendar-&gt;getLastError());
}
/**
 * Samples for Cadastrar ServiceType
 */
$cadastrar = new \ServiceType\Cadastrar($options);
$cadastrar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for CadastrarCliente operation/method
 */
if ($cadastrar-&gt;CadastrarCliente(new \StructType\CadastrarCliente()) !== false) {
    print_r($cadastrar-&gt;getResult());
} else {
    print_r($cadastrar-&gt;getLastError());
}
/**
 * Sample call for CadastrarTipoOcorrencia operation/method
 */
if ($cadastrar-&gt;CadastrarTipoOcorrencia(new \StructType\CadastrarTipoOcorrencia()) !== false) {
    print_r($cadastrar-&gt;getResult());
} else {
    print_r($cadastrar-&gt;getLastError());
}
/**
 * Sample call for CadastrarProduto operation/method
 */
if ($cadastrar-&gt;CadastrarProduto(new \StructType\CadastrarProduto()) !== false) {
    print_r($cadastrar-&gt;getResult());
} else {
    print_r($cadastrar-&gt;getLastError());
}
/**
 * Sample call for CadastrarUnidadePagadora operation/method
 */
if ($cadastrar-&gt;CadastrarUnidadePagadora(new \StructType\CadastrarUnidadePagadora()) !== false) {
    print_r($cadastrar-&gt;getResult());
} else {
    print_r($cadastrar-&gt;getLastError());
}
/**
 * Sample call for CadastrarAlocacaoDeCusto operation/method
 */
if ($cadastrar-&gt;CadastrarAlocacaoDeCusto(new \StructType\CadastrarAlocacaoDeCusto()) !== false) {
    print_r($cadastrar-&gt;getResult());
} else {
    print_r($cadastrar-&gt;getLastError());
}
/**
 * Samples for Get ServiceType
 */
$get = new \ServiceType\Get($options);
$get-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for GetProcedimentoEmbarque operation/method
 */
if ($get-&gt;GetProcedimentoEmbarque(new \StructType\GetProcedimentoEmbarque()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetFaixaTemperatura operation/method
 */
if ($get-&gt;GetFaixaTemperatura(new \StructType\GetFaixaTemperatura()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRotas operation/method
 */
if ($get-&gt;GetRotas(new \StructType\GetRotas()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetRota operation/method
 */
if ($get-&gt;GetRota(new \StructType\GetRota()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Sample call for GetDispositivoAssociado operation/method
 */
if ($get-&gt;GetDispositivoAssociado(new \StructType\GetDispositivoAssociado()) !== false) {
    print_r($get-&gt;getResult());
} else {
    print_r($get-&gt;getLastError());
}
/**
 * Samples for Cancelar ServiceType
 */
$cancelar = new \ServiceType\Cancelar($options);
$cancelar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for CancelarEntrega operation/method
 */
if ($cancelar-&gt;CancelarEntrega(new \StructType\CancelarEntrega()) !== false) {
    print_r($cancelar-&gt;getResult());
} else {
    print_r($cancelar-&gt;getLastError());
}
/**
 * Sample call for CancelarViagem operation/method
 */
if ($cancelar-&gt;CancelarViagem(new \StructType\CancelarViagem()) !== false) {
    print_r($cancelar-&gt;getResult());
} else {
    print_r($cancelar-&gt;getLastError());
}
/**
 * Samples for Atualizar ServiceType
 */
$atualizar = new \ServiceType\Atualizar($options);
$atualizar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for AtualizarRotaViagem operation/method
 */
if ($atualizar-&gt;AtualizarRotaViagem(new \StructType\AtualizarRotaViagem()) !== false) {
    print_r($atualizar-&gt;getResult());
} else {
    print_r($atualizar-&gt;getLastError());
}
/**
 * Samples for Lista ServiceType
 */
$lista = new \ServiceType\Lista($options);
$lista-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for ListaTCAFranquia operation/method
 */
if ($lista-&gt;ListaTCAFranquia(new \StructType\ListaTCAFranquia()) !== false) {
    print_r($lista-&gt;getResult());
} else {
    print_r($lista-&gt;getLastError());
}
/**
 * Samples for Sequenciar ServiceType
 */
$sequenciar = new \ServiceType\Sequenciar($options);
$sequenciar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for SequenciarEntregas operation/method
 */
if ($sequenciar-&gt;SequenciarEntregas(new \StructType\SequenciarEntregas()) !== false) {
    print_r($sequenciar-&gt;getResult());
} else {
    print_r($sequenciar-&gt;getLastError());
}
/**
 * Samples for Iniciar ServiceType
 */
$iniciar = new \ServiceType\Iniciar($options);
$iniciar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for IniciarViagem operation/method
 */
if ($iniciar-&gt;IniciarViagem(new \StructType\IniciarViagem()) !== false) {
    print_r($iniciar-&gt;getResult());
} else {
    print_r($iniciar-&gt;getLastError());
}
/**
 * Samples for Finalizar ServiceType
 */
$finalizar = new \ServiceType\Finalizar($options);
$finalizar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for FinalizarViagem operation/method
 */
if ($finalizar-&gt;FinalizarViagem(new \StructType\FinalizarViagem()) !== false) {
    print_r($finalizar-&gt;getResult());
} else {
    print_r($finalizar-&gt;getLastError());
}
/**
 * Samples for Enviar ServiceType
 */
$enviar = new \ServiceType\Enviar($options);
$enviar-&gt;setSoapHeaderValidationSoapHeader(new \StructType\ValidationSoapHeader());
/**
 * Sample call for EnviarIdentificacaoViagem operation/method
 */
if ($enviar-&gt;EnviarIdentificacaoViagem(new \StructType\EnviarIdentificacaoViagem()) !== false) {
    print_r($enviar-&gt;getResult());
} else {
    print_r($enviar-&gt;getLastError());
}
</pre></body></html>