Hello.

A am Juraj from Technical university in Slovakia. Currently I am working on my diploma thesis. In my application I am dealing with securing web services. I have successfully deployed service that listens to both http and https requests. I defined security-constraint in web.xml file of axis webapp but only for HTTP POST requests. In the client part of application I would like to choose between SSL enabled or disabled communication.. So, if I call a service by HTTP POST method, the communication is secured by SSL. But if I want to call a service via unsecured HTTP, I need to use HTTP GET method. I am using Axis 1.2, where HTTP POST is default. Is there a possibility to change it? A have read, that Axis 2.0 supports REST calls... ( http://ws.apache.org/axis2/0_94/rest-ws.html )
But there is just a client code sample for HTTP POST !
Can you provide a code sample for HTTP GET ?
After some searching I've found this:
http://www.mail-archive.com/[email protected]/msg09160.html
But I couldn't find any RESPCall class packaged: org.apache.axis2.clientapi.RESTCall

If possible, I would like to stay by using Axis 1.2. If RESP call is the only way how to use HTTP GET method, then I'll change it to 2.0 version. In that case I would really appreciate a client code sample.

Thank you.
Yours sincerely, Juraj Grigel


Reply via email to