have defined a Java Interface with the annotation @WebService Compiled the code which went fine
Example:
@WebService public interface H
To define the endpointInterface is usefull because @WebParam annotations of the interface methodes are working without defining them again in the implementation class.