You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "willem Jiang (JIRA)" <ji...@apache.org> on 2007/10/04 07:46:51 UTC
[jira] Assigned: (CXF-1074) @Resource private WebServiceContext
context can't be injected when using the spring transaction enhancement
[ https://issues.apache.org/jira/browse/CXF-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
willem Jiang reassigned CXF-1074:
---------------------------------
Assignee: willem Jiang
> @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.0.1, 2.0.2
> Reporter: willem Jiang
> Assignee: 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.