@ javax.jws.WebService is part of the JDK
You may also need:
org.jboss.ws.api.annotation.WebContext;
which has the ability to configure authMethod @WebContext (authMethod = AuthMethod.BASIC) and is part of
<dependency> <groupId>org.jboss.ws</groupId> <artifactId>jbossws-api</artifactId> <version>1.0.0.GA</version> </dependency>
source share