I had logged a JIRA for this.... And any help that you guys can provide
on this front will go a long way to promoting the Axis2 in our
organization


-----Original Message-----
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 12, 2007 8:23 PM
To: [email protected]
Subject: Re: Need help to get HTTP Header

Yes... IIRC I also witnessed the above behaviour... I'm currently
doing a cleanup of the transports and  planning on fixing the above
too...

Please log a JIRA for the record purposes... So that we'll not forget
it..:)

Thanks,
Thilina

On 1/13/07, Gnanasekaran Vinayakamurthy
<[EMAIL PROTECTED]> wrote:
> Hi
>
> When I run axis2 client in debug mode, I could inspect the msgcontext
> object, which has Http header values as in the order of
>
msgcontext-->operationContext-->properties-->TRANSPORT_IN-->AutoCloseInp
>
utStream-->watcher-->HttpMethodBase-->responseHeaders(HeaderGroup)-->Hea
> der
>
> And I think Transport Phase in Axis2 missed to parse the Http
header(as
> in above) from input stream and thus missed not setting property
> TRANSPORT_HEADERS in msgContext.
>
> Is it a bug in axis2?
>
> Could any one please clarify?
>
>
> Thanks,
> 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]
>
>


-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

---------------------------------------------------------------------
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