ActiveDelphi - Índice do Fórum ActiveDelphi
.: O site do programador Delphi! :.
 
 FAQFAQ   PesquisarPesquisar   MembrosMembros   GruposGrupos   RegistrarRegistrar 
 PerfilPerfil   Entrar e ver Mensagens ParticularesEntrar e ver Mensagens Particulares   EntrarEntrar 

Consumir WebService wsdl

 
Novo Tópico   Responder Mensagem    ActiveDelphi - Índice do Fórum -> Delphi
Exibir mensagem anterior :: Exibir próxima mensagem  
Autor Mensagem
atiagocl
Novato
Novato


Registrado: Terça-Feira, 11 de Agosto de 2015
Mensagens: 3

MensagemEnviada: Seg Mar 27, 2017 2:27 pm    Assunto: Consumir WebService wsdl Responder com Citação

Como faço para realizar uma Consulta por CNPJ e obter a resposta utilizando a unit criada pelo WebService abaixo.

https://homologa.sil.sp.gov.br/Webservice/Operacionais.svc/basic?wsdl

Descrição:

Método: ConsultarProtocoloPorCNPJ
/// Retorna um array de objetos Solicitacao com base no array de CNPJs informados.
/// Obs: o protocolo é referente ao protocolo mais recente da empresa informada
///
/// Códigos de erro/sucesso na chamada ao método (retornado na variável resultCode):
/// 95 : senha do usuário está expirada
/// 96 : privilégios insuficientes para executar o método
/// 97 : erro interno
/// 98 : parâmetros incorretos
/// 99 : falha de autenticacao
/// 100 : Sucesso
Solicitacao[] ConsultarProtocoloPorCNPJ(public string[] CNPJs, out int resultCode, out string
resultDescription)



Segue a Unit criada pelo WebService

// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : https://homologa.sil.sp.gov.br/Webservice/Operacionais.svc/basic?wsdl
// >Import : https://homologa.sil.sp.gov.br/Webservice/Operacionais.svc/basic?wsdl>0
// >Import : https://homologa.sil.sp.gov.br/Webservice/Operacionais.svc/basic?xsd=xsd0
// Encoding : utf-8
// Version : 1.0
// (27/03/2017 13:24:33 - - $Rev: 76228 $)
// ************************************************************************ //

unit basic;

interface

uses Soap.InvokeRegistry, Soap.SOAPHTTPClient, System.Types, Soap.XSBuiltIns;

const
IS_OPTN = $0001;
IS_UNBD = $0002;
IS_NLBL = $0004;
IS_ATTR = $0010;
IS_REF = $0080;


type

// ************************************************************************ //
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the latter category
// typically map to predefined/known XML or Embarcadero types; however, they could also
// indicate incorrect WSDL documents that failed to declare or import a schema type.
// ************************************************************************ //
// !:unsignedByte - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:short - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:long - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:base64Binary - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:dateTime - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:string - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:int - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:decimal - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:boolean - "http://www.w3.org/2001/XMLSchema"[Gbl]

CancelarCassacaoLicencaRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConfirmarViabilidadeRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
LiberarLicencaCassadaRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarResultadoLicenciamentoRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
CassarLicencaAtivaRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarResultadoViabilidadePreviaRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarProtocolosViabilidadePreviaRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
CNAEClasse = class; { "http://tempuri.org/"[GblCplx] }
CNAEDivisao = class; { "http://tempuri.org/"[GblCplx] }
CNAESecao = class; { "http://tempuri.org/"[GblCplx] }
CNAEGrupo = class; { "http://tempuri.org/"[GblCplx] }
ConsultarPendenciasViabilidadeRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarEmpresaPorCNPJRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarNumeroProtocolosPorCNPJRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarViabilidadePreviaRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarStatusViabilidadeRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
CancelarCassacaoLicencaParameters = class; { "http://tempuri.org/"[GblCplx] }
CassarLicencaAtivaParameters = class; { "http://tempuri.org/"[GblCplx] }
LiberarLicencaCassadaParameters = class; { "http://tempuri.org/"[GblCplx] }
Auxiliar2 = class; { "http://tempuri.org/"[GblCplx] }
AuthenticationHeader2 = class; { "http://tempuri.org/"[Hdr][GblCplx] }
AuthenticationHeader = class; { "http://tempuri.org/"[Hdr][GblElm] }
Porte = class; { "http://tempuri.org/"[GblCplx] }
TipoLogradouro = class; { "http://tempuri.org/"[GblCplx] }
StatusInformarLicenca = class; { "http://tempuri.org/"[GblCplx] }
ResponsavelEmpresa = class; { "http://tempuri.org/"[GblCplx] }
ConsultarEmpresaPorCNPJResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarStatusViabilidadeResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarViabilidadePreviaResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarResultadoLicenciamentoResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
DescricaoMotivoCancelamentoCassacao = class; { "http://tempuri.org/"[GblCplx] }
ConfirmarViabilidadeParameters = class; { "http://tempuri.org/"[GblCplx] }
OrientacaoItem = class; { "http://tempuri.org/"[GblCplx] }
RestricaoOperacaoItem = class; { "http://tempuri.org/"[GblCplx] }
DeclaracaoItem = class; { "http://tempuri.org/"[GblCplx] }
DescricaoMotivoCassacao = class; { "http://tempuri.org/"[GblCplx] }
MotivoTipoViabilidade = class; { "http://tempuri.org/"[GblCplx] }
ConsultarEmpresaPorIdResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarEmpresaPorIdRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
StatusViabilidade = class; { "http://tempuri.org/"[GblCplx] }
RespostaInfo = class; { "http://tempuri.org/"[GblCplx] }
Estado = class; { "http://tempuri.org/"[GblCplx] }
TipoNaturezaJuridica = class; { "http://tempuri.org/"[GblCplx] }
DadosImovel = class; { "http://tempuri.org/"[GblCplx] }
Viabilidade = class; { "http://tempuri.org/"[GblCplx] }
DeclaracaoBombeiro = class; { "http://tempuri.org/"[GblCplx] }
NaturezaJuridica = class; { "http://tempuri.org/"[GblCplx] }
Municipio = class; { "http://tempuri.org/"[GblCplx] }
Orgao = class; { "http://tempuri.org/"[GblCplx] }
Atividade = class; { "http://tempuri.org/"[GblCplx] }
AtividadeAuxiliar = class; { "http://tempuri.org/"[GblCplx] }
AtividadeCNAE = class; { "http://tempuri.org/"[GblCplx] }
ConsultarNumeroProtocolosRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
Cnae2 = class; { "http://tempuri.org/"[GblCplx] }
Empresa = class; { "http://tempuri.org/"[GblCplx] }
InformarResultadoViabilidadeResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarResultadoLicenciamentoAltoRiscoResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarInicioLicenciamentoAltoRiscoResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConfirmarViabilidadeResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarResultadoViabilidadePreviaResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
CassarLicencaAtivaResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
CancelarCassacaoLicencaResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
LiberarLicencaCassadaResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarResultadoViabilidadePreviaParameters = class; { "http://tempuri.org/"[GblCplx] }
InformarInicioLicenciamentoAltoRiscoRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ItemTransacao = class; { "http://tempuri.org/"[GblCplx] }
InformarResultadoViabilidadeParameters = class; { "http://tempuri.org/"[GblCplx] }
Solicitacao = class; { "http://tempuri.org/"[GblCplx] }
ConsultarProtocoloResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarProtocoloPorCNPJResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarResultadoViabilidadeRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
StatusSolicitacaoLicenca = class; { "http://tempuri.org/"[GblCplx] }
IrregularidadeItem = class; { "http://tempuri.org/"[GblCplx] }
InformarResultadoLicenciamentoAltoRiscoRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
InformarInicioLicenciamentoAltoRiscoParameters = class; { "http://tempuri.org/"[GblCplx] }
InformarResultadoLicenciamentoParameters = class; { "http://tempuri.org/"[GblCplx] }
InformarResultadoLicenciamentoAltoRiscoParameters = class; { "http://tempuri.org/"[GblCplx] }
MotivoIndeferimentoMunicipal = class; { "http://tempuri.org/"[GblCplx] }
RestricaoViabilidade = class; { "http://tempuri.org/"[GblCplx] }
Irregularidade = class; { "http://tempuri.org/"[GblCplx] }
RestricaoOperacao = class; { "http://tempuri.org/"[GblCplx] }
OrgaoEstadual = class; { "http://tempuri.org/"[GblCplx] }
Licenca = class; { "http://tempuri.org/"[GblCplx] }
OrientacaoAceite = class; { "http://tempuri.org/"[GblCplx] }
DeclaracaoAceite = class; { "http://tempuri.org/"[GblCplx] }
ConsultarPendenciasViabilidadeResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarNumeroProtocolosPorCNPJResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarProtocoloRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarProtocoloPorCNPJRequest = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarNumeroProtocolosResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
ConsultarProtocolosViabilidadePreviaResponse = class; { "http://tempuri.org/"[Lit][GblElm] }
Orientacao = class; { "http://tempuri.org/"[GblCplx] }
Declaracao = class; { "http://tempuri.org/"[GblCplx] }
MotivoCancelamentoCassacao = class; { "http://tempuri.org/"[GblCplx] }
MotivoCassacao = class; { "http://tempuri.org/"[GblCplx] }
Pergunta = class; { "http://tempuri.org/"[GblCplx] }
PerguntaResposta = class; { "http://tempuri.org/"[GblCplx] }

