Jean-Sebastien Delfino wrote:
Samisa Abeysinghe wrote:
Jean-Sebastien Delfino wrote:
Samisa Abeysinghe wrote:
Jean-Sebastien Delfino wrote:
Hi,

I'm working on the Apache Tuscany/C++ SCA runtime project and we are already using Axis2/C to implement our (SOAP) Web Service binding support. I'd like to add a REST binding, and wondering if I can use Axis2 as well for this. Do you support REST HTTP Get? Is there any sample showing your support for REST that I could use as a starting point?
Yes we have implemented this, you can try with the math sample; run the simple axis server and try:
http://localhost:9090/axis2/services/math/add?param1=10&param2=20

Samisa...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cool! which version of Axis2c should I use? I'm using the 0.92 release on Linux and with http://localhost:9090/axis2/services/math/add?param1=10&param2=20, axis2_http_server is giving me a Segmentation fault.
Please use the latest svn head. We added this after 0.92

Samisa...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



OK, I'll do that. Thanks!

Another related question: Can I use Axis2c to send a REST HTTP Get request as a client? Do you have sample showing this or can you give me a pointer to what options/configuration I need to set up on the client?
Yes we do have a GET sample. Please have a look at samples/user_guide/clients/echo_rest.c.
If you run this sample with:
echo_rest  -mGET
it will do a GET request in place of a POST request.
For more information on this sample run: echo_rest  -h

Thanks,
Samisa...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to