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: Is there any way to specify http response status code and add custom http header in response message in axis2/c 1.6.0
Date Tue, 30 Aug 2011 22:58:44 GMT
Both of these are possible. Are you using Simple Axis Server or mod axis2
with apache?

Samisa Abeysinghe

http://samisa-abeysinghe.blogspot.com/
On Sun, Jun 19, 2011 at 10:22 AM, ruanhuabin <ruanhuabin@gmail.com> wrote:

> **
> Dear Developer:
> Recently, I use axis2/c  as an request parse engine(version:1.6.0) to write
> an Objective Storage System, But I encounter following two technique problem
> I do not how to do in aixis2/c 1.6.0:
> 1. Is there any way to specify http response status code,?for example, If
> request is handle successfully, I hope to return 201 as response http status
> code, rather than 200 by default.
>
> 2. Is there any way to add custom http header  in response message? I try a
> lot of ways, but always failed. If axis2/c 1.6.0 can add custom http header
> in response message, can you give me a sample code ?
>
>
> Thank you very much for all of your help
> Looking forwading to your reply
>
> ruanhuabin
> Best Regards
>
> 2011-06-19
> ------------------------------
> ruanhuabin
>

Mime
View raw message