{$SCOPEDENUMS ON}
{ "http://tempuri.org/"[GblSmpl] }
TipoAtividade = (NaoInformado, CNAE, Auxiliar, Todas);

{$SCOPEDENUMS OFF}

ArrayOfStatusViabilidade = array of StatusViabilidade; { "http://tempuri.org/"[GblCplx] }
ArrayOfViabilidade = array of Viabilidade; { "http://tempuri.org/"[GblCplx] }
ArrayOfRespostaInfo = array of RespostaInfo; { "http://tempuri.org/"[GblCplx] }
ArrayOfInformarResultadoViabilidadePreviaParameters = array of InformarResultadoViabilidadePreviaParameters; { "http://tempuri.org/"[GblCplx] }
ArrayOfMotivoTipoViabilidade = array of MotivoTipoViabilidade; { "http://tempuri.org/"[GblCplx] }
ArrayOfDescricaoMotivoCassacao = array of DescricaoMotivoCassacao; { "http://tempuri.org/"[GblCplx] }
ArrayOfLiberarLicencaCassadaParameters = array of LiberarLicencaCassadaParameters; { "http://tempuri.org/"[GblCplx] }
ArrayOfCassarLicencaAtivaParameters = array of CassarLicencaAtivaParameters; { "http://tempuri.org/"[GblCplx] }
ArrayOfAuxiliar = array of Auxiliar2; { "http://tempuri.org/"[GblCplx] }
ArrayOfCnae = array of Cnae2; { "http://tempuri.org/"[GblCplx] }
ArrayOfConfirmarViabilidadeParameters = array of ConfirmarViabilidadeParameters; { "http://tempuri.org/"[GblCplx] }
ArrayOfCancelarCassacaoLicencaParameters = array of CancelarCassacaoLicencaParameters; { "http://tempuri.org/"[GblCplx] }
ArrayOfDescricaoMotivoCancelamentoCassacao = array of DescricaoMotivoCancelamentoCassacao; { "http://tempuri.org/"[GblCplx] }


// ************************************************************************ //
// XML : CancelarCassacaoLicencaRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
CancelarCassacaoLicencaRequest = class(TRemotable)
private
FParametros: ArrayOfCancelarCassacaoLicencaParameters;
FParametros_Specified: boolean;
procedure SetParametros(Index: Integer; const AArrayOfCancelarCassacaoLicencaParameters: ArrayOfCancelarCassacaoLicencaParameters);
function Parametros_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Parametros: ArrayOfCancelarCassacaoLicencaParameters Index (IS_OPTN) read FParametros write SetParametros stored Parametros_Specified;
end;



// ************************************************************************ //
// XML : ConfirmarViabilidadeRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConfirmarViabilidadeRequest = class(TRemotable)
private
FParametros: ArrayOfConfirmarViabilidadeParameters;
FParametros_Specified: boolean;
procedure SetParametros(Index: Integer; const AArrayOfConfirmarViabilidadeParameters: ArrayOfConfirmarViabilidadeParameters);
function Parametros_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Parametros: ArrayOfConfirmarViabilidadeParameters Index (IS_OPTN) read FParametros write SetParametros stored Parametros_Specified;
end;



