How do I retrieve the WSDL from this service: link
I need the WSDL to add it by Netbeans, there I can only add the WSDL and this is final asmx.
EDIT :
My CLasse looks like this:
String nfeCabecMsg = "<nfeCabecMsg xmlns=\"http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2\">\n"
+ "\n"
+ "<cUF>35</cUF>\n"
+ "\n"
+ "<versaoDados>2.01</versaoDados>\n"
+ "\n"
+ "</nfeCabecMsg>";
String nfeDadosMsg = "<nfeDadosMsg xmlns=\"http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2\" versao=\"2.00\">\n"
+ "\n"
+ "<consStatServ xmlns=\"http://www.portalfiscal.inf.br/nfe\" versao=\"2.00\">\n"
+ "\n"
+ "<tpAmb>1</tpAmb>\n"
+ "\n"
+ "<cUF>35</cUF>\n"
+ "\n"
+ "<xServ>STATUS</xServ>\n"
+ "\n"
+ "</consStatServ>\n"
+ "\n"
+ "</nfeDadosMsg>";
String teste = new CadConsultaCadastro().getCadConsultaCadastroSoap().consultaCadastro(nfeCabecMsg, nfeDadosMsg);
Error:
error: package br.inf.portalfiscal.nfe.wsdl.cadconsultacadastro does not exist
import br.inf.portalfiscal.nfe.wsdl.cadconsultacadastro.CadConsultaCadastro;
Why are you giving this error?