axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: Need help to get HTTP Header
Date Fri, 12 Jan 2007 04:42:34 GMT
Hi Gnanasekaran ;

In the server side you can get transport header from message context as
follows;
Map headers = (Map)
msgContext.getProperty(MessageContext.TRANSPORT_HEADERS);

> Hi all,
>  
> Is there any way where I can get response HTTP Header data in Axis2?
>  
> We are trying to get cookie from Http header, but no luck so far....
> we are getting header values from xml soap message only, but not able
> to get the HTTP Header.
>  
> Below is the soap response from the server (captured using tcpmon)
>  
> **************************************************************************************************************************
>
> HTTP/1.1 200 OK
>
> Date: Thu, 11 Jan 2007 18:21:34 GMT
>
> Server: Microsoft-IIS/6.0
>
> MicrosoftOfficeWebServer: 5.0_Pub
>
> X-Powered-By: ASP.NET
>
> X-AspNet-Version: 2.0.50727
>
> RSAuthenticationHeader: sqlAuthCookie
>
> Set-Cookie:
> sqlAuthCookie=2E4D80C2D790C877650865B5FCD3E0F1DCC565C68BCCB22B3167B7063C61CBB11ED07D75F85354C1E56F17B46E6F3246D97F202C53424CA028F8DE4421BE498173FD58E42E8D2E55C3059167301E7E6C;
> path=/; HttpOnly
>
> Cache-Control: private, max-age=0
>
>  
>
> Content-Type: text/xml; charset=utf-8
>
>  
>
> Content-Length: 794
>
>  
>
>  
>



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


Mime
View raw message