// ************************************************************************ //
// XML : LiberarLicencaCassadaRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
LiberarLicencaCassadaRequest = class(TRemotable)
private
FParametros: ArrayOfLiberarLicencaCassadaParameters;
FParametros_Specified: boolean;
procedure SetParametros(Index: Integer; const AArrayOfLiberarLicencaCassadaParameters: ArrayOfLiberarLicencaCassadaParameters);
function Parametros_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Parametros: ArrayOfLiberarLicencaCassadaParameters Index (IS_OPTN) read FParametros write SetParametros stored Parametros_Specified;
end;



// ************************************************************************ //
// XML : InformarResultadoLicenciamentoRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
InformarResultadoLicenciamentoRequest = class(TRemotable)
private
FParametros: InformarResultadoLicenciamentoParameters;
FParametros_Specified: boolean;
procedure SetParametros(Index: Integer; const AInformarResultadoLicenciamentoParameters: InformarResultadoLicenciamentoParameters);
function Parametros_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Parametros: InformarResultadoLicenciamentoParameters Index (IS_OPTN) read FParametros write SetParametros stored Parametros_Specified;
end;



// ************************************************************************ //
// XML : CassarLicencaAtivaRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
CassarLicencaAtivaRequest = class(TRemotable)
private
FParametros: ArrayOfCassarLicencaAtivaParameters;
FParametros_Specified: boolean;
procedure SetParametros(Index: Integer; const AArrayOfCassarLicencaAtivaParameters: ArrayOfCassarLicencaAtivaParameters);
function Parametros_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Parametros: ArrayOfCassarLicencaAtivaParameters Index (IS_OPTN) read FParametros write SetParametros stored Parametros_Specified;
end;



// ************************************************************************ //
// XML : InformarResultadoViabilidadePreviaRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
InformarResultadoViabilidadePreviaRequest = class(TRemotable)
private
FParametros: ArrayOfInformarResultadoViabilidadePreviaParameters;
FParametros_Specified: boolean;
procedure SetParametros(Index: Integer; const AArrayOfInformarResultadoViabilidadePreviaParameters: ArrayOfInformarResultadoViabilidadePreviaParameters);
function Parametros_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Parametros: ArrayOfInformarResultadoViabilidadePreviaParameters Index (IS_OPTN) read FParametros write SetParametros stored Parametros_Specified;
end;

ArrayOfRestricaoOperacao = array of RestricaoOperacao; { "http://tempuri.org/"[GblCplx] }
ArrayOfMotivoIndeferimentoMunicipal = array of MotivoIndeferimentoMunicipal; { "http://tempuri.org/"[GblCplx] }
ArrayOfMotivoCassacao = array of MotivoCassacao; { "http://tempuri.org/"[GblCplx] }
ArrayOfIrregularidade = array of Irregularidade; { "http://tempuri.org/"[GblCplx] }
ArrayOfRestricaoViabilidade = array of RestricaoViabilidade; { "http://tempuri.org/"[GblCplx] }


// ************************************************************************ //
// XML : ConsultarProtocolosViabilidadePreviaRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarProtocolosViabilidadePreviaRequest = class(TRemotable)
private
FdataInicial: TXSDateTime;
FdataFinal: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property dataInicial: TXSDateTime Index (IS_NLBL) read FdataInicial write FdataInicial;
property dataFinal: TXSDateTime Index (IS_NLBL) read FdataFinal write FdataFinal;
end;



// ************************************************************************ //
// XML : CNAEClasse, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
CNAEClasse = class(TRemotable)
private
FId: string;
FId_Specified: boolean;
FCNAEGrupo: CNAEGrupo;
FCNAEGrupo_Specified: boolean;
FIdGrupo: string;
FIdGrupo_Specified: boolean;
FDescricao: string;
FDescricao_Specified: boolean;
FCompreende: string;
FCompreende_Specified: boolean;
FTambemCompreende: string;
FTambemCompreende_Specified: boolean;
FNaoCompreende: string;
FNaoCompreende_Specified: boolean;
FNotasExplicativas: string;
FNotasExplicativas_Specified: boolean;
procedure SetId(Index: Integer; const Astring: string);
function Id_Specified(Index: Integer): boolean;
procedure SetCNAEGrupo(Index: Integer; const ACNAEGrupo: CNAEGrupo);
function CNAEGrupo_Specified(Index: Integer): boolean;
procedure SetIdGrupo(Index: Integer; const Astring: string);
function IdGrupo_Specified(Index: Integer): boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
procedure SetCompreende(Index: Integer; const Astring: string);
function Compreende_Specified(Index: Integer): boolean;
procedure SetTambemCompreende(Index: Integer; const Astring: string);
function TambemCompreende_Specified(Index: Integer): boolean;
procedure SetNaoCompreende(Index: Integer; const Astring: string);
function NaoCompreende_Specified(Index: Integer): boolean;
procedure SetNotasExplicativas(Index: Integer; const Astring: string);
function NotasExplicativas_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property Id: string Index (IS_ATTR or IS_OPTN) read FId write SetId stored Id_Specified;
property CNAEGrupo: CNAEGrupo Index (IS_OPTN) read FCNAEGrupo write SetCNAEGrupo stored CNAEGrupo_Specified;
property IdGrupo: string Index (IS_OPTN) read FIdGrupo write SetIdGrupo stored IdGrupo_Specified;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
property Compreende: string Index (IS_OPTN) read FCompreende write SetCompreende stored Compreende_Specified;
property TambemCompreende: string Index (IS_OPTN) read FTambemCompreende write SetTambemCompreende stored TambemCompreende_Specified;
property NaoCompreende: string Index (IS_OPTN) read FNaoCompreende write SetNaoCompreende stored NaoCompreende_Specified;
property NotasExplicativas: string Index (IS_OPTN) read FNotasExplicativas write SetNotasExplicativas stored NotasExplicativas_Specified;
end;



