Hi

We are getting NULL value for the below code, as we are looking to get
Transport Http Headers in client side (axis2 generated proxy).

Please let me know, if there is any way to get this in client side.


Thanks you!
Vinay


-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 11, 2007 9:43 PM
To: [email protected]
Subject: Re: Need help to get HTTP Header

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=2E4D80C2D790C877650865B5FCD3E0F1DCC565C68BCCB22B3167B7063C
61CBB11ED07D75F85354C1E56F17B46E6F3246D97F202C53424CA028F8DE4421BE498173
FD58E42E8D2E55C3059167301E7E6C;
> path=/; HttpOnly
>
> Cache-Control: private, max-age=0
>
>  
>
> Content-Type: text/xml; charset=utf-8
>
>  
>
> Content-Length: 794
>
>  
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to