1
I’m trying to automate Sintegra consultations here at my company. I am trying to implement in VB.NET (company software language), the consultation through the webservice provided by Sefaz (https://sef.sefaz.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro2.asmx)
However, at the time of calling the service, passing the header and the message, VS returns me the following error:
System.Web.Services.Protocols.Soapheaderexception: SOAP header Action was not understood. at System.Web.Services.Protocols.Soapheaderhandling.Setheadermembers(Soapheadercollection headers, Object target, Soapheadermapping[] mappings, Soapheaderdirection Direction, Boolean client) at System.Web.Services.Protocols.Soapserverprotocol.Createserverinstance() At System.Web.Services.Protocols.Webservicehandler.Invoke() at System.Web.Services.Protocols.Webservicehandler.Coreprocessrequest()
I’ve searched several forums about a solution. So far nothing.
Post your code, it’s necessary...
– Marcelo Aymone
the code did not fit here. I will provide the download link via Dropbox https://www.dropbox.com/s/6g31g0hzav8lf8y/codigo.txt
– Igor Piffer