Hi All,
I read Axis2c handles the REST request aswell by just chaning the
config file axis.xml or through the function
axis2_options_set_enable_rest(...).
1. Does this tool handles the REST requests?
2. How to test the REST handling?
3. How to compare the SOAP code flow and REST code flow?
I tried to figure out the difference in following ways:
A. When I tried to see the backtrace (on GDB) of a soap request
sample [of Calculator sample] and the rest request sample [echo_rest sample], I
got exactly same dump for both
the flows.
B. When i tried to print out the request message constructed in
echo_rest.c it printed me:
http://ws.apache.org/axis2/services/echo";>Hello
World!
Now I commented the axis2_options_set_enable_rest(...) statement
and tried to print the same request message constructed and got the following
message printed:
http://www.w3.org/2003/05/soap-envelope";>http://ws.apache.org/axis2/services/echo";>Hello
World!
Is this what the difference is? Is this the REST request which
got printed?
FYI: I am using the Axis2/C 1.3.0 version.
Eagerly waiting for your response.
Thanks & Regards,
Vamsi Krishna M
Vamsi, IIIT-Hyd.