1
I am creating the class that implements the WS call and when 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 attribute name, the service is published, but with the name of the class. I’m using Eclipse Neon and JAVA 8.
Follow below, 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... }