problème avec l'annotation denyall ?!?
Bonjour,
j'essai d'utiliser l'annotation des ejb3 pour mon webservice comme ceci :
Code:
1 2 3 4 5 6 7 8 9 10 11
|
@Stateless
@WebService(endpointInterface="webservice.MaCalculette", serviceName = "MaSwCalculette")
public class MaCalculetteBean implements MaCalculette {
@DenyAll
public int add(int x, int y) {
System.out.println("'add' method has been called");
return x + y;
} |
Et lorsque le client de mon web service appel la methode add, il n'y a aucune restriction, but, where is the problem ???