Quando executo o wsdl2java no WSDL do Webservice de Consulta Cadastro de MG, recebo o seguinte erro:
Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element retConsCad from the parent schema http://www.portalfiscal.inf.br/nfe/wsdl/CadConsultaCadastro2
Alguém passou por isso ?
Obrigado