// ************************************************************************ //
// XML : CNAEDivisao, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
CNAEDivisao = class(TRemotable)
private
FId: string;
FId_Specified: boolean;
FidSecao: string;
FidSecao_Specified: boolean;
FCNAESecao: CNAESecao;
FCNAESecao_Specified: boolean;
FDescricao: string;
FDescricao_Specified: boolean;
FNotasExplicativas: string;
FNotasExplicativas_Specified: boolean;
procedure SetId(Index: Integer; const Astring: string);
function Id_Specified(Index: Integer): boolean;
procedure SetidSecao(Index: Integer; const Astring: string);
function idSecao_Specified(Index: Integer): boolean;
procedure SetCNAESecao(Index: Integer; const ACNAESecao: CNAESecao);
function CNAESecao_Specified(Index: Integer): boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
procedure SetNotasExplicativas(Index: Integer; const Astring: string);
function NotasExplicativas_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property Id: string Index (IS_ATTR or IS_OPTN) read FId write SetId stored Id_Specified;
property idSecao: string Index (IS_OPTN) read FidSecao write SetidSecao stored idSecao_Specified;
property CNAESecao: CNAESecao Index (IS_OPTN) read FCNAESecao write SetCNAESecao stored CNAESecao_Specified;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
property NotasExplicativas: string Index (IS_OPTN) read FNotasExplicativas write SetNotasExplicativas stored NotasExplicativas_Specified;
end;



// ************************************************************************ //
// XML : CNAESecao, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
CNAESecao = class(TRemotable)
private
FId: string;
FId_Specified: boolean;
FDescricao: string;
FDescricao_Specified: boolean;
FNotasExplicativas: string;
FNotasExplicativas_Specified: boolean;
procedure SetId(Index: Integer; const Astring: string);
function Id_Specified(Index: Integer): boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
procedure SetNotasExplicativas(Index: Integer; const Astring: string);
function NotasExplicativas_Specified(Index: Integer): boolean;
published
property Id: string Index (IS_ATTR or IS_OPTN) read FId write SetId stored Id_Specified;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
property NotasExplicativas: string Index (IS_OPTN) read FNotasExplicativas write SetNotasExplicativas stored NotasExplicativas_Specified;
end;



// ************************************************************************ //
// XML : CNAEGrupo, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
CNAEGrupo = class(TRemotable)
private
FId: string;
FId_Specified: boolean;
FIdDivisao: string;
FIdDivisao_Specified: boolean;
FCNAEDivisao: CNAEDivisao;
FCNAEDivisao_Specified: boolean;
FDescricao: string;
FDescricao_Specified: boolean;
FNotasExplicativas: string;
FNotasExplicativas_Specified: boolean;
procedure SetId(Index: Integer; const Astring: string);
function Id_Specified(Index: Integer): boolean;
procedure SetIdDivisao(Index: Integer; const Astring: string);
function IdDivisao_Specified(Index: Integer): boolean;
procedure SetCNAEDivisao(Index: Integer; const ACNAEDivisao: CNAEDivisao);
function CNAEDivisao_Specified(Index: Integer): boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
procedure SetNotasExplicativas(Index: Integer; const Astring: string);
function NotasExplicativas_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property Id: string Index (IS_ATTR or IS_OPTN) read FId write SetId stored Id_Specified;
property IdDivisao: string Index (IS_OPTN) read FIdDivisao write SetIdDivisao stored IdDivisao_Specified;
property CNAEDivisao: CNAEDivisao Index (IS_OPTN) read FCNAEDivisao write SetCNAEDivisao stored CNAEDivisao_Specified;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
property NotasExplicativas: string Index (IS_OPTN) read FNotasExplicativas write SetNotasExplicativas stored NotasExplicativas_Specified;
end;



// ************************************************************************ //
// XML : ConsultarPendenciasViabilidadeRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarPendenciasViabilidadeRequest = class(TRemotable)
private
FProtocolo: string;
FProtocolo_Specified: boolean;
FCNPJ: string;
FCNPJ_Specified: boolean;
procedure SetProtocolo(Index: Integer; const Astring: string);
function Protocolo_Specified(Index: Integer): boolean;
procedure SetCNPJ(Index: Integer; const Astring: string);
function CNPJ_Specified(Index: Integer): boolean;
public
constructor Create; override;
published
property Protocolo: string Index (IS_OPTN) read FProtocolo write SetProtocolo stored Protocolo_Specified;
property CNPJ: string Index (IS_OPTN) read FCNPJ write SetCNPJ stored CNPJ_Specified;
end;



// ************************************************************************ //
// XML : ConsultarEmpresaPorCNPJRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarEmpresaPorCNPJRequest = class(TRemotable)
private
Fcnpj: string;
Fcnpj_Specified: boolean;
procedure Setcnpj(Index: Integer; const Astring: string);
function cnpj_Specified(Index: Integer): boolean;
public
constructor Create; override;
published
property cnpj: string Index (IS_OPTN) read Fcnpj write Setcnpj stored cnpj_Specified;
end;



// ************************************************************************ //
// XML : ConsultarNumeroProtocolosPorCNPJRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarNumeroProtocolosPorCNPJRequest = class(TRemotable)
private
FCnpj: string;
FCnpj_Specified: boolean;
procedure SetCnpj(Index: Integer; const Astring: string);
function Cnpj_Specified(Index: Integer): boolean;
public
constructor Create; override;
published
property Cnpj: string Index (IS_OPTN) read FCnpj write SetCnpj stored Cnpj_Specified;
end;



// ************************************************************************ //
// XML : ConsultarViabilidadePreviaRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarViabilidadePreviaRequest = class(TRemotable)
private
Fprotocolo: Int64;
Fnire: string;
Fnire_Specified: boolean;
Fcnpj: string;
Fcnpj_Specified: boolean;
procedure Setnire(Index: Integer; const Astring: string);
function nire_Specified(Index: Integer): boolean;
procedure Setcnpj(Index: Integer; const Astring: string);
function cnpj_Specified(Index: Integer): boolean;
public
constructor Create; override;
published
property protocolo: Int64 Index (IS_NLBL) read Fprotocolo write Fprotocolo;
property nire: string Index (IS_OPTN) read Fnire write Setnire stored nire_Specified;
property cnpj: string Index (IS_OPTN) read Fcnpj write Setcnpj stored cnpj_Specified;
end;



