@Resource private WebServiceContext context  can't be injected when using the 
spring transaction enhancement
------------------------------------------------------------------------------------------------------------

                 Key: CXF-1074
                 URL: https://issues.apache.org/jira/browse/CXF-1074
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.0.2, 2.0.1, 2.0
            Reporter: willem Jiang


Here the parts of the spring configuration file
<bean id="userService" parent="txProxyTemplate">
                <property name="target">
                        <bean
                                class="test.UserServiceImpl"
                                autowire="byName" />
                </property>
</bean>

<jaxws:endpoint id="userWebService" implementor="#userService"
                address="/userWebService">
</jaxws:endpoint>

I can't read any context in the test.UserServiceImpl even I declare the 
@Resource private WebServiceContext context  in it.
But when I removed the txProxyTemplate from userService , I got the context in 
test.UserServiceImpl. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to