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

I'm new (again) to Axis, having successfully done a .jws service once in the past but then wandered away to work on other things.  So now I have a requirement to accept some XML over HTTP (eventually HTTPS), turn it into a Java object and then use the existing DAO layer to write a database record.

First, do I have the right acronym?  I think Axis running under Tomcat will do this, but stop me now if I ought to be using JMS or one of the other zillion acronyms I'm vaguely aware of.

Axis is installed, happyaxis.jsp is happy, etc.  I copied Calculator.java to Calculator.jws and can view the WSDL.  In preparation for my own web service that needs to respond to GET or POST requests, I would like to figure out how to add two numbers with the parameters on the URL.

I tried:
http://localhost/axis/Calculator.jws?operation=add&i1=5&i2=6
And got
AXIS error: invoking via GET
No method!

Do I need to add a method to Calculator.jws?  Is this possible?

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

Reply via email to