// ************************************************************************ //
// XML : ConsultarStatusViabilidadeRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarStatusViabilidadeRequest = class(TRemotable)
private
Fprotocolo: string;
Fprotocolo_Specified: boolean;
procedure Setprotocolo(Index: Integer; const Astring: string);
function protocolo_Specified(Index: Integer): boolean;
public
constructor Create; override;
published
property protocolo: string Index (IS_OPTN) read Fprotocolo write Setprotocolo stored protocolo_Specified;
end;



// ************************************************************************ //
// XML : CancelarCassacaoLicencaParameters, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
CancelarCassacaoLicencaParameters = class(TRemotable)
private
FProtocoloSil: string;
FProtocoloSil_Specified: boolean;
FMotivoCancelamentoCassacao: ArrayOfDescricaoMotivoCancelamentoCassacao;
FMotivoCancelamentoCassacao_Specified: boolean;
FProtocoloOrgao: string;
FProtocoloOrgao_Specified: boolean;
procedure SetProtocoloSil(Index: Integer; const Astring: string);
function ProtocoloSil_Specified(Index: Integer): boolean;
procedure SetMotivoCancelamentoCassacao(Index: Integer; const AArrayOfDescricaoMotivoCancelamentoCassacao: ArrayOfDescricaoMotivoCancelamentoCassacao);
function MotivoCancelamentoCassacao_Specified(Index: Integer): boolean;
procedure SetProtocoloOrgao(Index: Integer; const Astring: string);
function ProtocoloOrgao_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property ProtocoloSil: string Index (IS_OPTN) read FProtocoloSil write SetProtocoloSil stored ProtocoloSil_Specified;
property MotivoCancelamentoCassacao: ArrayOfDescricaoMotivoCancelamentoCassacao Index (IS_OPTN) read FMotivoCancelamentoCassacao write SetMotivoCancelamentoCassacao stored MotivoCancelamentoCassacao_Specified;
property ProtocoloOrgao: string Index (IS_OPTN) read FProtocoloOrgao write SetProtocoloOrgao stored ProtocoloOrgao_Specified;
end;



// ************************************************************************ //
// XML : CassarLicencaAtivaParameters, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
CassarLicencaAtivaParameters = class(TRemotable)
private
FProtocoloSil: string;
FProtocoloSil_Specified: boolean;
FMotivoCassacao: ArrayOfDescricaoMotivoCassacao;
FMotivoCassacao_Specified: boolean;
FProtocoloOrgao: string;
FProtocoloOrgao_Specified: boolean;
procedure SetProtocoloSil(Index: Integer; const Astring: string);
function ProtocoloSil_Specified(Index: Integer): boolean;
procedure SetMotivoCassacao(Index: Integer; const AArrayOfDescricaoMotivoCassacao: ArrayOfDescricaoMotivoCassacao);
function MotivoCassacao_Specified(Index: Integer): boolean;
procedure SetProtocoloOrgao(Index: Integer; const Astring: string);
function ProtocoloOrgao_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property ProtocoloSil: string Index (IS_OPTN) read FProtocoloSil write SetProtocoloSil stored ProtocoloSil_Specified;
property MotivoCassacao: ArrayOfDescricaoMotivoCassacao Index (IS_OPTN) read FMotivoCassacao write SetMotivoCassacao stored MotivoCassacao_Specified;
property ProtocoloOrgao: string Index (IS_OPTN) read FProtocoloOrgao write SetProtocoloOrgao stored ProtocoloOrgao_Specified;
end;



// ************************************************************************ //
// XML : LiberarLicencaCassadaParameters, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
LiberarLicencaCassadaParameters = class(TRemotable)
private
FProtocoloSil: string;
FProtocoloSil_Specified: boolean;
FProtocoloOrgao: string;
FProtocoloOrgao_Specified: boolean;
procedure SetProtocoloSil(Index: Integer; const Astring: string);
function ProtocoloSil_Specified(Index: Integer): boolean;
procedure SetProtocoloOrgao(Index: Integer; const Astring: string);
function ProtocoloOrgao_Specified(Index: Integer): boolean;
published
property ProtocoloSil: string Index (IS_OPTN) read FProtocoloSil write SetProtocoloSil stored ProtocoloSil_Specified;
property ProtocoloOrgao: string Index (IS_OPTN) read FProtocoloOrgao write SetProtocoloOrgao stored ProtocoloOrgao_Specified;
end;



// ************************************************************************ //
// XML : Auxiliar, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
Auxiliar2 = class(TRemotable)
private
FId: Byte;
FTexto: string;
FTexto_Specified: boolean;
FAtividade: string;
FAtividade_Specified: boolean;
procedure SetTexto(Index: Integer; const Astring: string);
function Texto_Specified(Index: Integer): boolean;
procedure SetAtividade(Index: Integer; const Astring: string);
function Atividade_Specified(Index: Integer): boolean;
published
property Id: Byte read FId write FId;
property Texto: string Index (IS_OPTN) read FTexto write SetTexto stored Texto_Specified;
property Atividade: string Index (IS_OPTN) read FAtividade write SetAtividade stored Atividade_Specified;
end;



// ************************************************************************ //
// XML : AuthenticationHeader, global, <complexType>
// Namespace : http://tempuri.org/
// Info : Header
// ************************************************************************ //
AuthenticationHeader2 = class(TSOAPHeader)
private
FUsername: string;
FUsername_Specified: boolean;
FPassword: string;
FPassword_Specified: boolean;
procedure SetUsername(Index: Integer; const Astring: string);
function Username_Specified(Index: Integer): boolean;
procedure SetPassword(Index: Integer; const Astring: string);
function Password_Specified(Index: Integer): boolean;
published
property Username: string Index (IS_OPTN) read FUsername write SetUsername stored Username_Specified;
property Password: string Index (IS_OPTN) read FPassword write SetPassword stored Password_Specified;
end;



// ************************************************************************ //
// XML : AuthenticationHeader, global, <element>
// Namespace : http://tempuri.org/
// Info : Header
// ************************************************************************ //
AuthenticationHeader = class(AuthenticationHeader2)
private
published
end;



// ************************************************************************ //
// XML : Porte, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
Porte = class(TRemotable)
private
FId: Integer;
FDescricaoPorte: string;
FDescricaoPorte_Specified: boolean;
procedure SetDescricaoPorte(Index: Integer; const Astring: string);
function DescricaoPorte_Specified(Index: Integer): boolean;
published
property Id: Integer Index (IS_ATTR) read FId write FId;
property DescricaoPorte: string Index (IS_OPTN) read FDescricaoPorte write SetDescricaoPorte stored DescricaoPorte_Specified;
end;



