1
I have the following method in a SOAP Web Service running through Glassfish 4.1.1:
@WebService(serviceName = "CalculatorWS")
@Stateless()
public class CalculatorWS {
@WebMethod(operationName = "add")
public int add(@WebParam(name = "i") int i, @WebParam(name = "j") int j) {
return i + j;
}
}
When trying to run it, the following error is returned to me: