<?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 => 'http://puntoexe.com.uy/eFactura/servlet/com.efactura.efactura.webservices.awscfev5?wsdl',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE => true,
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN => 'you_secret_login',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD => 'you_secret_password',
 * );
 * etc...
 */
require_once __DIR__ . '/vendor/autoload.php';
/**
 * Minimal options
 */
$options = array(
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'http://puntoexe.com.uy/eFactura/servlet/com.efactura.efactura.webservices.awscfev5?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => \App\Soap\ClassMap::get(),
);
/**
 * Samples for ENVIARCFE ServiceType
 */
$eNVIARCFE = new \App\Soap\ServiceType\ENVIARCFE($options);
/**
 * Sample call for ENVIARCFE operation/method
 */
if ($eNVIARCFE->ENVIARCFE(new \App\Soap\StructType\WSCFEV5_ENVIARCFE()) !== false) {
    print_r($eNVIARCFE->getResult());
} else {
    print_r($eNVIARCFE->getLastError());
}
/**
 * Samples for ENVIARCFES ServiceType
 */
$eNVIARCFES = new \App\Soap\ServiceType\ENVIARCFES($options);
/**
 * Sample call for ENVIARCFES operation/method
 */
if ($eNVIARCFES->ENVIARCFES(new \App\Soap\StructType\WSCFEV5_ENVIARCFES()) !== false) {
    print_r($eNVIARCFES->getResult());
} else {
    print_r($eNVIARCFES->getLastError());
}
/**
 * Samples for RESULTADOENVIOCFE ServiceType
 */
$rESULTADOENVIOCFE = new \App\Soap\ServiceType\RESULTADOENVIOCFE($options);
/**
 * Sample call for RESULTADOENVIOCFE operation/method
 */
if ($rESULTADOENVIOCFE->RESULTADOENVIOCFE(new \App\Soap\StructType\WSCFEV5_RESULTADOENVIOCFE()) !== false) {
    print_r($rESULTADOENVIOCFE->getResult());
} else {
    print_r($rESULTADOENVIOCFE->getLastError());
}
/**
 * Samples for RESULTADOENVIOCFES ServiceType
 */
$rESULTADOENVIOCFES = new \App\Soap\ServiceType\RESULTADOENVIOCFES($options);
/**
 * Sample call for RESULTADOENVIOCFES operation/method
 */
if ($rESULTADOENVIOCFES->RESULTADOENVIOCFES(new \App\Soap\StructType\WSCFEV5_RESULTADOENVIOCFES()) !== false) {
    print_r($rESULTADOENVIOCFES->getResult());
} else {
    print_r($rESULTADOENVIOCFES->getLastError());
}
/**
 * Samples for CONSULTARCFESEMITIDOS ServiceType
 */
$cONSULTARCFESEMITIDOS = new \App\Soap\ServiceType\CONSULTARCFESEMITIDOS($options);
/**
 * Sample call for CONSULTARCFESEMITIDOS operation/method
 */
if ($cONSULTARCFESEMITIDOS->CONSULTARCFESEMITIDOS(new \App\Soap\StructType\WSCFEV5_CONSULTARCFESEMITIDOS()) !== false) {
    print_r($cONSULTARCFESEMITIDOS->getResult());
} else {
    print_r($cONSULTARCFESEMITIDOS->getLastError());
}
/**
 * Samples for CONSULTARCFESRECIBIDOS ServiceType
 */
$cONSULTARCFESRECIBIDOS = new \App\Soap\ServiceType\CONSULTARCFESRECIBIDOS($options);
/**
 * Sample call for CONSULTARCFESRECIBIDOS operation/method
 */
if ($cONSULTARCFESRECIBIDOS->CONSULTARCFESRECIBIDOS(new \App\Soap\StructType\WSCFEV5_CONSULTARCFESRECIBIDOS()) !== false) {
    print_r($cONSULTARCFESRECIBIDOS->getResult());
} else {
    print_r($cONSULTARCFESRECIBIDOS->getLastError());
}
/**
 * Samples for CONSULTARDETALLECFERECIBIDO ServiceType
 */
$cONSULTARDETALLECFERECIBIDO = new \App\Soap\ServiceType\CONSULTARDETALLECFERECIBIDO($options);
/**
 * Sample call for CONSULTARDETALLECFERECIBIDO operation/method
 */
if ($cONSULTARDETALLECFERECIBIDO->CONSULTARDETALLECFERECIBIDO(new \App\Soap\StructType\WSCFEV5_CONSULTARDETALLECFERECIBIDO()) !== false) {
    print_r($cONSULTARDETALLECFERECIBIDO->getResult());
} else {
    print_r($cONSULTARDETALLECFERECIBIDO->getLastError());
}
/**
 * Samples for RESPONDERCFES ServiceType
 */
$rESPONDERCFES = new \App\Soap\ServiceType\RESPONDERCFES($options);
/**
 * Sample call for RESPONDERCFES operation/method
 */
if ($rESPONDERCFES->RESPONDERCFES(new \App\Soap\StructType\WSCFEV5_RESPONDERCFES()) !== false) {
    print_r($rESPONDERCFES->getResult());
} else {
    print_r($rESPONDERCFES->getLastError());
}
/**
 * Samples for CONSULTARCFEESTADOSHISTORICO ServiceType
 */
$cONSULTARCFEESTADOSHISTORICO = new \App\Soap\ServiceType\CONSULTARCFEESTADOSHISTORICO($options);
/**
 * Sample call for CONSULTARCFEESTADOSHISTORICO operation/method
 */
if ($cONSULTARCFEESTADOSHISTORICO->CONSULTARCFEESTADOSHISTORICO(new \App\Soap\StructType\WSCFEV5_CONSULTARCFEESTADOSHISTORICO()) !== false) {
    print_r($cONSULTARCFEESTADOSHISTORICO->getResult());
} else {
    print_r($cONSULTARCFEESTADOSHISTORICO->getLastError());
}
/**
 * Samples for ENVIARNOTIFICACIONES ServiceType
 */
$eNVIARNOTIFICACIONES = new \App\Soap\ServiceType\ENVIARNOTIFICACIONES($options);
/**
 * Sample call for ENVIARNOTIFICACIONES operation/method
 */
if ($eNVIARNOTIFICACIONES->ENVIARNOTIFICACIONES(new \App\Soap\StructType\WSCFEV5_ENVIARNOTIFICACIONES()) !== false) {
    print_r($eNVIARNOTIFICACIONES->getResult());
} else {
    print_r($eNVIARNOTIFICACIONES->getLastError());
}
/**
 * Samples for PREVISUALIZARFORMULARIO ServiceType
 */
$pREVISUALIZARFORMULARIO = new \App\Soap\ServiceType\PREVISUALIZARFORMULARIO($options);
/**
 * Sample call for PREVISUALIZARFORMULARIO operation/method
 */
if ($pREVISUALIZARFORMULARIO->PREVISUALIZARFORMULARIO(new \App\Soap\StructType\WSCFEV5_PREVISUALIZARFORMULARIO()) !== false) {
    print_r($pREVISUALIZARFORMULARIO->getResult());
} else {
    print_r($pREVISUALIZARFORMULARIO->getLastError());
}