// ************************************************************************ //
// XML : TipoLogradouro, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
TipoLogradouro = class(TRemotable)
private
FId: Integer;
FNomeLogradouro: string;
FNomeLogradouro_Specified: boolean;
procedure SetNomeLogradouro(Index: Integer; const Astring: string);
function NomeLogradouro_Specified(Index: Integer): boolean;
published
property Id: Integer Index (IS_ATTR) read FId write FId;
property NomeLogradouro: string Index (IS_OPTN) read FNomeLogradouro write SetNomeLogradouro stored NomeLogradouro_Specified;
end;



// ************************************************************************ //
// XML : StatusInformarLicenca, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
StatusInformarLicenca = class(TRemotable)
private
FId: Integer;
FDescricao: string;
FDescricao_Specified: boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
published
property Id: Integer Index (IS_ATTR) read FId write FId;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
end;



// ************************************************************************ //
// XML : ResponsavelEmpresa, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
ResponsavelEmpresa = class(TRemotable)
private
FId: Integer;
FIdEmpresa: Integer;
FNomeResponsavel: string;
FNomeResponsavel_Specified: boolean;
FCPFResponsavel: string;
FCPFResponsavel_Specified: boolean;
FCPFAut: string;
FCPFAut_Specified: boolean;
FInclusao: TXSDateTime;
FIdSolicitacao: Integer;
procedure SetNomeResponsavel(Index: Integer; const Astring: string);
function NomeResponsavel_Specified(Index: Integer): boolean;
procedure SetCPFResponsavel(Index: Integer; const Astring: string);
function CPFResponsavel_Specified(Index: Integer): boolean;
procedure SetCPFAut(Index: Integer; const Astring: string);
function CPFAut_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property Id: Integer Index (IS_ATTR) read FId write FId;
property IdEmpresa: Integer read FIdEmpresa write FIdEmpresa;
property NomeResponsavel: string Index (IS_OPTN) read FNomeResponsavel write SetNomeResponsavel stored NomeResponsavel_Specified;
property CPFResponsavel: string Index (IS_OPTN) read FCPFResponsavel write SetCPFResponsavel stored CPFResponsavel_Specified;
property CPFAut: string Index (IS_OPTN) read FCPFAut write SetCPFAut stored CPFAut_Specified;
property Inclusao: TXSDateTime read FInclusao write FInclusao;
property IdSolicitacao: Integer read FIdSolicitacao write FIdSolicitacao;
end;



// ************************************************************************ //
// XML : ConsultarEmpresaPorCNPJResponse, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarEmpresaPorCNPJResponse = class(TRemotable)
private
FEmpresa: Empresa;
FEmpresa_Specified: boolean;
FResultCode: Integer;
FResultDescription: string;
FResultDescription_Specified: boolean;
procedure SetEmpresa(Index: Integer; const AEmpresa: Empresa);
function Empresa_Specified(Index: Integer): boolean;
procedure SetResultDescription(Index: Integer; const Astring: string);
function ResultDescription_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Empresa: Empresa Index (IS_OPTN) read FEmpresa write SetEmpresa stored Empresa_Specified;
property ResultCode: Integer read FResultCode write FResultCode;
property ResultDescription: string Index (IS_OPTN) read FResultDescription write SetResultDescription stored ResultDescription_Specified;
end;



// ************************************************************************ //
// XML : ConsultarStatusViabilidadeResponse, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarStatusViabilidadeResponse = class(TRemotable)
private
Fstatus: ArrayOfStatusViabilidade;
Fstatus_Specified: boolean;
FResultCode: Integer;
FResultDescription: string;
FResultDescription_Specified: boolean;
procedure Setstatus(Index: Integer; const AArrayOfStatusViabilidade: ArrayOfStatusViabilidade);
function status_Specified(Index: Integer): boolean;
procedure SetResultDescription(Index: Integer; const Astring: string);
function ResultDescription_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property status: ArrayOfStatusViabilidade Index (IS_OPTN) read Fstatus write Setstatus stored status_Specified;
property ResultCode: Integer read FResultCode write FResultCode;
property ResultDescription: string Index (IS_OPTN) read FResultDescription write SetResultDescription stored ResultDescription_Specified;
end;



// ************************************************************************ //
// XML : ConsultarViabilidadePreviaResponse, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarViabilidadePreviaResponse = class(TRemotable)
private
FdadosViabilidade: ArrayOfViabilidade;
FdadosViabilidade_Specified: boolean;
FResultCode: Integer;
FResultDescription: string;
FResultDescription_Specified: boolean;
procedure SetdadosViabilidade(Index: Integer; const AArrayOfViabilidade: ArrayOfViabilidade);
function dadosViabilidade_Specified(Index: Integer): boolean;
procedure SetResultDescription(Index: Integer; const Astring: string);
function ResultDescription_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property dadosViabilidade: ArrayOfViabilidade Index (IS_OPTN) read FdadosViabilidade write SetdadosViabilidade stored dadosViabilidade_Specified;
property ResultCode: Integer read FResultCode write FResultCode;
property ResultDescription: string Index (IS_OPTN) read FResultDescription write SetResultDescription stored ResultDescription_Specified;
end;



// ************************************************************************ //
// XML : InformarResultadoLicenciamentoResponse, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
InformarResultadoLicenciamentoResponse = class(TRemotable)
private
FResultados: ItemTransacao;
FResultados_Specified: boolean;
FResultCode: Integer;
FResultDescription: string;
FResultDescription_Specified: boolean;
procedure SetResultados(Index: Integer; const AItemTransacao: ItemTransacao);
function Resultados_Specified(Index: Integer): boolean;
procedure SetResultDescription(Index: Integer; const Astring: string);
function ResultDescription_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Resultados: ItemTransacao Index (IS_OPTN) read FResultados write SetResultados stored Resultados_Specified;
property ResultCode: Integer read FResultCode write FResultCode;
property ResultDescription: string Index (IS_OPTN) read FResultDescription write SetResultDescription stored ResultDescription_Specified;
end;



