Boa tarde.
Verificamos que o WebService de produção da Prefeitura de São Caetano do Sul - SP está retornando o status da consulta de um lote de envio de RPS como "2-Não processado" para um lote enviado há mais de uma hora.
Segue XML da Consulta:
<?xml version="1.0" encoding="UTF-8"?><ConsultarSituacaoLoteRpsEnvio xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.ginfes.com.br/servico_consultar_situacao_lote_rps_envio_v03.xsd"><Prestador><Cnpj xmlns="http://www.ginfes.com.br/tipos_v03.xsd">58048000000141</Cnpj><InscricaoMunicipal xmlns="http://www.ginfes.com.br/tipos_v03.xsd">52140</InscricaoMunicipal></Prestador><Protocolo>68875485</Protocolo><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>wZ4H4r3kG2bCzP7qKucKNOW++0Q=</DigestValue></Reference></SignedInfo><SignatureValue>06xlq+v8bQznCI/65uPkn6mmm5oOD7cdp8alHwPXw1Rwj81Dqiv9LvPiNYjM6eGQDFfgD01sg8HNRHkpGThD7uv+K2QToUlOxNJDbL7P2vjNAHAey7VdYYIX6Bmfg5aBy3d8b3rFTLghPIbOXCU2l9AJBx2iJHk6Ekzol1auzC+eXa+5v0QbuFxjq/Oedz1eB78NUSQwsFflNta7NRhEDq+ktsBkDjkpiu/AUMyTQUH71OhSKWTRByAvXwwOvRo1XFIlRdOw4FbZQ+wIxrjoyzbz8Mo4fZGoLKgEF6Aj1Tq8BwyL9JTjkRGIFH262qgBS1WFTHQRijIkc7oOx1fbFQ==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIIJTCCBg2gAwIBAgIQMmjNv9fX6oEQfGRNytlLCzAN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T/bYByL1g4IGBm9ATNFuBLbXSfhCqhScEZuhUCv4ZEFTqP7Y0Bxi2rR55l7JPyn5hZoMLcrnzHhG5hmCYh53pA/NBJD72zpUDr86Szg6wRe2sL+VFpCdwjyiYPDOViDXgoS/9/C5tncb+lFhunTm6D1RyYXq8pD39StQWv1WpcFLfA0TS2uGynEtCC8pgznrTZnEhe4yKJJak2TzF7AaR8VBAkgo1m8PHeGyH//dKaocBcfrACFYFkicocKhNoNcRibBuSy/dC4iXnk6+YaFqSrkVLlilP8LvOnRrSChrMQKArc+aWA1aJwT512p/8yhfrFiBAPpnSIVcWv3UKZxJcI5eyF4QslVPvIKv3PdBLRltfiAOMlyXjGu9eFsgyrjxUjgbKHYF9XgXF15QIq7TPSTX8h6CYmr8DBFWpMgGtf1wdJOXkRwV3IebI+aLOW7Vxp5rWoeUpY25J1ca0qSC9zlJl9eB9QE6LrPyMrlAlhyuZbdB1Yp1ARXE88LwttO/GmTgy7hhOvyvxPHyk6gaSem6M06EGdnXsV3R301liSvKXswi51TOmyVcLPyQ5JO4dqfYkivuhuM+bl8Z5N0JMSiJv+srdPv8I8Tx6mYxWsjHarMqn+gZQ==</X509Certificate></X509Data></KeyInfo></Signature></ConsultarSituacaoLoteRpsEnvio>
XML da resposta da Prefeitura:
<?xml version="1.0" encoding="UTF-8"?><ns3:ConsultarSituacaoLoteRpsResposta xmlns:ns2="http://www.ginfes.com.br/tipos_v03.xsd" xmlns:ns3="http://www.ginfes.com.br/servico_consultar_situacao_lote_rps_resposta_v03.xsd"><ns3:NumeroLote>602863248</ns3:NumeroLote><ns3:Situacao>2</ns3:Situacao></ns3:ConsultarSituacaoLoteRpsResposta>
Alguém está enfrentando o mesmo problema?
Alguma ideia do motivo pelo qual a Prefeitura sempre retorno "2-Não processado"?
Observação: o status está definido no manual de integração disponível em "http://saocaetano.ginfes.com.br/"
At.
Felipe Nascimento