I am creating the class that implements the WS call and trying to include the name attribute, this error appears:
"@WebService annotation contains an endpointInterface attribute. No name attribute allowed"
Does anyone know why? If I remove the name attribute, the service is published, but with the name of the class. I'm using Eclipse Neon and JAVA 8.
The following is an excerpt from the code:
[...]
@WebService(name="incluirConta", endpointInterface="br.com.ws.teste.prestacao.IncluirContaWSService", portName="IncluirContaWSService", serviceName="endpoints")
@Stateless public class IncluirContasImpl extends BaseServico implements IncluirContas { //metodos omitidos... }