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