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