// ************************************************************************ //
// XML : DescricaoMotivoCancelamentoCassacao, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
DescricaoMotivoCancelamentoCassacao = class(TRemotable)
private
FId: Integer;
FDescricao: string;
FDescricao_Specified: boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
published
property Id: Integer read FId write FId;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
end;



// ************************************************************************ //
// XML : ConfirmarViabilidadeParameters, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
ConfirmarViabilidadeParameters = class(TRemotable)
private
Fprotcolo: string;
Fprotcolo_Specified: boolean;
Fcnpj: string;
Fcnpj_Specified: boolean;
Fnire: string;
Fnire_Specified: boolean;
FtipoAto: Integer;
Fstatus: Integer;
Fcep: string;
Fcep_Specified: boolean;
Flogradouro: string;
Flogradouro_Specified: boolean;
Fbairro: string;
Fbairro_Specified: boolean;
Fnumero: string;
Fnumero_Specified: boolean;
Fcomplemento: string;
Fcomplemento_Specified: boolean;
Freferencia: string;
Freferencia_Specified: boolean;
FidMunicipio: Integer;
FcpfSolicitante: string;
FcpfSolicitante_Specified: boolean;
FdadosImovel: DadosImovel;
FdadosImovel_Specified: boolean;
FdadosCnae: ArrayOfCnae;
FdadosCnae_Specified: boolean;
FdadosAtividadeAuxiliar: ArrayOfAuxiliar;
FdadosAtividadeAuxiliar_Specified: boolean;
FdadosResposta: ArrayOfRespostaInfo;
FdadosResposta_Specified: boolean;
FidAplicacao: string;
FidAplicacao_Specified: boolean;
procedure Setprotcolo(Index: Integer; const Astring: string);
function protcolo_Specified(Index: Integer): boolean;
procedure Setcnpj(Index: Integer; const Astring: string);
function cnpj_Specified(Index: Integer): boolean;
procedure Setnire(Index: Integer; const Astring: string);
function nire_Specified(Index: Integer): boolean;
procedure Setcep(Index: Integer; const Astring: string);
function cep_Specified(Index: Integer): boolean;
procedure Setlogradouro(Index: Integer; const Astring: string);
function logradouro_Specified(Index: Integer): boolean;
procedure Setbairro(Index: Integer; const Astring: string);
function bairro_Specified(Index: Integer): boolean;
procedure Setnumero(Index: Integer; const Astring: string);
function numero_Specified(Index: Integer): boolean;
procedure Setcomplemento(Index: Integer; const Astring: string);
function complemento_Specified(Index: Integer): boolean;
procedure Setreferencia(Index: Integer; const Astring: string);
function referencia_Specified(Index: Integer): boolean;
procedure SetcpfSolicitante(Index: Integer; const Astring: string);
function cpfSolicitante_Specified(Index: Integer): boolean;
procedure SetdadosImovel(Index: Integer; const ADadosImovel: DadosImovel);
function dadosImovel_Specified(Index: Integer): boolean;
procedure SetdadosCnae(Index: Integer; const AArrayOfCnae: ArrayOfCnae);
function dadosCnae_Specified(Index: Integer): boolean;
procedure SetdadosAtividadeAuxiliar(Index: Integer; const AArrayOfAuxiliar: ArrayOfAuxiliar);
function dadosAtividadeAuxiliar_Specified(Index: Integer): boolean;
procedure SetdadosResposta(Index: Integer; const AArrayOfRespostaInfo: ArrayOfRespostaInfo);
function dadosResposta_Specified(Index: Integer): boolean;
procedure SetidAplicacao(Index: Integer; const Astring: string);
function idAplicacao_Specified(Index: Integer): boolean;
public
destructor Destroy; override;
published
property protcolo: string Index (IS_OPTN) read Fprotcolo write Setprotcolo stored protcolo_Specified;
property cnpj: string Index (IS_OPTN) read Fcnpj write Setcnpj stored cnpj_Specified;
property nire: string Index (IS_OPTN) read Fnire write Setnire stored nire_Specified;
property tipoAto: Integer read FtipoAto write FtipoAto;
property status: Integer read Fstatus write Fstatus;
property cep: string Index (IS_OPTN) read Fcep write Setcep stored cep_Specified;
property logradouro: string Index (IS_OPTN) read Flogradouro write Setlogradouro stored logradouro_Specified;
property bairro: string Index (IS_OPTN) read Fbairro write Setbairro stored bairro_Specified;
property numero: string Index (IS_OPTN) read Fnumero write Setnumero stored numero_Specified;
property complemento: string Index (IS_OPTN) read Fcomplemento write Setcomplemento stored complemento_Specified;
property referencia: string Index (IS_OPTN) read Freferencia write Setreferencia stored referencia_Specified;
property idMunicipio: Integer read FidMunicipio write FidMunicipio;
property cpfSolicitante: string Index (IS_OPTN) read FcpfSolicitante write SetcpfSolicitante stored cpfSolicitante_Specified;
property dadosImovel: DadosImovel Index (IS_OPTN) read FdadosImovel write SetdadosImovel stored dadosImovel_Specified;
property dadosCnae: ArrayOfCnae Index (IS_OPTN) read FdadosCnae write SetdadosCnae stored dadosCnae_Specified;
property dadosAtividadeAuxiliar: ArrayOfAuxiliar Index (IS_OPTN) read FdadosAtividadeAuxiliar write SetdadosAtividadeAuxiliar stored dadosAtividadeAuxiliar_Specified;
property dadosResposta: ArrayOfRespostaInfo Index (IS_OPTN) read FdadosResposta write SetdadosResposta stored dadosResposta_Specified;
property idAplicacao: string Index (IS_OPTN) read FidAplicacao write SetidAplicacao stored idAplicacao_Specified;
end;



// ************************************************************************ //
// XML : OrientacaoItem, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
OrientacaoItem = class(TRemotable)
private
FIdCodigo: Integer;
FDescricao: string;
FDescricao_Specified: boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
published
property IdCodigo: Integer Index (IS_NLBL) read FIdCodigo write FIdCodigo;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
end;



// ************************************************************************ //
// XML : RestricaoOperacaoItem, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
RestricaoOperacaoItem = class(TRemotable)
private
FIdCodigo: Integer;
FDescricao: string;
FDescricao_Specified: boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
published
property IdCodigo: Integer Index (IS_NLBL) read FIdCodigo write FIdCodigo;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
end;



