Páginas filhas
  • 12265765 DSERTSS2-9199 DT - TSS - Formosa-GO - NFSE - Tratamento WSCERR047 / XML Error error parsing attribute name


01. DADOS GERAIS

Produto:

TSS

Linha de Produto:

Linha Protheus

Segmento:

Serviços

Módulo:NFSE
Função:TssProcNfse.prw
País:Brasil
Ticket:12265765
Requisito/Story/Issue (informe o requisito relacionado) :DSERTSS2-9199


02. SITUAÇÃO/REQUISITO

  • Indentificado que ao enviar uma remessa com o atributo Id da tag LoteRps com 23 Caracteres  , o provedor retorna um xml com um estrutura inconsistente gerando o erro abaixo:
WSCERR047 / XML Error error parsing attribute name
attributes construct error
xmlParseStartTag: problem parsing attributes
Couldn't find end of Start Tag soapenv:Body line 1
XML declaration allowed only at the start of the document
Premature end of data in tag soapenv:Envelope line 1
 ( POST in http://gestao.formosa.go.gov.br/prodataws/services/NfseWSService )
 HEADER:[HTTP/1.1 200 OK
Server: nginx
Date: Thu, 26 Aug 2021 11:37:14 GMT
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: Undertow/1
Set-Cookie: JSESSIONID=4Aqq2Ehc24NM85BBvWOA3EdIdcQ9uPhxHLsD5E0b.srv-pref-formosa; path=/prodataws
] POST-RETURN:[<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>RecepcionarLoteRpsResponse cannot be null!</faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>]
ADVPL WSDL Client 1.120703 / TOTVS  MSSQL Sped on 20210826 08:37:14


03. SOLUÇÃO

  • Foi alterado o formato da informação enviada no atributo Id, será enviado somente a numeração sequencial do lote

04. DEMAIS INFORMAÇÕES

  • Não Há


05. ASSUNTOS RELACIONADOS

  • Não Há