Erro ao usar wsimport do wsdl da NFe de consulta

0 respostas
E

Seguinte estou tendo um erro ao gerar o wsdl de consulta de NFe

Primeiro eu extrai o wsdl para meu pc, depois eu dei esse comando

wsimport -s C:\Projetos\Cert\src\ -d C:\Projetos\Cert\src\ C:\caminho\teste.wsdl

ele gera algumas classes só, não todas, como é correto fazer?

[WARNING] Ignoring SOAP port "NfeConsulta2Soap12": it uses non-standard SOAP 1.2 binding.
You must specify the "-extension" option to use this binding.
  line 66 of file:/C:/Projetos/LerCertificadoPfat/wsdlNfe.wsdl

[WARNING] Service "NfeConsulta2" does not contain any usable ports. try running wsimport with -extension switch.
  line 65 of file:/C:/Projetos/LerCertificadoPfat/wsdlNfe.wsdl
Criado 3 de junho de 2014
Respostas 0
Participantes 1