Re: Setting HTTP headers

2009-01-09 Thread Subra Aswathanarayanan
g > > to the client with a soap response, is there a way one can set a standard > http > > header too? > > AFAIK, there is no decent method for doing this. I think, in SOAP engine > point > of view this is something out of its scope. It would rather a job of > transport.

Re: Setting HTTP headers

2009-01-09 Thread Dinesh Premalal
ink, in SOAP engine point of view this is something out of its scope. It would rather a job of transport. However you could figure out a way for setting http headers. Here is something I did while ago for client side [1]. Hope It would work for server side too. I never try it on the

Re: Setting HTTP headers

2009-01-09 Thread Subra Aswathanarayanan
I just wanted to clarify my question. In a axis2c webservice, when responding to the client with a soap response, is there a way one can set a standard http header too? I searched in the archive but wasn't able to find any definitive answer. On Thu, Jan 8, 2009 at 5:16 PM, Subra Aswathanarayanan w

Setting HTTP headers

2009-01-08 Thread Subra Aswathanarayanan
Hello, Is there a way to set standard http header ('Server' for e.g.) in the response. Subra

Re: Setting HTTP Headers

2008-07-08 Thread Manjula Peiris
Andy, First try after commenting the HTTP-Authentication part from the axis2.xml. If that is the case then it is a bug. -Manjula. On Tue, 2008-07-08 at 10:05 -0400, Andy Karseras wrote: > Hi, > > I am using release 1.4.0. > > > From the axis2.xml (hopefully this is sufficient)... > > >

Re: Setting HTTP Headers

2008-07-08 Thread Andy Karseras
Hi, I am using release 1.4.0. >From the axis2.xml (hopefully this is sufficient)... HTTP/1.1 chunked The resulting request header... POST /services/application HTTP/1.1 User-Agent: Axis2C/1.4.0 SOAPAction: "" Content-Length:

Re: Setting HTTP Headers

2008-07-07 Thread Samisa Abeysinghe
Manjula Peiris wrote: On Mon, 2008-07-07 at 17:41 -0400, Andy Karseras wrote: Hi, Is there any way of setting the following headers using code ? - SOAPAction: "urn:anonOutInOp" - Transfer-Encoding: chunked I have tried uncommenting the relevant line in the axis.xml for Transfer-Encoding bu

Re: Setting HTTP Headers

2008-07-07 Thread Manjula Peiris
On Mon, 2008-07-07 at 17:41 -0400, Andy Karseras wrote: > Hi, > > Is there any way of setting the following headers using code ? > > - SOAPAction: "urn:anonOutInOp" > - Transfer-Encoding: chunked > > I have tried uncommenting the relevant line in the axis.xml for > Transfer-Encoding but this di

Re: Setting HTTP Headers

2008-07-07 Thread Samisa Abeysinghe
Andy Karseras wrote: Hi, Is there any way of setting the following headers using code ? - SOAPAction: "urn:anonOutInOp" Please have a look into the axis2_svc_client.h header. You can find out how to set SOAP action as well as other API info in there. - Transfer-Encoding: chunked If you

Setting HTTP Headers

2008-07-07 Thread Andy Karseras
Hi, Is there any way of setting the following headers using code ? - SOAPAction: "urn:anonOutInOp" - Transfer-Encoding: chunked I have tried uncommenting the relevant line in the axis.xml for Transfer-Encoding but this didn't seem to work. Many thanks. Andy