// ************************************************************************ //
// XML : DeclaracaoItem, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
DeclaracaoItem = class(TRemotable)
private
FIdCodigo: Integer;
FDescricao: string;
FDescricao_Specified: boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
published
property IdCodigo: Integer Index (IS_NLBL) read FIdCodigo write FIdCodigo;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
end;



// ************************************************************************ //
// XML : DescricaoMotivoCassacao, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
DescricaoMotivoCassacao = class(TRemotable)
private
FId: Integer;
FDescricao: string;
FDescricao_Specified: boolean;
procedure SetDescricao(Index: Integer; const Astring: string);
function Descricao_Specified(Index: Integer): boolean;
published
property Id: Integer read FId write FId;
property Descricao: string Index (IS_OPTN) read FDescricao write SetDescricao stored Descricao_Specified;
end;



// ************************************************************************ //
// XML : MotivoTipoViabilidade, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
MotivoTipoViabilidade = class(TRemotable)
private
FidMotivo: Integer;
FdsTipoMotivo: string;
FdsTipoMotivo_Specified: boolean;
FdsTextoMotivo: string;
FdsTextoMotivo_Specified: boolean;
procedure SetdsTipoMotivo(Index: Integer; const Astring: string);
function dsTipoMotivo_Specified(Index: Integer): boolean;
procedure SetdsTextoMotivo(Index: Integer; const Astring: string);
function dsTextoMotivo_Specified(Index: Integer): boolean;
published
property idMotivo: Integer read FidMotivo write FidMotivo;
property dsTipoMotivo: string Index (IS_OPTN) read FdsTipoMotivo write SetdsTipoMotivo stored dsTipoMotivo_Specified;
property dsTextoMotivo: string Index (IS_OPTN) read FdsTextoMotivo write SetdsTextoMotivo stored dsTextoMotivo_Specified;
end;



// ************************************************************************ //
// XML : ConsultarEmpresaPorIdResponse, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarEmpresaPorIdResponse = class(TRemotable)
private
FEmpresa: Empresa;
FEmpresa_Specified: boolean;
FResultCode: Integer;
FResultDescription: string;
FResultDescription_Specified: boolean;
procedure SetEmpresa(Index: Integer; const AEmpresa: Empresa);
function Empresa_Specified(Index: Integer): boolean;
procedure SetResultDescription(Index: Integer; const Astring: string);
function ResultDescription_Specified(Index: Integer): boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Empresa: Empresa Index (IS_OPTN) read FEmpresa write SetEmpresa stored Empresa_Specified;
property ResultCode: Integer read FResultCode write FResultCode;
property ResultDescription: string Index (IS_OPTN) read FResultDescription write SetResultDescription stored ResultDescription_Specified;
end;



// ************************************************************************ //
// XML : ConsultarEmpresaPorIdRequest, global, <element>
// Namespace : http://tempuri.org/
// Serializtn: [xoLiteralParam]
// Info : Wrapper
// ************************************************************************ //
ConsultarEmpresaPorIdRequest = class(TRemotable)
private
FidEmpresa: Integer;
public
constructor Create; override;
published
property idEmpresa: Integer read FidEmpresa write FidEmpresa;
end;



// ************************************************************************ //
// XML : StatusViabilidade, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
StatusViabilidade = class(TRemotable)
private
Fnr_protocolo: string;
Fnr_protocolo_Specified: boolean;
FTipoAto: Integer;
FsttViabilidade: Byte;
FdsViabilidade: string;
FdsViabilidade_Specified: boolean;
procedure Setnr_protocolo(Index: Integer; const Astring: string);
function nr_protocolo_Specified(Index: Integer): boolean;
procedure SetdsViabilidade(Index: Integer; const Astring: string);
function dsViabilidade_Specified(Index: Integer): boolean;
published
property nr_protocolo: string Index (IS_OPTN) read Fnr_protocolo write Setnr_protocolo stored nr_protocolo_Specified;
property TipoAto: Integer read FTipoAto write FTipoAto;
property sttViabilidade: Byte read FsttViabilidade write FsttViabilidade;
property dsViabilidade: string Index (IS_OPTN) read FdsViabilidade write SetdsViabilidade stored dsViabilidade_Specified;
end;



// ************************************************************************ //
// XML : RespostaInfo, global, <complexType>
// Namespace : http://tempuri.org/
// ************************************************************************ //
RespostaInfo = class(TRemotable)
private
FIDSecretaria: Integer;
FResposta: string;
FResposta_Specified: boolean;
FIDPergunta: Integer;
FPergunta: string;
FPergunta_Specified: boolean;
FOrientacao: string;
FOrientacao_Specified: boolean;
FidRisco: Byte;
FRisco: string;
FRisco_Specified: boolean;
FIDCnae: string;
FIDCnae_Specified: boolean;
procedure SetResposta(Index: Integer; const Astring: string);
function Resposta_Specified(Index: Integer): boolean;
procedure SetPergunta(Index: Integer; const Astring: string);
function Pergunta_Specified(Index: Integer): boolean;
procedure SetOrientacao(Index: Integer; const Astring: string);
function Orientacao_Specified(Index: Integer): boolean;
procedure SetRisco(Index: Integer; const Astring: string);
function Risco_Specified(Index: Integer): boolean;
procedure SetIDCnae(Index: Integer; const Astring: string);
function IDCnae_Specified(Index: Integer): boolean;
published
property IDSecretaria: Integer read FIDSecretaria write FIDSecretaria;
property Resposta: string Index (IS_OPTN) read FResposta write SetResposta stored Resposta_Specified;
property IDPergunta: Integer read FIDPergunta write FIDPergunta;
property Pergunta: string Index (IS_OPTN) read FPergunta write SetPe
Voltar ao Topo
Ver o perfil de Usuários Enviar Mensagem Particular
Mostrar os tópicos anteriores:   
Novo Tópico   Responder Mensagem    ActiveDelphi - Índice do Fórum -> Delphi Todos os horários são GMT - 3 Horas
Página 1 de 1

 
Ir para:  
Enviar Mensagens Novas: Proibido.
Responder Tópicos Proibido
Editar Mensagens: Proibido.
Excluir Mensagens: Proibido.
Votar em Enquetes: Proibido.


Powered by phpBB © 2001, 2005 phpBB Group
Traduzido por: Suporte phpBB