You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Dave Meier <DM...@SERENA.com> on 2006/10/31 18:17:17 UTC

Axis2C REST with POST

Hi,

I've been able to make REST style calls using the query string, but am
wondering how to use REST with POST.  Is there an example of this
anywhere?

Thanks,

-Dave.

**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2] Rampart build system

Posted by Kaushalye Kapuruge <ka...@wso2.com>.
Dinesh Premalal wrote:
> Hi,
>
> Samisa Abeysinghe <sa...@gmail.com> writes:
>
>   
>> There are couple of issues with rampart build:
>> 1. It installs the libs to deploy/rampart/rampart/rampart be default -
>> this is wired; why three levels?
>>     
> Don't know whether I already miss the answer for this
> thread. axis2c-412  issue is related to this issue. Please close that
> issue if we have any special reason to keep three levels.
>   
See my comments on this in... 
https://issues.apache.org/jira/browse/AXIS2C-412
> thanks,
> Dinesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: [Axis2] Rampart build system

Posted by Dinesh Premalal <xy...@gmail.com>.
Hi,

Samisa Abeysinghe <sa...@gmail.com> writes:

> There are couple of issues with rampart build:
> 1. It installs the libs to deploy/rampart/rampart/rampart be default -
> this is wired; why three levels?
Don't know whether I already miss the answer for this
thread. axis2c-412  issue is related to this issue. Please close that
issue if we have any special reason to keep three levels.

thanks,
Dinesh

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


[Axis2] Rampart build system

Posted by Samisa Abeysinghe <sa...@gmail.com>.
There are couple of issues with rampart build:
1. It installs the libs to deploy/rampart/rampart/rampart be default - 
this is wired; why three levels?
2. No build.sh in samples
3. I would like the samples build included in rampart build.sh like in 
the case of main build.sh

Thanks,
Samisa...


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Axis2C REST with POST

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Dave Meier wrote:
> Hi,
>
> I've been able to make REST style calls using the query string, but am
> wondering how to use REST with POST.  Is there an example of this
> anywhere?
>   
Have a look at samples/user_guide/clients/echo_rest.c

Samisa...


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Axis2C REST with POST

Posted by Nandika Jayawardana <ja...@gmail.com>.
HI Dave,
There is an example of how to use REST POST in samples/user_guide folder,
When you specify

 AXIS2_OPTIONS_SET_PROPERTY(options, env, AXIS2_ENABLE_REST,
            AXIS2_VALUE_TRUE);

post will be used. It can be changed to use GET by using following code.

 AXIS2_OPTIONS_SET_PROPERTY(options, env, AXIS2_HTTP_METHOD,
                AXIS2_HTTP_HEADER_GET);

pls look at echo_rest.c

Thanks
Nandika

On 10/31/06, Dave Meier <DM...@serena.com> wrote:
>
> Hi,
>
> I've been able to make REST style calls using the query string, but am
> wondering how to use REST with POST.  Is there an example of this
> anywhere?
>
> Thanks,
>
> -Dave.
>
> **********************************************************************
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> Any unauthorized review, use, disclosure or distribution is prohibited. If
> you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>