I am using simple axis2 server

2011-08-31 



ruanhuabin 



发件人: Samisa Abeysinghe 
发送时间: 2011-08-31  06:59:15 
收件人: Apache AXIS C Developers List 
抄送: 
主题: Re: Is there any way to specify http response status code and addcustom 
http header in response message in axis2/c 1.6.0 
 
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 <[email protected]> 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 

Reply via email to