Hi ,
Currently I do not find a way to work around and I can't put much time
on it now :(.
You can monitor the JIRA , and you can still work on you code by
removing the tx:annotaiton-driven.
This is a common issue of CXF , we will resolved it soon :)
Willem.
Mustafa Egilmezbilek wrote:
Hi,
I am using <tx:annotation-driven/> in my spring.xml .
What's the workaround for this case ?
Thanks,
Karakoyun
On 9/28/07, Willem Jiang <[EMAIL PROTECTED]> wrote:
Hi ,
How do you set up your endpoint implementor?
I know there is an issue that if your implementor is came from a Spring
bean which is enhanced by Spirng AOP will not get any WebServiceContext
resource injected.
You can find the detail information about the JIRA here [1]
[1]https://issues.apache.org/jira/browse/CXF-1074
Willem.
Mustafa Egilmezbilek wrote:
Hi,
I am trying to access WebServiceContext to be able use HttpSession as
described in: http://cwiki.apache.org/CXF20DOC/servlet-transport.html,
but I
keep getting null. What might be the reason ?
@Resource
*public* WebServiceContext wsContext;
protected HttpSession getHttpSession() {
MessageContext mc = *wsContext*.getMessageContext();
HttpSession session = ((javax.servlet.http.HttpServletRequest
)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
return session;
}
Thanks,
Karakoyun