axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gnanasekaran Vinayakamurthy" <Gnanasekaran.Vinayakamur...@phoenix.edu>
Subject RE: Need help to get HTTP Header
Date Wed, 17 Jan 2007 17:27:44 GMT
Hi Thilina,

 Wonderful.... We got the Http Header values properly with the latest
nightly build fix..

Thanks for your speedy help

Thank you!


-----Original Message-----
From: Thilina Gunarathne [mailto:csethil@gmail.com] 
Sent: Tuesday, January 16, 2007 9:04 PM
To: axis-user@ws.apache.org
Cc: Gnanasekaran Vinayakamurthy
Subject: Re: Need help to get HTTP Header

Hi,
Thanx for logging the JIRA.
I've committed a fix yesterday afternoon (15 hours ago)..  Please try
the latest nightly  and let us know the feedback..

>And any help that you guys can provide
> on this front will go a long way to promoting the Axis2 in our
organization
Have Fun!!

Cheers,
Thilina
>
>
> -----Original Message-----
> From: Thilina Gunarathne [mailto:csethil@gmail.com]
> Sent: Friday, January 12, 2007 8:23 PM
> To: axis-user@ws.apache.org
> 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
> <Gnanasekaran.Vinayakamurthy@phoenix.edu> 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:deepal@opensource.lk]
> > Sent: Thursday, January 11, 2007 9:43 PM
> > To: axis-user@ws.apache.org
> > 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: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Thilina Gunarathne
> WSO2, Inc.; http://www.wso2.com/
> Home page: http://webservices.apache.org/~thilina/
> Blog: http://thilinag.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


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

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