axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: Re [Axis2]: REST / HTTP Get support
Date Fri, 11 Aug 2006 09:55:50 GMT
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: axis-c-dev-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>>>
>>>>
>>>
>>> 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: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>
>>
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message