Title: RE: How to make CalcClient respond to GET/POST requests?

Ingrid wrote:
> http://localhost/axis/Calculator.jws?method=add&i1=5&i2=6 ??
>                                      ^^^^^^

Yes, that's it!  But now I have a strange result with subtract:

http://localhost/axis/Calculator.jws?method=subtract&i1=25&i2=10

Gives:
-15

This is the Calculator.jws that's in the manual.  The subtract method is:
 public int subtract(int i1, int i2)
  {
    return i1 - i2;
  }

It's still very early here, but I think 25 minus 10 is positive 15!

Can anyone explain why it returns negative 15?

--
Wendy Smoak
Applications Systems Analyst, Sr.
Public Affairs, Information Resources Management
Arizona State University, Tempe AZ

Reply via email to