axis2 如何获取.net服务端返回的http cookie信息

zjh19870703 2011-01-27 09:24:26
java 使用 axis2 如何获取http头信息,

客户端的调用我使用wsdl2java自动生成的。

服务器端返回的http头信息如下

HTTP/1.1 200 OK Date: Thu, 27 Jan 2011 01:15:04 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727
2.Set-Cookie: .ASPXAUTH=BE660DADD626FF19CBE4C0CBD17EE5877FE648E29AE237FAD0F6D9C5E9A36106CC95F2041BCEC233DE52FDFA780732053437CB4AC0C913A2B7014A7EAA1A26A53741A50EC7C15B0E1EE865AA4EEA82BA; path=/; HttpOnly
3.Set-Cookie: PWA7c4b4ee4e225425f959e0d1a5ea840c9ASPNETSQLMEMBERSHIPPROVIDER_TEST1=C6A5E5C41F709DBDDD5DF43F78F284EF0C46C7539F3897EB72B554DBC716D1483CBCAB2961EC57665B12FF36CE161EAAB909C9D7292CFB709992EF897A0D1C51454D30C2F8FF959214136DFD8FAB29616C6762CEBB5A47CEC82858F160731B27C0E0A7645CEE848B71162C07EDF6B6F6936ABB1F724D3499D293547CAC5E0A75EEEF43BBDD544DA0F05F6EBC006B3DC4C28A9B6A3D60FE0C32EBCBD79C7513DE25FAB03597E504A8FDFAEF67E84479E9EC6A9771DC699468FC03DFE508132E8C7E9E8E2F14CF4E34206AD51CEC1C6BB08266C2EFDF046D5FDB2BC12D5226BC884893EB5A9BEC1A50BD0EF0F5B14EA156C8F962D72E1971FFD8514202D724F20BFFD6763D6F7AEEA3A19EDBECCDDE9820F49B3541DE8E507F8AFBC70436FBE42E9B54E6C3B061914C390DF54DEDD13C57DE452275F1CFE717C97F53B256B4C83AAD2A42F487D134193CFB0981D49D37CCD69C54C7700EC66D11FE97E60EFB3AB6FAFDABCAF770C8428A5315C230D00C3058B1E803D515E3CB91A801AC8E4A9B82C082753C337688ED2069414C63DB0C70D6128AEB7A15C0DFC80BFCCC783AA33CDE9EEBAE964B5B0593B24E55035AF64032905E18F8BA38A1F707A91F24B7039A3FC52FF3A2A3B44C346A8E7160187772A438AF74CCA581352433FFEA3CA600ABEBFBDDE0B34B878E4EC126DB552D7B8AD1878C0FA84C872C702856F988697A0DEBBFCFF6DA6DE67938B9D71016B1BC04F9CE0C38C83010DCE185715732A6AC833308EC37F52EE368B6007B33ED2D1600; expires=Thu, 27-Jan-2011 01:25:04 GMT; path=/; HttpOnly Cache-Control: private, max-age=0 Content-Type: application/soap+xml; charset=utf-8 Content-Length: 389

我如何获取Set-Cookie 的值
...全文
105 点赞 收藏 回复
写回复
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2011-01-27 09:24
社区公告
暂无公告