Estou criando o WS para testes pelo jax-ws, mas apresenta problema na criação com a linha abaixo
wsgen -cp WsPegaLista.java -wsdl -r C:\java\Eclipse\eclipse\workspace\ws\ProjWS\WebContent\Services
aparece o erro
Missing SEIminha classe é essa:
@WebService
@SOAPBinding(parameterStyle=ParameterStyle.BARE)
public class WsPegaLista {
@WebMethod
public PegaListaResponse pegaLista(){
PegaListaResponse response = new PegaListaResponse();
response.setNomes(FuncoesService.getListaRicos());
return response;
}
}
Pq não consigo gerar o wsdl?