3
I am initiating the EFD-Reinf Information Submission Tests in C#.
By Visual Studio, I added a Service Reference
in my project with the URL:
https://preprodefdreinf.receita.fazenda.gov.br/wsreinf/RecepcaoLoteReinf.svc?singleWsdl
I have the digital certificate installed on my machine.
He requests permission to use the key:
It loads the available services, click OK and the service is available to me. I can instantiate, etc.
I ask, how should I proceed from there?
Because with other Webservices, like the Post Office, I did this way: instantiated, passed the parameters and WS returned me with the answer, and with the EFD-Reinf I do not know how to pass such parameters.
For those who have already developed, this is the best way to send the events of EFD-Reinf?
Thank you so much Pedro!!. I got it.! I just had to migrate from Visual Studio 2010 to Visual Studio 2017 because of the framework!. Just returning a batch version error: <Description>Invalid batch version. Use version 1.04.00. </Description>. Should I open another question or continue in this post?
– Vagner Costa
Vagner, good that it worked! But the best way to thank for a reply is to mark it as accepted by clicking on the visa sign ( ). When you reach 15 reputation points you can also vote in favour of an answer or question. See: Someone answered me and Why vote?. Also do the [tour], for an initial explanation of how the site works.
– Pedro Gaspar
You better open up another question, Vagner, because it’s another entirely different question. But you can put a link to that question, in your new question, to better contextualize and not need to repeat text and code.
– Pedro Gaspar
Although, in this my reply, has the link to the XSD Schemes at the end, and there is a link to the XSD Communication Package v1.4, which is the most current and what should be used. It will probably just be you upgrade to this schema which should work.
– Pedro Gaspar