Java WebSphere 7:WebServiceException:错误:已启用维护会话,但未返回任何会话属性(cookie、重写URL)
WebSphere7.0和Java6中出现以下错误的原因是什么Java WebSphere 7:WebServiceException:错误:已启用维护会话,但未返回任何会话属性(cookie、重写URL),java,web-services,websphere,websphere-7,Java,Web Services,Websphere,Websphere 7,WebSphere7.0和Java6中出现以下错误的原因是什么 Error: Maintain Session is enabled but none of the session properties (Cookies, Over-written URL) are returned for web service program when SESSION_MAINTAIN_PROPERTY set to true on client side. 根据以下信息: 错误描述 在使用WebSphe
Error: Maintain Session is enabled but none of the session properties
(Cookies, Over-written URL) are returned for web service program when
SESSION_MAINTAIN_PROPERTY set to true on client side.
根据以下信息: 错误描述 在使用WebSphere Application Server和功能包时 Webservices使用时遇到以下异常 一种服务,用于在创建和 配置web服务代理 第一个服务调用总是应该创建一个新的HTTP会话; 第二个调用需要使用第一个调用的会话 问题是,在第二次调用期间,服务器不再 返回会话cookie。然后,客户端代理返回
[03.09.08 13:49:31:892 CEST] 0000000a ExceptionFact 1
org.apache.axis2.jaxws.ExceptionFactory
createWebServiceException Create
Exception:
javax.xml.ws.WebServiceException: Error: Maintain Session is enabled but none of the session properties (Cookies, Over-written URL) are returned.
at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:178)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException( ExceptionFactory.java:79)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:125)
at org.apache.axis2.jaxws.BindingProvider.setupSessionContext(BindingProvider.java:172)
问题摘要
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server *
* Feature Pack for JAX-WS Web Services that *
* use cookies. *
****************************************************************
* PROBLEM DESCRIPTION: JAX-WS does not allow session cookie *
* sharing between client *
* BindingProvider instances for *
* synchronous proxy invocations *
****************************************************************
* RECOMMENDATION: *
****************************************************************
JAX-WS does not allow session sharing between the client
BindingProvider instances for synchronous proxy invocations.
JAX-RPC did allow session cookie sharing between clients.
问题结论
JAX-WS同步代理代码已更正,现在
支持客户端BindingProvider之间的会话共享
实例
JAX-WS允许客户端应用程序从中复制会话cookie
一个BindingProvider的请求上下文,并将其放在另一个上
BindingProvider实例的请求上下文有效地
共享一个会话
此APAR的修复程序当前目标是包含在
fixpack 6.1.0.25和7.0.0.1。请参阅推荐的
更新交付信息页面:
今后,请在发布问题之前至少尝试用谷歌搜索您的错误:)