Boa tarde pessoal, sou novo no fórum, gostaria de pedir uma ajuda para vocês, estou tentando enviar o evento 1210, porém estou tomando um erro que não estou conseguindo resolver. quem poder dar uma luz.
ERRO:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode>
<faultstring xml:lang="en-US">O documento enviado não é um xml válido do eSocial. Não há a tag <eSocial> com namespace http://www.esocial.gov.br/schema/lote/eventos/envio/v1_1_1</faultstring>
<detail>
<ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<HelpLink i:nil="true"/>
<InnerException i:nil="true"/>
<Message>O documento enviado não é um xml válido do eSocial. Não há a tag <eSocial> com namespace http://www.esocial.gov.br/schema/lote/eventos/envio/v1_1_1</Message>
<StackTrace>at Serpro.ESocial.LoteEventos.Ws.EnviarLoteEventos.OperationInvoker.OperationInvokerEnviarLote.DeserializeRequest(Message message, Object[] parameters) in E:\Jenkins2\Slaves\workspace\DEBHE\DE604\EnviarLoteEventos\src\Serpro.eSocial.LoteEventos.Ws.EnviarLoteEventos\OperationInvoker\OperationInvokerEnviarLote.cs:line 47
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</StackTrace>
<Type>System.Exception</Type>
</ExceptionDetail>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Requisição URL (https://webservices.producaorestrita.esocial.gov.br/servicos/empregador/enviarloteeventos/WsEnviarLoteEventos.svc) :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/v1_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<v1:EnviarLoteEventos>
<!--Optional:-->
<v1:loteEventos>
<eSocial xmlns="http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/v1_1_1"
xmlns:ns6="http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/v1_1_1" xsi:schemaLocation="http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/v1_1_1">
<envioLoteEventos grupo="1">
<ideEmpregador>
<tpInsc>2</tpInsc>
<nrInsc>12345678901</nrInsc>
</ideEmpregador>
<ideTransmissor>
<tpInsc>1</tpInsc>
<nrInsc>12345678904321</nrInsc>
</ideTransmissor>
<eventos>
<evento>
<eSocial xmlns="http://www.esocial.gov.br/schema/evt/evtPgtos/v_S_01_00_00"
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" xsi:schemaLocation="http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/v1_1_1">
<evtPgtos Id="ID0000000000000000000000000000001501">
<ideEvento>
<indRetif>2</indRetif>
<perApur>2021-09</perApur>
<indGuia>1</indGuia>
<tpAmb>9</tpAmb>
<procEmi>1</procEmi>
<verProc>0.1</verProc>
</ideEvento>
<ideEmpregador>
<tpInsc>2</tpInsc>
<nrInsc>12345678901</nrInsc>
</ideEmpregador>
<ideBenef>
<cpfBenef>12345678901</cpfBenef>
<infoPgto>
<dtPgto>2021-11-09</dtPgto>
<tpPgto>4</tpPgto>
<perRef>2021-09</perRef>
<ideDmDev>Marmita</ideDmDev>
<vrLiq>100.0</vrLiq>
</infoPgto>
<infoPgto>
<dtPgto>2021-05-05</dtPgto>
<tpPgto>5</tpPgto>
<perRef>2021-05</perRef>
<ideDmDev>Comida</ideDmDev>
<vrLiq>200.0</vrLiq>
</infoPgto>
</ideBenef>
</evtPgtos>
<ns2:Signature >
<ns2:SignedInfo>
<ns2:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<ns2:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<ns2:Reference URI="">
<ns2:Transforms>
<ns2:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ns2:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
</ns2:Transforms>
<ns2:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ns2:DigestValue>blablabla</ns2:DigestValue>
</ns2:Reference>
</ns2:SignedInfo>
<ns2:SignatureValue>blablabla</ns2:SignatureValue>
<ns2:KeyInfo>
<ns2:X509Data>
<ns2:X509Certificate>blablabla</ns2:X509Certificate>
</ns2:X509Data>
</ns2:KeyInfo>
</ns2:Signature>
</eSocial>
</evento>
</eventos>
</envioLoteEventos>
</eSocial>
</v1:loteEventos>
</v1:EnviarLoteEventos>
</soapenv:Body>
</soapenv:Envelope>