Ejemplo n.º 1
0
 @WebMethod(operationName = "times")
 public int times(int x, int y) throws NegativeNumberException {
   return positiveCalculatorService.times(x, y);
 }
Ejemplo n.º 2
0
 @WebMethod(operationName = "add")
 public int add(int x, int y) throws NegativeNumberException {
   return positiveCalculatorService.add(x, y);
 }