You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Rangika Mendis <ra...@opensource.lk> on 2005/01/21 05:07:24 UTC

How to change http headers in the server side?

Hi all,

We are working on the server side of  ws-attachments.We need to change the http headers in the response message.

Can anyone tell us how to do that.

Help on this is greatly appreciated.

Regards,
Rangika & Nithya.



Re: How to change http headers in the server side?

Posted by John Hawkins <HA...@uk.ibm.com>.
Hi Rangika,

We would prefer the handler concept. But we won't be doing it for at least 
a couple of months (maybe April probably May).

cheers,
John.


John Hawkins





"Rangika Mendis" <ra...@opensource.lk> 
25/01/2005 08:41
Please respond to
"Apache AXIS C Developers List"


To
"Apache AXIS C Developers List" <ax...@ws.apache.org>
cc

Subject
Re: How to change http headers in the server side?






Hi John,
Do you think that this model would be a better long term solution for you 
too? 
I think that it would be a solution to us.Without that we can't release 
ws-attachments for 1.5.
 
When were you thinking of making the changes?
Now.
 
 
Regards,
Rangika
----- Original Message ----- 
From: John Hawkins 
To: Apache AXIS C Developers List 
Sent: Friday, January 21, 2005 4:22 PM
Subject: Re: How to change http headers in the server side?


Hi Rangika, 

We have a  requirement to change the HTTP headers too. We'd like to do it 
from a handler. However, having looked into this in some detail it could 
be quite hard due to the timings of when the current handlers are called. 
Do you think that this model would be a better long term solution for you 
too? 

When were you thinking of making the changes? We had put this work off due 
to the current poor state of the code (100+ bugs). 


John Hawkins




Samisa Abeysinghe <sa...@gmail.com> 
21/01/2005 05:11 

Please respond to
"Apache AXIS C Developers List"



To
Apache AXIS C Developers List <ax...@ws.apache.org> 
cc

Subject
Re: How to change http headers in the server side?








Hi Rangika,
   The server side modules use an implementation of SOAPTransport
class. This virtual class' API has provision for setting/getting
transport properties. You may be able to use this API for your
requirements. However, at the moment the implelemtation classes have
empty bodies for setTransportProperty() at the moment. So I think you
will have to implement those first and then use them.

  e.g. Please have a look at Apache2Transport class in 
ws-axis\c\src\server\apache2 folder.

Thanks,
Samisa...



On Fri, 21 Jan 2005 10:07:24 +0600, Rangika Mendis
<ra...@opensource.lk> wrote:
> Hi all,
> 
> We are working on the server side of  ws-attachments.We need to change 
the
> http headers in the response message.
> 
> Can anyone tell us how to do that.
> 
> Help on this is greatly appreciated.
> 
> Regards,
> Rangika & Nithya.
> 
> 
> 
>


Re: How to change http headers in the server side?

Posted by Rangika Mendis <ra...@opensource.lk>.
  Hi John,
  Do you think that this model would be a better long term solution for you too? 
  I think that it would be a solution to us.Without that we can't release ws-attachments for 1.5.

  When were you thinking of making the changes?
  Now.


  Regards,
  Rangika
    ----- Original Message ----- 
    From: John Hawkins 
    To: Apache AXIS C Developers List 
    Sent: Friday, January 21, 2005 4:22 PM
    Subject: Re: How to change http headers in the server side?



    Hi Rangika, 

    We have a  requirement to change the HTTP headers too. We'd like to do it from a handler. However, having looked into this in some detail it could be quite hard due to the timings of when the current handlers are called. 
    Do you think that this model would be a better long term solution for you too? 

    When were you thinking of making the changes? We had put this work off due to the current poor state of the code (100+ bugs). 


    John Hawkins




          Samisa Abeysinghe <sa...@gmail.com> 
          21/01/2005 05:11 Please respond to
                "Apache AXIS C Developers List" 


         To Apache AXIS C Developers List <ax...@ws.apache.org>  
                cc  
                Subject Re: How to change http headers in the server side? 

                

         



    Hi Rangika,
       The server side modules use an implementation of SOAPTransport
    class. This virtual class' API has provision for setting/getting
    transport properties. You may be able to use this API for your
    requirements. However, at the moment the implelemtation classes have
    empty bodies for setTransportProperty() at the moment. So I think you
    will have to implement those first and then use them.

      e.g. Please have a look at Apache2Transport class in 
    ws-axis\c\src\server\apache2 folder.

    Thanks,
    Samisa...



    On Fri, 21 Jan 2005 10:07:24 +0600, Rangika Mendis
    <ra...@opensource.lk> wrote:
    > Hi all,
    >  
    > We are working on the server side of  ws-attachments.We need to change the
    > http headers in the response message.
    >  
    > Can anyone tell us how to do that.
    >  
    > Help on this is greatly appreciated.
    >  
    > Regards,
    > Rangika & Nithya.
    >  
    >  
    > 
    >



Re: How to change http headers in the server side?

Posted by John Hawkins <HA...@uk.ibm.com>.
Hi Rangika,

We have a  requirement to change the HTTP headers too. We'd like to do it 
from a handler. However, having looked into this in some detail it could 
be quite hard due to the timings of when the current handlers are called.
Do you think that this model would be a better long term solution for you 
too?

When were you thinking of making the changes? We had put this work off due 
to the current poor state of the code (100+ bugs).


John Hawkins





Samisa Abeysinghe <sa...@gmail.com> 
21/01/2005 05:11
Please respond to
"Apache AXIS C Developers List"


To
Apache AXIS C Developers List <ax...@ws.apache.org>
cc

Subject
Re: How to change http headers in the server side?






Hi Rangika,
    The server side modules use an implementation of SOAPTransport
class. This virtual class' API has provision for setting/getting
transport properties. You may be able to use this API for your
requirements. However, at the moment the implelemtation classes have
empty bodies for setTransportProperty() at the moment. So I think you
will have to implement those first and then use them.

   e.g. Please have a look at Apache2Transport class in 
ws-axis\c\src\server\apache2 folder.

Thanks,
Samisa...



On Fri, 21 Jan 2005 10:07:24 +0600, Rangika Mendis
<ra...@opensource.lk> wrote:
> Hi all,
> 
> We are working on the server side of  ws-attachments.We need to change 
the
> http headers in the response message.
> 
> Can anyone tell us how to do that.
> 
> Help on this is greatly appreciated.
> 
> Regards,
> Rangika & Nithya.
> 
> 
> 
>


Re: How to change http headers in the server side?

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Hi Rangika,
    The server side modules use an implementation of SOAPTransport
class. This virtual class' API has provision for setting/getting
transport properties. You may be able to use this API for your
requirements. However, at the moment the implelemtation classes have
empty bodies for setTransportProperty() at the moment. So I think you
will have to implement those first and then use them.

   e.g. Please have a look at Apache2Transport class in 
ws-axis\c\src\server\apache2 folder.

Thanks,
Samisa...



On Fri, 21 Jan 2005 10:07:24 +0600, Rangika Mendis
<ra...@opensource.lk> wrote:
> Hi all,
>  
> We are working on the server side of  ws-attachments.We need to change the
> http headers in the response message.
>  
> Can anyone tell us how to do that.
>  
> Help on this is greatly appreciated.
>  
> Regards,
> Rangika & Nithya.
>  
>  
> 
>